-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implements partial slashing (#402)
* feat: adds logic to mitigate against insufficent funds bug * feat: adds testing for edge cases of penatly and residual balance slashing * chore: newline * chore: remove whitespace * chore: constructs the provider registry abi * feat: start reducing storage reads Co-authored-by: Mikhail Wall <[email protected]> * feat: reduce storage reads * feat: fixes bug around not slashing the provider balance. * chore: remove empty line --------- Co-authored-by: Mikhail Wall <[email protected]>
- Loading branch information
Showing
5 changed files
with
243 additions
and
5 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
149 changes: 148 additions & 1 deletion
149
contracts-abi/clients/ProviderRegistry/ProviderRegistry.go
Large diffs are not rendered by default.
Oops, something went wrong.
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