forked from paritytech/substrate
-
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.
Feature/adjust staking (paritytech#274)
* Fix trustee setup - pass partial staking tests - adjust parameters in genesis_config to in line with docs 0.6. - add intention_bonding_duration particularly. * 20% goes to team * Validate Bitcoin trustee entity * Init trustee entities * Make initial reward a configuration item * Mark convert_to_stake * No discount for tokens mining * Use trans_pcx_stake provided by xspot - add jackpot_address in rpc. * Fix overflow in vote_weight * Update wasm * Div first * Add XTokensCall and calculate ratio first * != * Fix mock in tests * Tweak parameters in genesis_config * Don't use f64 * Panic when overflow * Remove useless comment
- Loading branch information
1 parent
4b3646d
commit 1b3aa62
Showing
15 changed files
with
256 additions
and
296 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file modified
BIN
+9.34 KB
(100%)
runtime/wasm/target/wasm32-unknown-unknown/release/chainx_runtime_wasm.compact.wasm
Binary file not shown.
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.