This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: nowhere to pay fees to (CRO-94) (#72)
Solution: added a basic definition for rewards pool state representation + refactor around BlockHeight opaque type * extended InitConfig to contain the dedicated ERC20 addresses that will form the rewards pool at genesis * fixed chain-core dependencies * changed dev-utils to allow a more flexible config generation * extracted out app_hash computation into chain-core's `computer_app_hash` and extended InitChain handling to persist rewards pool state * added a basic modified calculation mechanism from https://github.com/input-output-hk/rust-cardano * removed error-prone deref in coin * removed ABCI app sanity checks, as they should be done in the ABCI library (added a link to the issue tendermint/rust-abci#49 ) * removed .iter() calls where possible
- Loading branch information
Showing
19 changed files
with
564 additions
and
144 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.