Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/GBI-1578 - Avoid fee collector tx on 0 product fee #193

Merged
merged 4 commits into from
Jan 3, 2024

Conversation

Luisfc68
Copy link
Collaborator

@Luisfc68 Luisfc68 commented Jan 2, 2024

What

With this PR, if we set productFee to 0, then LBC wont make any transaction to the dao.

Why

To avoid wasting gas in a tx with value 0 and to be able to disable fee collector payment without blocking future deploys

Task

https://rsklabs.atlassian.net/browse/GBI-1578

Contract size

Before this PR: 23.50 KB
After this PR: 23.36 KB
Currently deployed in mainnet: 23.73KB

Copy link

sonarqubecloud bot commented Jan 2, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
15.8% Duplication on New Code

See analysis details on SonarCloud

@MaximStanciu8 MaximStanciu8 merged commit 5e137b1 into QA-Test Jan 3, 2024
2 checks passed
@MaximStanciu8 MaximStanciu8 deleted the feature/GBI-1578 branch January 3, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants