Gavin Wood
|
363db4f086
|
staking: Flexible generation of reward curve and associated tweaks (#8327)
* Initial abstraction
* Alter rest of APIs
* Fixes
* Some extra getters in Gilt pallet.
* Refactor Gilt to avoid u128 conversions
* Simplify and improve pow in per_things
* Add scalar division to per_things
* Renaming from_fraction -> from_float, drop _approximation
* Fixes
* Fixes
* Fixes
* Fixes
* Make stuff build
* Fixes
* Fixes
* Fixes
* Fixes
* Update .gitignore
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
* Update frame/gilt/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
* Update frame/gilt/src/mock.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
* Fixes
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
|
2021-03-16 12:03:58 +00:00 |
|
Gavin Wood
|
a49210693b
|
Introduce IgnoredIssuance into Gilts (#8299)
* IgnoredIssuance
* Fixes
* Fixes
|
2021-03-09 14:03:47 +01:00 |
|
Gavin Wood
|
643a0ecd38
|
Assets: Remove zombies, introduce approvals (#8220)
* Initial work
* Tests for frame system
* Self-sufficient account ref-counting
* Fixes
* Benchmarks building.
* Update frame/system/src/lib.rs
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Test approvals
* Fixes
* Report assets pallet tests
* Tests for approvals & force_cancel_approval
* Use structs rather than tuples for approval data
* Add force_asset_status, force_set_metadata
* Add clear_metadata.
* approval benchmarks
* force_asset_status benchmarks
* final benchmarks
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Update frame/system/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/system/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Update frame/system/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
* Docs for new approval dispatches.
* Docs for pallet.
* Remove accidental code.
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Fixes
* Update frame/assets/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Grumbles.
* Transfer zero works, use DispatchResult
* fix test
* Remove force_destroy
* Remove TODO
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* transfer_keep_alive
* Fixes
* Fixes
* Fixes
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-03-09 13:38:33 +01:00 |
|
Guillaume Thiolliere
|
9c4e4d453c
|
Fix doc build with --all-features (#8277)
* implement
* make default pre/post_upgrade
* simplify Cargo.toml
* revert removal of outdated/private links
* link in pallet-mmr
|
2021-03-05 16:08:44 +01:00 |
|
Gavin Wood
|
ed365da8b9
|
Gilts Pallet (#8139)
* Initial draft
* Enlarge function drafted.
* Thaw draft
* Retract_bid draft
* Final bits of draft impl.
* Test mockup
* Tests
* Docs
* Add benchmark scaffold
* Integrate weights
* All benchmarks done
* Missing file
* Remove stale comments
* Fixes
* Fixes
* Allow for priority queuing.
* Another test and a fix
* Fixes
* Fixes
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_gilt --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/gilt/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Grumble
* Update frame/gilt/src/tests.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Update frame/gilt/src/tests.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Grumble
* Update frame/gilt/src/tests.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Update frame/gilt/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Update frame/gilt/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
* Fix unreserve ordering
* Grumble
* Fixes
Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
|
2021-02-27 16:11:27 +01:00 |
|