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

feat: calculating incentive #17

Merged
merged 2 commits into from
Nov 22, 2023
Merged

feat: calculating incentive #17

merged 2 commits into from
Nov 22, 2023

Conversation

excaliborr
Copy link
Contributor

🤖 Linear

Closes SAF-XXX

uint256 _gasSpent = _startingGas - _gasLeft;

// Gas spent plus 10% incentive
uint256 _incentive = _gasSpent * 10 / 100;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldnt this be _gasSpent + _gasSpent * 10/100 ?

@0xOneTony 0xOneTony merged commit 28d0193 into dev Nov 22, 2023
4 checks passed
@0xOneTony 0xOneTony deleted the feat/calc-incentive branch November 22, 2023 12:11
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