Qinxuan Chen
6d2c1ed719
replace lru with schnellru ( #14539 )
2023-07-09 23:24:23 +02:00
Qinxuan Chen
e8e2048b88
chore: update some deps to prune duplicated deps ( #14515 )
...
* chore: update some deps to prune duplicated deps
- array-bytes: 4.1.0 => 6.1.0
- cid: 0.8.6 => 0.9.0
* fix
2023-07-06 16:46:44 +02:00
Qinxuan Chen and parity-processbot
c45eeb5498
sp-wasm-interface: remove useless wasmi impl ( #14208 )
...
Co-authored-by: parity-processbot <>
2023-05-29 10:32:24 +00:00
dcc0858f67
frame-support-test: migrate tests from decl_* macros to the new pallet macros ( #12445 )
...
* frame-support: migrate some tests from decl macros to new pallet attribute macros
* Remove useless type alias
* Remove useless type alias
* frame-support-test: migrate old decl_macros to new pallet attribute macros
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove deprecated stuff
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix UI test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
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-processbot <>
2023-05-09 09:22:55 +00:00
Qinxuan Chen
bed8c87c8a
sp-core: remove useless bounded module ( #13865 )
2023-04-26 11:37:44 +00:00
b06748e2ab
frame-support: migrate some tests from decl_* macros to the new pallet macros ( #12401 )
...
* frame-support: migrate some tests from decl macros to new pallet attribute macros
* Remove useless type alias
* Remove useless type alias
* Work around for rust issue 52234
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use polkadot-compatible paste version
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix crate access and add tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
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-processbot <>
2023-04-25 11:58:21 +00:00
Qinxuan Chen
b77a1a67eb
update criterion to v0.4.0 ( #13142 )
2023-01-28 19:43:32 +00:00
Qinxuan Chen
40c04cf11d
*: update rand to v0.8.5 ( #12962 )
...
* *: update rand to v0.8.5
* *: remove useless deps from Cargo.toml
* fix pallet-session-benchmarking
* fix pallet-election-provider-support test
* remove useless rand from dev-dependencies
2022-12-19 07:38:51 +01:00
Qinxuan Chen
82fd8d1ae3
Use pallet-sudo extension CheckOnylSudoAccount ( #1850 )
2022-11-19 14:39:00 +01:00
7ccc92414a
Companion for substrate#12560 ( #6226 )
...
* Companion for substrate#12560
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update num-format v0.4.0 ==> v0.4.3
* Fix
* update lockfile for {"substrate"}
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
2022-11-09 12:18:13 +00:00
ad6630ed71
Update some dependencies to prune duplicated crates with different version ( #12560 )
...
* sc-client-babe/sp-arithmetic-fuzzer: update num-bigint and num-rational to v0.4
* update lru 0.7.5 ==> v0.8.1
* pallet-example-offchain-worker: update lite-json v0.1.3 ==> v0.2.0
* update hyper 0.14.16 ==> 0.14.20, num-fromat 0.4.0 ==> 0.4.3
* pallet-mmr: update ckb-merkle-mountain-range v0.3.2 ==> v0.5.2
* update handlebars v4.2.2 ==> v4.3.5
* `runtime_cache_size` must always be at least 1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* default cache size with .min(1)
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update hyper 0.14.20 ==> 0.14.22
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update lru 0.8.0 ==> 0.8.1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Apply suggestions from code review
* Apply suggestions from code review
* Fix Cargo.lock
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-11-09 11:46:00 +00:00
6ba635fcff
pallet-sudo: add CheckOnlySudoAccount signed extension ( #12496 )
...
* pallet-sudo: add `CheckSudoKey` signed extension
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Rename CheckSudoKey => CheckOnlySudo
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Rename extension name and Add some docs
* Apply review suggestions
* Update frame/sudo/src/extension.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update frame/sudo/src/extension.rs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
2022-11-03 23:08:24 +00:00
Qinxuan Chen
a395fec070
Migrate remaining old decl_* macros to the new pallet attribute macros ( #12271 )
...
* Migrate remaining old decl_* macros to the new pallet attribute macros
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Apply review suggestions
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Apply review suggestions
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use pallet::storage
* Fix dev rpc test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix service tests
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-09-22 08:53:51 +00:00
Qinxuan Chen
16ef0cee93
Pruned duplicated dependencies ( #11900 )
...
* Update comfy-table v5.0.1 => v6.0.0
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update strum v0.23.0 => v0.24.1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update h2 v0.3.9 => v0.3.13
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update file-per-thread-logger v0.1.4 => v0.1.5
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update mio v0.8.0 => v0.8.4
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert twox-hash
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update secp256k1 v0.21.2 => v0.24.0
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-07-25 16:52:11 +00:00
Qinxuan Chen
9082e26082
Use genesis_state_version param instead of StateVersion::V0 ( #1410 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-07-14 10:51:37 +02:00
Qinxuan Chen
1200ccefa3
Remove futures compat feature ( #1386 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 23:30:07 +02:00
Qinxuan Chen
6c1c27c1ff
Remove futures 0.1 ( #5699 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 14:01:33 +00:00
Qinxuan Chen
ad6fe6d191
Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli ( #1325 )
...
* Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Use shared_params.chain
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 15:33:52 +02:00
Qinxuan Chen and parity-processbot
12221cb534
Companion for polkadot#5569 ( #1281 )
...
* Companion for polkadot#5569
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-05-21 09:14:02 +00:00
Qinxuan Chen and Bastian Köcher
e4f6f8d76a
Companion for substrate#11469 ( #5569 )
...
* Comanion for substrate#11469
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-05-21 08:37:55 +00:00
Qinxuan Chen and Shawn Tabrizi
5497069d54
Unify rpc api and implementation name ( #11469 )
...
* Unify rpc api and implementation name
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* MauanlSeal ==> ManualSealRpc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix merge
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-21 08:13:09 +02:00
Qinxuan Chen
fe4acb7924
Prune some duplicated dependencies in the dep graph ( #11433 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-05-18 07:23:15 +00:00
Qinxuan Chen
8bce841d70
frame_support::pallet_prelude: reexport StorageVersion ( #11408 )
...
* frame_support::pallet_prelude: reexport StorageVersion
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-05-17 20:28:34 +02:00
Qinxuan Chen
8f78f4bb89
Migrate abandoned prettytable-rs to comfy-table ( #11430 )
...
* Migrate to comfy-table
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* disable the default features
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-05-17 16:38:51 +00:00
Qinxuan Chen
7ff70c6477
sc-network: update cid v0.6.0 => v0.8.4 ( #11325 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-05-03 12:23:37 +02:00
Qinxuan Chen
51915ebe4a
Remove deprecated RawEvent types from some pallets ( #11316 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-29 08:28:17 +00:00
Qinxuan Chen
e9b69bc1b0
sp-sandbox: move the sandbox module of sp-core into sp-sandbox ( #11027 )
...
* sp-sandbox: move the sandbox module of sp-core into sp-sandbox
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-26 11:25:41 +02:00
Qinxuan Chen
3fec108263
Bump soketto to v0.7.1 ( #11203 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-12 22:43:10 +02:00
Qinxuan Chen
74078d8eb9
Comanion for substrate#11136 ( #5218 )
...
* Comanion for substrate#11136
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert changes in bridge
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-04 11:13:34 +02:00
Qinxuan Chen
41c84b0b41
Remove useless imports ( #11136 )
...
Because `TryInto`/`TryFrom` are in prelude by default from edition 2021
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-03 21:44:29 +02:00
Qinxuan Chen
52967f17de
pallet-conviction-voting: make the pallet instantiable ( #11088 )
...
* pallet-conviction-voting: make the pallet instanceable
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add default type param for some type alias
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-03-25 09:45:01 -04:00
Qinxuan Chen
44e71d8d7e
pallet-referenda: make the pallet instanceable ( #11089 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-03-24 12:36:58 -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
Qinxuan Chen
18aef02e87
sc-finality-grandpa: use the #[from] attriute to remove boilerplate code ( #11003 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-03-10 10:02:58 +01:00
Qinxuan Chen and parity-processbot
6174f79252
update digest to v0.10.2 ( #4907 )
...
* update digest to v0.10.2
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-02-16 10:51:01 +01:00
Qinxuan Chen
962cab60d6
sp-core-hashing: use the digest::Digest trait to handle the hashing function uniformly ( #10835 )
...
* sp-core-hashing: use sha3 instead of tiny-keccak
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use blake2 instead of blake2-rfc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* improve som hashing of sp-core and sp-api-proc-macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-02-16 08:26:53 +00:00
Qinxuan Chen
1d62516fad
sp-maybe-compressed-blob: reduce boilerplate code ( #10814 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-02-08 08:52:20 +00:00
Qinxuan Chen and Bastian Köcher
e956c2e1c7
use thiserror instead of derive_more for error handling ( #10696 )
...
* use thiserror instead of derive_more for error handling
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update utils/prometheus/src/lib.rs
* Update utils/prometheus/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-01-25 19:48:46 +00:00
e802dcad1d
Companion for substrate#10632 ( #895 )
...
* Companion for substrate#10632
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo update -p clap
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update substrate
* update lockfile for {"polkadot"}
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: parity-processbot <>
2022-01-25 11:42:59 +00:00
f4ec9b0341
Companion for substrate#10632 ( #4689 )
...
* Companion for substrate#10632
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix bags-list
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update Substrate
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix bridges test
* FMT
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-01-25 10:58:17 +00:00
Qinxuan Chen
e327b734bc
use clap3 instead of structopt ( #10632 )
...
* use clap3 instead of structopt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update ss58-registry and revert some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix clippy and doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update clap to 3.0.7
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Apply review suggestions
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove useless option long name
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-01-24 16:28:46 +00:00
Qinxuan Chen
69478639b3
Migrate all doc to new pallet macro ( #10187 )
...
* Migrate all doc to new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix indent
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-11-18 22:08:17 +00:00
Qinxuan Chen and thiolliere
6664019e9d
Companion for substrate#9878 ( #3949 )
...
* Companion for substrate#9878
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-17 17:09:03 +09:00
Qinxuan Chen and Guillaume Thiolliere
0b224d1b60
pallet-session: Migrate the historical part to the new pallet macro ( #9878 )
...
* Migrate session-historical to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* pallet-session: Migrate the historical part to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix staking test runtime
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update frame/session/src/historical/mod.rs
* Update frame/session/src/historical/mod.rs
* update migration doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use hardcoded prefix for migration v1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo +nightly-2021-11-08 fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-11-17 16:16:28 +09:00
Qinxuan Chen
5d5e685ebe
frame_support::pallet_prelude: Add scale_info::TypeInfo ( #10221 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-11-09 12:59:55 +01:00
Qinxuan Chen
825dbdada3
Remove stale migrations ( #4171 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-10-28 14:34:28 +00:00
Qinxuan Chen
7f550d6dd2
Migrate pallet-session to the new pallet macro ( #9796 )
...
* Migrate pallet-session to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove old macros
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-28 03:12:57 +00:00
Qinxuan Chen
d565382b50
Migrate the pallet macros of some tests and benches ( #9853 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-27 03:24:25 +00:00
Qinxuan Chen
f198a5b86b
beefy-gadget-rpc: fix toml warnings ( #9854 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-24 07:30:38 +00:00
Qinxuan Chen
c459b70379
pallet-utility: use new pallet attribute macro for tests ( #9780 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-15 09:24:13 +00:00
438a45799f
Companion for substrate#9115 ( #3265 )
...
* runtime(kusama/polkadot): migrations for collective storage prefix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
* fix migration
* spelling
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
* fix unused
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2021-09-14 13:01:19 +00:00
Qinxuan Chen and thiolliere
902739f96c
Migrate pallet-collective to the new pallet attribute macro ( #9115 )
...
* Migrate pallet-collective to the new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add migrations
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some indent
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fmt
* fix migration
* fix migration
* fmt
* finally fix migration
* keep the storages public as they were
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration and Add test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* improve test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* improve test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Revert the changes of membership
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* don't assert that there is something at the old prefix in the pre-migrate
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo fmt
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-09-14 11:42:26 +00:00
61ec3578f0
Companion for substrate#9711 ( #3801 )
...
* Companion for substrate#9711
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
* cargo +nightly fmt
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-09-14 08:17:30 +00:00
Qinxuan Chen
7deed34d64
Migrate pallet-tips to the new pallet attribute macro ( #9711 )
...
* Migrate pallet-tips to the new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-14 00:04:09 +00:00
e31db19e13
Companion for substrate#9080 ( #3263 )
...
* runtime(kusama/polkadot): migrations for membership storage prefix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* make correct custom migration
* some fix
* Update
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* import traits
* update Substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: parity-processbot <>
2021-09-07 13:17:53 +00:00
Qinxuan Chen and thiolliere
03b294641e
Migrate pallet-membership to the new pallet attribute macro ( #9080 )
...
* Migrate pallet-membership to new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add migrations
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* more general
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix event metadata
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* apply suggestion
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration
now we need to store the new version manually.
* Fix migration and Add migration test
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Use new_test_ext
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-09-07 12:17:26 +00:00
Qinxuan Chen
847d264c33
Add methods param for RPC state_traceBlock ( #9642 )
...
* Add methods param for RPC state_traceBlock
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* rename event_values_filter arg
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add some doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Add some doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-08-30 11:52:26 +00:00
Qinxuan Chen
a636b7a512
rpc-api: use thiserror instead of derive_more for error handling ( #9631 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-08-27 07:50:36 +02:00
Qinxuan Chen and thiolliere
2e986dd352
Migrate pallet-mmr to the new pallet attribute macro ( #9181 )
...
* Migrate pallet-mmr to the new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix typo
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use instance macro
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-07-14 21:30:31 +00:00
Qinxuan Chen
f6305d29be
runtime(rococo): remove useless Call of pallet-mmr ( #3350 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-07-14 09:26:12 +00:00
41045d891a
Companion for substrate#9197 ( #3359 )
...
* Companion for substrate#9197
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2021-07-13 08:05:48 +00:00
e256877eb0
Migrate pallet-treasury to the new pallet attribute macro ( #9197 )
...
* Migrate pallet-treasury to the new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix bounties/tips tests
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update frame/treasury/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Update frame/treasury/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* use `GenesisBuild`
* fix imports
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-07-13 07:26:58 +00:00
bc0520913d
Migrate pallet-transaction-payment to new pallet attribute macro ( #9087 )
...
* Migrate pallet-transaciont-payment to new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove generic from genesis config
* fix test
* fix tests
* fix deprecated
* fix tests
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-06-25 03:23:36 +00:00
Qinxuan Chen and parity-processbot
e05bd988ed
Companion for #9061 ( #3200 )
...
* migrate pallet-randomness-collective-flip to new pallet attr macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 11:29:39 +00:00
Qinxuan Chen
6b33a79831
Migrate pallet-randomness-collective-flip to pallet attribute macro ( #9061 )
...
* migrate pallet-randomness-collective-flip to pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove some spacing things
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* remove space
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use tabs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-06-14 11:00:32 +00:00
Qinxuan Chen
552d76d531
Remove useless sr-api ( #8335 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-03-15 09:35:02 +01:00
Qinxuan Chen
22bd5a9b15
sc-network: update some dependencies ( #7582 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2020-11-23 19:29:41 +01:00
Qinxuan Chen
1b62b5dc59
sc-cli: replace bip39 with tiny-bip39 ( #7551 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2020-11-18 20:43:41 +01:00
Qinxuan Chen
ede278ca57
sc-basic-authorship: remove useless dependencies ( #7550 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2020-11-18 05:56:16 +00:00
Qinxuan Chen and parity-processbot
39db0688de
Companion for substrate #7159 ( #1747 )
...
* Companion for paritytech/substrate#7159
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update WithdrawReason in xcm
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* "Update Substrate"
Co-authored-by: parity-processbot <>
2020-10-29 12:35:58 +00:00
Qinxuan Chen
bd450c24ff
Replace bitmask with bitflags ( #7159 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2020-10-29 12:19:59 +00:00
Qinxuan Chen
8ae1695526
Remove duplicated dependencies ( #6930 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2020-08-21 16:25:58 +02:00
Qinxuan Chen
4a21f9bbfd
Prune some duplicate dependencies ( #4219 )
...
* Prune some duplicate dependencies
* Remove ed25519-dalek 0.9.1
* Remove hex 0.3.2
* Remove parity-wasm 0.40.3
* Remove pwasm-utils 0.11.0
* Remove wasmi-validation 0.2.0
* Remove quickcheck 0.8.5
* Remove tempdir (Replace tempdir with tempfile)
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless tempdir_with_prefix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove derive_more 0.15
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2019-11-28 09:55:30 +01:00
Qinxuan Chen
c7d9c58ce8
Update some dependencies: ( #4207 )
...
- derive_more 0.15 -> 0.99
- strum 0.15 -> 0.16
- slog_derive 0.1 -> 0.2
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2019-11-26 18:39:58 +01:00