Falco Hirschenberger
|
b581604aa7
|
Apply some clippy lints (#11154)
* Apply some clippy hints
* Revert clippy ci changes
* Update client/cli/src/commands/generate.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/cli/src/commands/inspect_key.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/network/src/transactions.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/network/src/protocol.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Revert due to missing `or_default` function.
* Fix compilation and simplify code
* Undo change that corrupts benchmark.
* fix clippy
* Update client/service/test/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/state-db/src/noncanonical.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/state-db/src/noncanonical.rs
remove leftovers!
* Update client/tracing/src/logging/directives.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/fork-tree/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* added needed ref
* Update frame/referenda/src/benchmarking.rs
* Simplify byte-vec creation
* let's just not overlap the ranges
* Correction
* cargo fmt
* Update utils/frame/benchmarking-cli/src/shared/stats.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Giles Cope <gilescope@gmail.com>
|
2022-04-30 21:28:27 +00:00 |
|
Bisola Olasehinde
|
aaf693f05a
|
Replace simple parameter_types (#11254)
* update bin/node-template/runtime/src/lib.rs
* update frame/contracts/src/tests.rs
* update frame/executive/src/lib.rs
* update frame/grandpa/src/mock.rs
* update frame/im-online/src/mock.rs
* update frame/offences/benchmarking/src/mock.rs
* update frame/recovery/src/mock.rs
* update frame/referenda/src/mock.rs
* update frame/session/benchmarking/src/mock.rs
* update frame/staking/src/mock.rs
* update frame/state-trie-migration/src/lib.rs
* update frame/support/test/compile_pass/src/lib.rs
* frame/treasury/src/tests.rs
* update frame/whitelist/src/mock.rs
* update frame/vesting/src/mock.rs
* update test-utils/runtime/src/lib.rs
* update bin/node-template/runtime/src/lib.rs
* Update frame/grandpa/src/mock.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
* resolve failed checks 1518659 & 1518669
* resolve format check
* backtrack to resolve compile error
* check --all --tests ✅
* cargo +nightly fmt ✅
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
|
2022-04-29 02:25:50 +00:00 |
|
Gavin Wood
|
cbfb1f0e3b
|
Remove unneeded code (#11117)
* Remove unneeded code
* Remove unused imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
|
2022-03-25 15:38:39 -04:00 |
|
Qinxuan Chen
|
46bc9af1b3
|
pallet-whitelist: add sp-api/std to std feature to fix compile error (#11077)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
|
2022-03-21 08:37:59 +00:00 |
|
Guillaume Thiolliere
|
e71c7b259d
|
new pallet: whitelist pallet (#10159)
* pallet whitelist
* refactor a bit
* fmt
* address audit
* improve tests
* return Ok + refund
* add test for dispatching failing
* add dispatch_whitelisted_call_with_preimage
* fmt
* better name
* Consume all data on decode
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Add error docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Remove phantom data
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Use rust 2021
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Update crate features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Make compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_whitelist --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/whitelist/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Bump Preimage max size
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_whitelist --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/whitelist/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Parity Bot <admin@parity.io>
|
2022-03-01 13:31:51 +00:00 |
|