Skip to content
Commit 4ad1ad2c authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Logic for the (Core) Fellowship (#13503)



* More drafting

* Paymaster pallet

* Fix build

* More tests

* Rename

* Rename

* Renaming

* Revert old changes

* Multi-phase payouts to avoid bank-runs

* Tests

* Tests

* Allow payment to be targeted elsewhere

* Proper ssync payment failure handling

* Test for repayment

* Docs

* Impl RankedMembers for RankedCollective

* Implement Pay for Pot (i.e. basic account).

* Benchmarks

* Weights

* Introduce Salary benchmark into node

* Fix warning

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_salary

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarJegor Sidorenko <[email protected]>

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarJegor Sidorenko <[email protected]>

* Update lib.rs

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarjoe petrowski <[email protected]>

* Docs

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarjoe petrowski <[email protected]>

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarjoe petrowski <[email protected]>

* Fix

* Fixes

* Fixes

* Move some salary traits stuff to a shared location

* Initial draft

* Comment out bits

* Fix

* First couple of tests

* One more test

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* Update frame/salary/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* Mul floor

* Tests

* Mul floor

* Fix warnings

* Fix test

* Tests

* Last tests

* Docs

* Fix warnings

* Benchmarks

* Weights

* Integrate benchmark

* Fixes

* Fix

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship

* Better process flow

* Fix benchmarks & tests

* Docs

* Fixes

* Fixes

* docs

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship

* Docs and allow custom evidence size

* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship

* Update frame/core-fellowship/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/core-fellowship/src/tests.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Update frame/core-fellowship/src/benchmarking.rs

* Update frame/core-fellowship/src/benchmarking.rs

* Apply suggestions from code review

* Rename

* Update primitives/arithmetic/src/traits.rs

Co-authored-by: default avatarjoe petrowski <[email protected]>

* Reduce magic numbers

* Update frame/core-fellowship/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* Update frame/core-fellowship/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* Benchmark result

* Remove dependency

* set_params should pay

* induct should pay

* Remove some other free calls

---------

Co-authored-by: command-bot <>
Co-authored-by: default avatarJegor Sidorenko <[email protected]>
Co-authored-by: default avatarjoe petrowski <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
parent 689c2f6d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment