-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement sweat.claim load in Locust
This PR introduces sweat.claim contract necessary for #11107 and uses it to implement sweat::defer_batch and sweat.claim::get_claimable_balance_for_account calls. I originally intended to use sweat.claim::claim but it requires the balance to be locked for some time to be claimed, so to avoid changing sweat.claim contract, I've used get_claimable_balance_for_account method instead, which does a similar amount of work and can be called unconditionally.
- Loading branch information
Showing
5 changed files
with
133 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.