No funded issue found.
Check out the
Issue Explorer Be the OSS Funding you wish to see in the world.
Looking to fund some work? You can submit a new Funded Issue
Workers Auto Approve
Account for gas price higher than minimum gas price
Currently https://github.com/ethereum-alarm-clock/timenode-core/blob/318a0e866154dd3b01035ab218d2f0cee65ff3c0/src/Actions/Actions.ts#L135 we are accounting for execution cost only when failing. After implementing https://github.com/ethereum-alarm-clock/ethereum-alarm-clock/pull/149, TimeNode can use higher gas price in order to execute the transaction.
This means the extra cost of (`realCost`-`reimbursedCost`) has to be accounted as a cost after successfull execution.
More background on rewards/costs accounting.
TimeNodes are the off-chain clients that are watching new scheduled transactions and trying to claim and execute them. Accounting is a simple mechanism that calculates total bounties and total costs collected by the TimeNode.
Currently, we account for:
* cost - the actual cost of transaction on Ethereum = gasPrice * gasUsed in both success and fail case
* cost - when transaction failed to execute - either because of revert or abort reason
* bounty - when the transaction was successfully executed - this amount of reward is set by a person who schedules and stored in the `bounty` field of the tx. The exact amount to be paid is multiplied by `paymentModifier` (from 0 to 1). Additionally, there is a minimum `gasPrice` and `gas` set, and this value is reimbursed as well `gasPrice` * `gas` so in total the TimeNode accounts for `total = bounty * paymentModifier + gasPrice*gas - actualGasPriceUsedbyTimenode*gasUsed`
Current implementation is missing `actualGasPriceUsedbyTimenode*gasUsed` part
- [x] Implementation
- [x] Tests
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: