Skip to content
Commit 2a0e53d1 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Non-Interactive Staking (#12610)



* Improve naming.

* More improvements to naming

* Fungible counterpart

* Shared pot instead of reserve

* Transferable receipts

* Better naming

* Use u128 for counterpart

* Partial thawing

* Docs

* Remove AdminOrigin

* Integrate into Kitchen Sink

* Thaw throttling

* Remove todo

* Docs

* Fix benchmarks

* Building

* Tests work

* New benchmarks

* Benchmarking tests

* Test new defensive_saturating_* functions

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Formatting

* Update frame/nis/src/lib.rs

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

* Apply suggestions from code review

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

* Events added

* Fix kitchensink

* Update frame/nis/src/lib.rs

Co-authored-by: default avatarXiliang Chen <[email protected]>

* Review niggles

* Remove genesis build requirements

* Grumbles

* Fixes

* Fixes

* Fixes

* Update frame/nis/src/lib.rs

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

* Update primitives/runtime/src/traits.rs

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

* Formatting

* Fixes

* Fix node genesis config

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix node chain specs

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Use free asset ID as counterpart

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Account for rounding errors in fund_deficit bench

Relaxes the check for the NIS account balance in the fund_deficit bench
from equality from to checking for 99.999% equality. The exact deviation
for the kitchensink runtime config is 1.24e-10 percent but could vary if
the config is changed.

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix

* Rename

* Fixes

* Fixes

* Formatting

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarXiliang Chen <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
parent f9f1ac25
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