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.
New distribution model (paritytech#753)
* Split out reward.rs * Deposit Reward event earlier (paritytech#731) * Deposit Reward event earlier Close paritytech#730 * Nit * . * Build wasm * Refactoring for new distribution model (paritytech#735) * Split out reward.rs * Move reward related to reward.rs * Extract try_funding_team * Build wasm * Fix/opreturn parse (paritytech#732) * fix bug for transition_trustee_session * provide test for opreturn * provide new opreturn parser and tests * Add is_xss_proof (paritytech#737) * Add is_xss_proof * Apply is_xss_proof on token name and desc * Fix accounts tests * Cursory impl for new distribution model * Add multiply_by_rational * Clean up * Pub multiply_by_rational() * Move VoteWeight definition to traits.rs * Fix rls warnings in staking/src/lib.rs * Refactor reward.rs a bit * Refactor slash a bit * Nit * Add event when cross-chain assets grows too fast * Nits * Nits * Add default value * Test multiple_by_rational won't panic * Unify Reward event by introducing SessionReward * Nit
- Loading branch information
1 parent
5812b9e
commit 3fc62c4
Showing
11 changed files
with
330 additions
and
115 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+2.85 KB
(100%)
runtime/wasm/target/wasm32-unknown-unknown/release/chainx_runtime.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.