mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-11 13:17:08 +00:00
This reverts commit 96f2615582.
This commit is contained in:
1 parent
96f2615582
commit
9a0f08bfe1
31 files changed
+3152
-1298
No files matched your search
@@ -1,76 +1,63 @@
|
||||
[package]
|
||||
name = "polkadot-service"
|
||||
name = "polkadot-service-new"
|
||||
version = "0.8.3"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
# Substrate Client
|
||||
authority-discovery = { package = "sc-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
# Substrate Primitives
|
||||
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
# Substrate Pallets
|
||||
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
# Substrate Other
|
||||
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
# External Crates
|
||||
codec = { package = "parity-scale-codec", version = "1.3.4" }
|
||||
futures = "0.3.4"
|
||||
hex-literal = "0.2.1"
|
||||
lazy_static = "1.4.0"
|
||||
log = "0.4.8"
|
||||
parking_lot = "0.9.0"
|
||||
serde = { version = "1.0.102", features = ["derive"] }
|
||||
lazy_static = "1.4.0"
|
||||
log = "0.4.8"
|
||||
futures = "0.3.4"
|
||||
slog = "2.5.2"
|
||||
|
||||
# Polkadot
|
||||
kusama-runtime = { path = "../../runtime/kusama" }
|
||||
polkadot-node-core-proposer = { path = "../core/proposer" }
|
||||
polkadot-overseer = { path = "../overseer" }
|
||||
polkadot-parachain = { path = "../../parachain" }
|
||||
hex-literal = "0.2.1"
|
||||
polkadot-primitives = { path = "../../primitives" }
|
||||
polkadot-rpc = { path = "../../rpc" }
|
||||
polkadot-runtime = { path = "../../runtime/polkadot" }
|
||||
polkadot-overseer = { path = "../overseer" }
|
||||
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../subsystem" }
|
||||
rococo-runtime = { package = "rococo-v1-runtime", path = "../../runtime/rococo-v1" }
|
||||
kusama-runtime = { path = "../../runtime/kusama" }
|
||||
westend-runtime = { path = "../../runtime/westend" }
|
||||
polkadot-rpc = { path = "../../rpc" }
|
||||
polkadot-node-core-proposer = { path = "../core/proposer" }
|
||||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
grandpa_primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
telemetry = { package = "sc-telemetry", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
authority-discovery = { package = "sc-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
codec = { package = "parity-scale-codec", version = "1.3.4" }
|
||||
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-offchain = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
[dev-dependencies]
|
||||
polkadot-test-runtime-client = { path = "../../runtime/test-runtime/client" }
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
!/*.json
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,120 +0,0 @@
|
||||
{
|
||||
"name": "Rococo",
|
||||
"id": "rococo",
|
||||
"bootNodes": [],
|
||||
"telemetryEndpoints": [
|
||||
[
|
||||
"wss://telemetry.polkadot.io/submit/",
|
||||
0
|
||||
]
|
||||
],
|
||||
"protocolId": "rococo",
|
||||
"properties": {
|
||||
"ss58Format": 42,
|
||||
"tokenDecimals": 12,
|
||||
"tokenSymbol": "RCO"
|
||||
},
|
||||
"forkBlocks": null,
|
||||
"badBlocks": [],
|
||||
"consensusEngine": null,
|
||||
"genesis": {
|
||||
"raw": {
|
||||
"top": {
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc69406b1b580f3fd70373207c005e38adff268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950df2ec3df1d2fc39f6772616e80959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd652": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da90566b5cb12e1bb0dd3301e8ab40c6d0508264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade9803adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaea07de2b8f010516dca3f7ef52f7ac5a": "0x040000000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc6afdf816f281ad669fe59fe0f725f72759ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9bb08f275d00049b315666c2c44130a106648d7f3382690650c681aba1b993cd11e54deb4df21a3a18c3e2177de9f7342": "0x0000000000000064a7b3b6e00d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"0x1cb6f36e027abb2091cfb5110ab5087f66e8f035c8adbe7f1547b43c51e6f8a4": "0x00000000",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8": "0x041c77657374656e64",
|
||||
"0x2b06af9719ac64d755623cda8ddd9b949f99a2ce711f3a31b2fc05604c93f179": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca138e71612491192d68deab7e6f563fe1": "0x32000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x2371e21684d2fae99bcb4d579242f74a8a2d09463effcc78a22d75b9cb87dffc": "0x0000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb35c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd65272bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195024a1470c7a02f07e696d6f6e807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x3a636f6465": "0x0061736d0100000001ae022c60037f7f7f017f60027f7f017f60027f7f0060017f017e60017f0060047f7f7f7f0060037f7e7e0060017e017f6000017e60017e017e60017f017f60037e7e7f017e60027f7f017e60037f7f7e017e60017e0060027e7e0060037f7e7f017f60027f7e017e60047f7e7e7e017f6000017f60027f7e017f60000060037f7f7f0060057f7f7f7f7f0060027e7f017f60057f7f7f7f7f017f60047f7f7f7f017f60077f7f7f7f7f7f7f017f60087e7e7e7e7e7e7e7e017f60077f7e7e7e7e7e7e0060027f7e0060067f7f7f7f7f7f0060057f7e7e7f7f0060057f7f7f7e7e0060057f7f7e7e7f0060047e7e7e7e017f60047f7f7e7e0060067f7e7e7f7f7f0060067f7f7f7e7e7f0060027e7f0060067f7f7f7f7e7e0060047f7e7e7f0060057f7e7e7e7e0060067f7e7e7e7e7f0002cc0a2203656e76066d656d6f727902001203656e76196578745f6c6f6767696e675f6c6f675f76657273696f6e5f31000603656e762a6578745f747269655f626c616b65325f3235365f6f7264657265645f726f6f745f76657273696f6e5f31000703656e76246578745f6f6666636861696e5f6e6574776f726b5f73746174655f76657273696f6e5f31000803656e76296578745f6f6666636861696e5f7375626d69745f7472616e73616374696f6e5f76657273696f6e5f31000903656e761e6578745f616c6c6f6361746f725f6d616c6c6f635f76657273696f6e5f31000a03656e761c6578745f616c6c6f6361746f725f667265655f76657273696f6e5f31000403656e761a6578745f73746f726167655f726561645f76657273696f6e5f31000b03656e76376578745f63727970746f5f736563703235366b315f65636473615f7265636f7665725f636f6d707265737365645f76657273696f6e5f31000c03656e76286578745f63727970746f5f737232353531395f7075626c69635f6b6579735f76657273696f6e5f31000303656e76216578745f63727970746f5f737232353531395f7369676e5f76657273696f6e5f31000d03656e761d6578745f6d6973635f7072696e745f757466385f76657273696f6e5f31000e03656e761c6578745f6d6973635f7072696e745f6e756d5f76657273696f6e5f31000e03656e761e6578745f68617368696e675f74776f785f3132385f76657273696f6e5f31000703656e761d6578745f68617368696e675f74776f785f36345f76657273696f6e5f31000703656e76196578745f73746f726167655f7365745f76657273696f6e5f31000f03656e76206578745f68617368696e675f626c616b65325f3132385f76657273696f6e5f31000703656e76196578745f73746f726167655f6765745f76657273696f6e5f31000903656e761b6578745f73746f726167655f636c6561725f76657273696f6e5f31000e03656e76226578745f73746f726167655f636c6561725f7072656669785f76657273696f6e5f31000e03656e76236578745f63727970746f5f737232353531395f7665726966795f76657273696f6e5f32001003656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f6765745f76657273696f6e5f31001103656e76346578745f6f6666636861696e5f6c6f63616c5f73746f726167655f636f6d706172655f616e645f7365745f76657273696f6e5f31001203656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f7365745f76657273696f6e5f31000603656e76226578745f6d6973635f72756e74696d655f76657273696f6e5f76657273696f6e5f31000903656e76206578745f68617368696e675f626c616b65325f3235365f76657273696f6e5f31000703656e761e6578745f73746f726167655f6e6578745f6b65795f76657273696f6e5f31000903656e761a6578745f73746f726167655f726f6f745f76657273696f6e5f31000803656e76226578745f73746f726167655f6368616e6765735f726f6f745f76657273696f6e5f31000903656e76236578745f63727970746f5f656432353531395f7665726966795f76657273696f6e5f31001003656e761c6578745f6d6973635f7072696e745f6865785f76657273696f6e5f31000e03656e76236578745f6f6666636861696e5f69735f76616c696461746f725f76657273696f6e5f31001303656e76256578745f63727970746f5f656432353531395f67656e65726174655f76657273696f6e5f31001403656e76256578745f63727970746f5f737232353531395f67656e65726174655f76657273696f6e5f310014038b0589050a0a040400000a0a0c1515151616021600151517000101020102020201180403191a161600170101010a1b0101011601010005010100010100000100040101020216021602000101160102010102040202010216051602041616160a0101021c011d01010202040200171e1f160217020104011616161616161616161616161616161616161616161616160216161616160216161616160204021601020416160202020202020202160202021604020201020202160216170216020516161604161604021602021620060f020204150a0402020216020202020202020402020202020405020219021602160a2102021616020216020402162202021602232419040505160204040001010201021602020101020401010201010404040204020204170a020502021602130125020216040404161616040202020404160204010202020202020404040404040404040404040404041502021602020216162605260a02020204021602161702020201020202021616160416020202020202040202020402020104041604040402020404040416051602021602160202021616161902040202160216160202020402000604040202021a02040402020202020202020202021504040404041508020217020216020404021604040204040202040202020202020202020216020216020404020204042717160202021604010216020201020201160202161616010404020402020216051f28020404010201040402020202150416160404040202040501000402040204020202040416160404020402020202161616040404040404040c0c0c0c0c0c0c040c0c0c0c150c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0204040204020402160202160423160404040402040000000029292a2a2a2b0407017001ad01ad010619037f01418080c0000b7f0041a0abc7000b7f0041a0abc7000b07a2071f195f5f696e6469726563745f66756e6374696f6e5f7461626c65010009686173685f7465737400290c436f72655f76657273696f6e00ee0412436f72655f657865637574655f626c6f636b00ef0415436f72655f696e697469616c697a655f626c6f636b00f004114d657461646174615f6d657461646174Line truncated
|
||||
"0x5f3e4907f716ac89b6347d15ececedca487df464e44a534ba6b0cbb32407b587": "0x0000000000",
|
||||
"0x0b76934f4cc08dee01012d059e1b83ee5e0621c4869aa60c02be9adcc98a0d1d": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950bd5e21ce53b32bef696d6f6e8072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950775c11433d27a3e6696d6f6e80a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e169034245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0x3fba98689ebed1138735e0e7a5a790ab0b76934f4cc08dee01012d059e1b83ee": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb303adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x9fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2da8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e16903ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0x3a65787472696e7369635f696e646578": "0x00000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950cf58e078d2188b43617564698074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950d6dc0db87ce29bd36261626580a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da99406b1b580f3fd70373207c005e38adff268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950e696c69c865d348f61756469807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da937af01a62f70176413143d943b7d30b9aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195093c237b163af4d50617564698072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195053c90cc3c184c72c6772616e80feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff93": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80": "0x00004de97f22e20d0000000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc60566b5cb12e1bb0dd3301e8ab40c6d0508264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19502c959753b2d73959696d6f6e8074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195071eb6ac6f0e199fd7061726180a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19508f3986108b781adb6772616e809fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2d": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaa141c4fe67c2d11f4a10c6aca7a79a04b4def25cfda6ef3a00000000": "0x0000e941cc6b01000000000000000000",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef78a42f33323cb5ced3b44dd825fda9fcc": "0x4545454545454545454545454545454545454545454545454545454545454545",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca308ce9615de0775a82f8a94dc3d285a1": "0x02",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc4d92e108794d5f65011d80545fd17e2b58671d451c3d4f6de8c16ea0bc61cf714914d6b2ffa2899872620525419327478": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d0b00407a10f35a0b00407a10f35a0000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba088dcde934c658227ee1dfafcd6e16903": "0x1008264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606daebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c439349ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81df268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe705c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x8011fb3641f0641f5570ba8787a64a0ff7d9c9999481f333d7207c4abd7e981c",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaac0a2cbf8e355f5ea6cb2de8727bfb0c": "0x54000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcae1791577e4efcb083fdc3cb21e85b2e4": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195004564cbf88f48197626162658074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc4b807e5088f44d540645b9875a5c73c31caf27345aebc2fefeca85c9a67f4859eab3178d28ef92244714402290f3f415a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c439340b00407a10f35a0b00407a10f35a0000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19504e2a9aebc209c0bf706172618072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe70ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x4c17a9bfdd19411f452fa32420fa7acab622e87e57351f4ba3248ae40ce75123",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc46095c93c32e331c00441c72d2b5397df8011fb3641f0641f5570ba8787a64a0ff7d9c9999481f333d7207c4abd7e981c": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d0b00407a10f35a0b00407a10f35a0000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade984245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950e944edfdfb59968570617261807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade985c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb34245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0xfeca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff937ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca0b6a45321efae92aea15e0740ec7afe7": "0x00000000",
|
||||
"0x3a6772616e6470615f617574686f726974696573": "0x01109fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2d0100000000000000feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff930100000000000000959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd6520100000000000000fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a919560100000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f308ce9615de0775a82f8a94dc3d285a1": "0x01",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9afdf816f281ad669fe59fe0f725f72759ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0e0cdd062e6eaf24295ad4ccfc41d4609": "0x1008264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d9fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2da8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4faebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff937ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd65272bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a9195674bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe7003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x8671d451c3d4f6de8c16ea0bc61cf714914d6b2ffa2899872620525419327478",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcab49a2738eeb30896aacb8b3fb46471bd": "0x04000000",
|
||||
"0x2099d7f109d6e535fb000bba623fd4409f99a2ce711f3a31b2fc05604c93f179": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7a44704b568d21667356a5a050c118746b4def25cfda6ef3a00000000": "0x4545454545454545454545454545454545454545454545454545454545454545",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaf7dad0317324aecae8744b87fc95f2f3": "0x02",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19502d9ed59755f843d8706172618074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e1690303adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e169035c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc472e2b7edbdd300480b61e7ad485ddb234c17a9bfdd19411f452fa32420fa7acab622e87e57351f4ba3248ae40ce75123": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f58360b00407a10f35a0b00407a10f35a0000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950f2f72e2480caa5c862616265807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb3ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0xfc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a9195674bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x1cb6f36e027abb2091cfb5110ab5087f5e0621c4869aa60c02be9adcc98a0d1d": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f01000000000000007ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a010000000000000072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001010000000000000074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e0100000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca28dccb559b95c40168a1b2696581b5a7": "0x00000000000000000000000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade98ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe704245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0xcaf27345aebc2fefeca85c9a67f4859eab3178d28ef92244714402290f3f415a",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195072134b407e7eb75c626162658072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950d47edb55da4253996175646980a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca5579297f4dfb9609e7e4c2ebab9ce40a": "0x109ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81daebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f583608264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcac29a0310e1bb45d20cace77ccb62c97d": "0x00e1f505",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950eb4a0fcc18f0aed36772616e80fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a91956": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5c0d1176a568c1f92944340dbfed9e9c530ebca703c85910e7164cb7d1c9e47b": "0x6648d7f3382690650c681aba1b993cd11e54deb4df21a3a18c3e2177de9f7342",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc637af01a62f70176413143d943b7d30b9aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaad811cd65a470ddc5f1d628ff0550982b4def25cfda6ef3a00000000": "0x00000000"
|
||||
},
|
||||
"childrenDefault": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,131 +0,0 @@
|
||||
{
|
||||
"name": "Westend",
|
||||
"id": "westend2",
|
||||
"bootNodes": [
|
||||
"/dns/0.westend.paritytech.net/tcp/30333/p2p/12D3KooWKer94o1REDPtAhjtYR4SdLehnSrN8PEhBnZm5NBoCrMC",
|
||||
"/dns/0.westend.paritytech.net/tcp/30334/ws/p2p/12D3KooWKer94o1REDPtAhjtYR4SdLehnSrN8PEhBnZm5NBoCrMC",
|
||||
"/dns/1.westend.paritytech.net/tcp/30333/p2p/12D3KooWPVPzs42GvRBShdUMtFsk4SvnByrSdWqb6aeAAHvLMSLS",
|
||||
"/dns/1.westend.paritytech.net/tcp/30334/ws/p2p/12D3KooWPVPzs42GvRBShdUMtFsk4SvnByrSdWqb6aeAAHvLMSLS",
|
||||
"/dns/2.westend.paritytech.net/tcp/30333/p2p/12D3KooWByVpK92hMi9CzTjyFg9cPHDU5ariTM3EPMq9vdh5S5Po",
|
||||
"/dns/2.westend.paritytech.net/tcp/30334/ws/p2p/12D3KooWByVpK92hMi9CzTjyFg9cPHDU5ariTM3EPMq9vdh5S5Po",
|
||||
"/dns/3.westend.paritytech.net/tcp/30333/p2p/12D3KooWGi1tCpKXLMYED9y28QXLnwgD4neYb1Arqq4QpeV1Sv3K",
|
||||
"/dns/3.westend.paritytech.net/tcp/30334/ws/p2p/12D3KooWGi1tCpKXLMYED9y28QXLnwgD4neYb1Arqq4QpeV1Sv3K"
|
||||
],
|
||||
"telemetryEndpoints": [
|
||||
[
|
||||
"wss://telemetry.polkadot.io/submit/",
|
||||
0
|
||||
]
|
||||
],
|
||||
"protocolId": "wnd2",
|
||||
"properties": {
|
||||
"ss58Format": 42,
|
||||
"tokenDecimals": 12,
|
||||
"tokenSymbol": "WND"
|
||||
},
|
||||
"forkBlocks": null,
|
||||
"badBlocks": [
|
||||
"0x53849a2121fe81fde85859dcebe8cc9c37791c01a9702ce65615b1dcb8ac53e5"
|
||||
],
|
||||
"consensusEngine": null,
|
||||
"genesis": {
|
||||
"raw": {
|
||||
"top": {
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc69406b1b580f3fd70373207c005e38adff268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950df2ec3df1d2fc39f6772616e80959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd652": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da90566b5cb12e1bb0dd3301e8ab40c6d0508264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade9803adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaea07de2b8f010516dca3f7ef52f7ac5a": "0x040000000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc6afdf816f281ad669fe59fe0f725f72759ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9bb08f275d00049b315666c2c44130a106648d7f3382690650c681aba1b993cd11e54deb4df21a3a18c3e2177de9f7342": "0x0000000000000064a7b3b6e00d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"0x1cb6f36e027abb2091cfb5110ab5087f66e8f035c8adbe7f1547b43c51e6f8a4": "0x00000000",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8": "0x041c77657374656e64",
|
||||
"0x2b06af9719ac64d755623cda8ddd9b949f99a2ce711f3a31b2fc05604c93f179": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca138e71612491192d68deab7e6f563fe1": "0x32000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x2371e21684d2fae99bcb4d579242f74a8a2d09463effcc78a22d75b9cb87dffc": "0x0000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb35c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd65272bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195024a1470c7a02f07e696d6f6e807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x3a636f6465": "0x0061736d0100000001ae022c60037f7f7f017f60027f7f017f60027f7f0060017f017e60017f0060047f7f7f7f0060037f7e7e0060017e017f6000017e60017e017e60017f017f60037e7e7f017e60027f7f017e60037f7f7e017e60017e0060027e7e0060037f7e7f017f60027f7e017e60047f7e7e7e017f6000017f60027f7e017f60000060037f7f7f0060057f7f7f7f7f0060027e7f017f60057f7f7f7f7f017f60047f7f7f7f017f60077f7f7f7f7f7f7f017f60087e7e7e7e7e7e7e7e017f60077f7e7e7e7e7e7e0060027f7e0060067f7f7f7f7f7f0060057f7e7e7f7f0060057f7f7f7e7e0060057f7f7e7e7f0060047e7e7e7e017f60047f7f7e7e0060067f7e7e7f7f7f0060067f7f7f7e7e7f0060027e7f0060067f7f7f7f7e7e0060047f7e7e7f0060057f7e7e7e7e0060067f7e7e7e7e7f0002cc0a2203656e76066d656d6f727902001203656e76196578745f6c6f6767696e675f6c6f675f76657273696f6e5f31000603656e762a6578745f747269655f626c616b65325f3235365f6f7264657265645f726f6f745f76657273696f6e5f31000703656e76246578745f6f6666636861696e5f6e6574776f726b5f73746174655f76657273696f6e5f31000803656e76296578745f6f6666636861696e5f7375626d69745f7472616e73616374696f6e5f76657273696f6e5f31000903656e761e6578745f616c6c6f6361746f725f6d616c6c6f635f76657273696f6e5f31000a03656e761c6578745f616c6c6f6361746f725f667265655f76657273696f6e5f31000403656e761a6578745f73746f726167655f726561645f76657273696f6e5f31000b03656e76376578745f63727970746f5f736563703235366b315f65636473615f7265636f7665725f636f6d707265737365645f76657273696f6e5f31000c03656e76286578745f63727970746f5f737232353531395f7075626c69635f6b6579735f76657273696f6e5f31000303656e76216578745f63727970746f5f737232353531395f7369676e5f76657273696f6e5f31000d03656e761d6578745f6d6973635f7072696e745f757466385f76657273696f6e5f31000e03656e761c6578745f6d6973635f7072696e745f6e756d5f76657273696f6e5f31000e03656e761e6578745f68617368696e675f74776f785f3132385f76657273696f6e5f31000703656e761d6578745f68617368696e675f74776f785f36345f76657273696f6e5f31000703656e76196578745f73746f726167655f7365745f76657273696f6e5f31000f03656e76206578745f68617368696e675f626c616b65325f3132385f76657273696f6e5f31000703656e76196578745f73746f726167655f6765745f76657273696f6e5f31000903656e761b6578745f73746f726167655f636c6561725f76657273696f6e5f31000e03656e76226578745f73746f726167655f636c6561725f7072656669785f76657273696f6e5f31000e03656e76236578745f63727970746f5f737232353531395f7665726966795f76657273696f6e5f32001003656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f6765745f76657273696f6e5f31001103656e76346578745f6f6666636861696e5f6c6f63616c5f73746f726167655f636f6d706172655f616e645f7365745f76657273696f6e5f31001203656e76286578745f6f6666636861696e5f6c6f63616c5f73746f726167655f7365745f76657273696f6e5f31000603656e76226578745f6d6973635f72756e74696d655f76657273696f6e5f76657273696f6e5f31000903656e76206578745f68617368696e675f626c616b65325f3235365f76657273696f6e5f31000703656e761e6578745f73746f726167655f6e6578745f6b65795f76657273696f6e5f31000903656e761a6578745f73746f726167655f726f6f745f76657273696f6e5f31000803656e76226578745f73746f726167655f6368616e6765735f726f6f745f76657273696f6e5f31000903656e76236578745f63727970746f5f656432353531395f7665726966795f76657273696f6e5f31001003656e761c6578745f6d6973635f7072696e745f6865785f76657273696f6e5f31000e03656e76236578745f6f6666636861696e5f69735f76616c696461746f725f76657273696f6e5f31001303656e76256578745f63727970746f5f656432353531395f67656e65726174655f76657273696f6e5f31001403656e76256578745f63727970746f5f737232353531395f67656e65726174655f76657273696f6e5f310014038b0589050a0a040400000a0a0c1515151616021600151517000101020102020201180403191a161600170101010a1b0101011601010005010100010100000100040101020216021602000101160102010102040202010216051602041616160a0101021c011d01010202040200171e1f160217020104011616161616161616161616161616161616161616161616160216161616160216161616160204021601020416160202020202020202160202021604020201020202160216170216020516161604161604021602021620060f020204150a0402020216020202020202020402020202020405020219021602160a2102021616020216020402162202021602232419040505160204040001010201021602020101020401010201010404040204020204170a020502021602130125020216040404161616040202020404160204010202020202020404040404040404040404040404041502021602020216162605260a02020204021602161702020201020202021616160416020202020202040202020402020104041604040402020404040416051602021602160202021616161902040202160216160202020402000604040202021a02040402020202020202020202021504040404041508020217020216020404021604040204040202040202020202020202020216020216020404020204042717160202021604010216020201020201160202161616010404020402020216051f28020404010201040402020202150416160404040202040501000402040204020202040416160404020402020202161616040404040404040c0c0c0c0c0c0c040c0c0c0c150c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0204040204020402160202160423160404040402040000000029292a2a2a2b0407017001ad01ad010619037f01418080c0000b7f0041a0abc7000b7f0041a0abc7000b07a2071f195f5f696e6469726563745f66756e6374696f6e5f7461626c65010009686173685f7465737400290c436f72655f76657273696f6e00ee0412436f72655f657865637574655f626c6f636b00ef0415436f72655f696e697469616c697a655f626c6f636b00f004114d657461646174615f6d657461646174Line truncated
|
||||
"0x5f3e4907f716ac89b6347d15ececedca487df464e44a534ba6b0cbb32407b587": "0x0000000000",
|
||||
"0x0b76934f4cc08dee01012d059e1b83ee5e0621c4869aa60c02be9adcc98a0d1d": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950bd5e21ce53b32bef696d6f6e8072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950775c11433d27a3e6696d6f6e80a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e169034245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0x3fba98689ebed1138735e0e7a5a790ab0b76934f4cc08dee01012d059e1b83ee": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb303adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x9fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2da8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e16903ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0x3a65787472696e7369635f696e646578": "0x00000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950cf58e078d2188b43617564698074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950d6dc0db87ce29bd36261626580a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da99406b1b580f3fd70373207c005e38adff268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950e696c69c865d348f61756469807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da937af01a62f70176413143d943b7d30b9aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195093c237b163af4d50617564698072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195053c90cc3c184c72c6772616e80feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff93": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80": "0x00004de97f22e20d0000000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc60566b5cb12e1bb0dd3301e8ab40c6d0508264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19502c959753b2d73959696d6f6e8074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195071eb6ac6f0e199fd7061726180a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19508f3986108b781adb6772616e809fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2d": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaa141c4fe67c2d11f4a10c6aca7a79a04b4def25cfda6ef3a00000000": "0x0000e941cc6b01000000000000000000",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef78a42f33323cb5ced3b44dd825fda9fcc": "0x4545454545454545454545454545454545454545454545454545454545454545",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca308ce9615de0775a82f8a94dc3d285a1": "0x02",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc4d92e108794d5f65011d80545fd17e2b58671d451c3d4f6de8c16ea0bc61cf714914d6b2ffa2899872620525419327478": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d0b00407a10f35a0b00407a10f35a0000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba088dcde934c658227ee1dfafcd6e16903": "0x1008264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606daebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c439349ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81df268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe705c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x8011fb3641f0641f5570ba8787a64a0ff7d9c9999481f333d7207c4abd7e981c",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaac0a2cbf8e355f5ea6cb2de8727bfb0c": "0x54000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcae1791577e4efcb083fdc3cb21e85b2e4": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195004564cbf88f48197626162658074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc4b807e5088f44d540645b9875a5c73c31caf27345aebc2fefeca85c9a67f4859eab3178d28ef92244714402290f3f415a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c439340b00407a10f35a0b00407a10f35a0000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a00000000ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19504e2a9aebc209c0bf706172618072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a0000000003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe70ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x4c17a9bfdd19411f452fa32420fa7acab622e87e57351f4ba3248ae40ce75123",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc46095c93c32e331c00441c72d2b5397df8011fb3641f0641f5570ba8787a64a0ff7d9c9999481f333d7207c4abd7e981c": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d0b00407a10f35a0b00407a10f35a0000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade984245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950e944edfdfb59968570617261807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade985c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb34245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0xfeca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff937ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca0b6a45321efae92aea15e0740ec7afe7": "0x00000000",
|
||||
"0x3a6772616e6470615f617574686f726974696573": "0x01109fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2d0100000000000000feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff930100000000000000959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd6520100000000000000fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a919560100000000000000",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f308ce9615de0775a82f8a94dc3d285a1": "0x01",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9afdf816f281ad669fe59fe0f725f72759ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x000000000300407a10f35a000000000000000000000000000000000000000000000000000000407a10f35a0000000000000000000000407a10f35a00000000000000000000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0e0cdd062e6eaf24295ad4ccfc41d4609": "0x1008264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d9fc415cce1d0b2eed702c9e05f476217d23b46a8723fd56f08cddad650be7c2da8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4fa8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4faebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934feca0be2c87141f6074b221c919c0161a1c468d9173c5c1be59b68fab9a0ff937ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d959cebf18fecb305b96fd998c95f850145f52cbbb64b3ef937c0575cc7ebd65272bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300172bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a9195674bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a000000005c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe7003adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x8671d451c3d4f6de8c16ea0bc61cf714914d6b2ffa2899872620525419327478",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca682db92dde20a10d96d00ff0e9e221c0b4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcab49a2738eeb30896aacb8b3fb46471bd": "0x04000000",
|
||||
"0x2099d7f109d6e535fb000bba623fd4409f99a2ce711f3a31b2fc05604c93f179": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f7ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a72bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e300174bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x26aa394eea5630e07c48ae0c9558cef7a44704b568d21667356a5a050c118746b4def25cfda6ef3a00000000": "0x4545454545454545454545454545454545454545454545454545454545454545",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaf7dad0317324aecae8744b87fc95f2f3": "0x02",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa19502d9ed59755f843d8706172618074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e1690303adc196911e491e08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca88dcde934c658227ee1dfafcd6e169035c69b53821debaa39ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca422adb579f1dbf4f3886c5cfa3bb8cc472e2b7edbdd300480b61e7ad485ddb234c17a9bfdd19411f452fa32420fa7acab622e87e57351f4ba3248ae40ce75123": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f58360b00407a10f35a0b00407a10f35a0000",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950f2f72e2480caa5c862616265807ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a": "0xaebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb3ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0xfc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a9195674bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e74bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e",
|
||||
"0x1cb6f36e027abb2091cfb5110ab5087f5e0621c4869aa60c02be9adcc98a0d1d": "0x10a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f01000000000000007ca58770eb41c1a68ef77e92255e4635fc11f665cb89aee469e920511c48343a010000000000000072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001010000000000000074bfb70627416e6e6c4785e928ced384c6c06e5c8dd173a094bc3118da7b673e0100000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca8bde0a0ea8864605e3b68ed9cb2da01bb4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca28dccb559b95c40168a1b2696581b5a7": "0x00000000000000000000000000000000",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca9220e172bed316605f73f1ff7b4ade98ce6a96a3775ab416f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836": "0x00",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca3ed14b45ed20d054f05e37e2542cfe704245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0xcaf27345aebc2fefeca85c9a67f4859eab3178d28ef92244714402290f3f415a",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca42982b9d6c7acc99faa9094c912372c2b4def25cfda6ef3a000000004245138345ca3fd8aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x0b00407a10f35a0b00407a10f35a00",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa195072134b407e7eb75c626162658072bae70a1398c0ba52f815cc5dfbc9ec5c013771e541ae28e05d1129243e3001": "0x9ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81d",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950d47edb55da4253996175646980a8ddd0891e14725841cd1b5581d23806a97f41c28a25436db6473c86e15dcd4f": "0x08264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedca5579297f4dfb9609e7e4c2ebab9ce40a": "0x109ae581fef1fc06828723715731adcf810e42ce4dadad629b1b7fa5c3c144a81daebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934f268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f583608264834504a64ace1373f0c8ed5d57381ddf54a2f67a318fa42b1352681606d",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcac29a0310e1bb45d20cace77ccb62c97d": "0x00e1f505",
|
||||
"0xcec5070d609dd3497f72bde07fc96ba0726380404683fc89e8233450c8aa1950eb4a0fcc18f0aed36772616e80fc9d33059580a69454179ffa41cbae6de2bc8d2bd2c3f1d018fe5484a5a91956": "0xf268995cc38974ce0686df1364875f26f2c32b246ddc18835512c3f9969f5836",
|
||||
"0x5c0d1176a568c1f92944340dbfed9e9c530ebca703c85910e7164cb7d1c9e47b": "0x6648d7f3382690650c681aba1b993cd11e54deb4df21a3a18c3e2177de9f7342",
|
||||
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc637af01a62f70176413143d943b7d30b9aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x047374616b696e672000407a10f35a0000000000000000000002",
|
||||
"0x5f3e4907f716ac89b6347d15ececedcaad811cd65a470ddc5f1d628ff0550982b4def25cfda6ef3a00000000": "0x00000000"
|
||||
},
|
||||
"childrenDefault": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -24,7 +24,7 @@ use sp_runtime::{
|
||||
};
|
||||
use sc_client_api::{Backend as BackendT, BlockchainEvents, KeyIterator};
|
||||
use sp_storage::{StorageData, StorageKey, ChildInfo, PrefixedStorageKey};
|
||||
use polkadot_primitives::v1::{Block, ParachainHost, AccountId, Nonce, Balance, Header, BlockNumber, Hash};
|
||||
use polkadot_primitives::v1::{Block, ParachainHost, AccountId, Nonce, Balance};
|
||||
use consensus_common::BlockStatus;
|
||||
|
||||
/// A set of APIs that polkadot-like runtimes must implement.
|
||||
@@ -142,7 +142,6 @@ pub enum Client {
|
||||
Polkadot(Arc<crate::FullClient<polkadot_runtime::RuntimeApi, crate::PolkadotExecutor>>),
|
||||
Westend(Arc<crate::FullClient<westend_runtime::RuntimeApi, crate::WestendExecutor>>),
|
||||
Kusama(Arc<crate::FullClient<kusama_runtime::RuntimeApi, crate::KusamaExecutor>>),
|
||||
Rococo(Arc<crate::FullClient<rococo_runtime::RuntimeApi, crate::RococoExecutor>>),
|
||||
}
|
||||
|
||||
impl ClientHandle for Client {
|
||||
@@ -157,9 +156,6 @@ impl ClientHandle for Client {
|
||||
Self::Kusama(client) => {
|
||||
T::execute_with_client::<_, _, crate::FullBackend>(t, client.clone())
|
||||
},
|
||||
Self::Rococo(client) => {
|
||||
T::execute_with_client::<_, _, crate::FullBackend>(t, client.clone())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -170,7 +166,6 @@ impl sc_client_api::UsageProvider<Block> for Client {
|
||||
Self::Polkadot(client) => client.usage_info(),
|
||||
Self::Westend(client) => client.usage_info(),
|
||||
Self::Kusama(client) => client.usage_info(),
|
||||
Self::Rococo(client) => client.usage_info(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -184,7 +179,6 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Polkadot(client) => client.block_body(id),
|
||||
Self::Westend(client) => client.block_body(id),
|
||||
Self::Kusama(client) => client.block_body(id),
|
||||
Self::Rococo(client) => client.block_body(id),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,7 +187,6 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Polkadot(client) => client.block(id),
|
||||
Self::Westend(client) => client.block(id),
|
||||
Self::Kusama(client) => client.block(id),
|
||||
Self::Rococo(client) => client.block(id),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,7 +195,6 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Polkadot(client) => client.block_status(id),
|
||||
Self::Westend(client) => client.block_status(id),
|
||||
Self::Kusama(client) => client.block_status(id),
|
||||
Self::Rococo(client) => client.block_status(id),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,7 +206,6 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Polkadot(client) => client.justification(id),
|
||||
Self::Westend(client) => client.justification(id),
|
||||
Self::Kusama(client) => client.justification(id),
|
||||
Self::Rococo(client) => client.justification(id),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +217,6 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Polkadot(client) => client.block_hash(number),
|
||||
Self::Westend(client) => client.block_hash(number),
|
||||
Self::Kusama(client) => client.block_hash(number),
|
||||
Self::Rococo(client) => client.block_hash(number),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -241,7 +231,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.storage(id, key),
|
||||
Self::Westend(client) => client.storage(id, key),
|
||||
Self::Kusama(client) => client.storage(id, key),
|
||||
Self::Rococo(client) => client.storage(id, key),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -254,7 +243,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.storage_keys(id, key_prefix),
|
||||
Self::Westend(client) => client.storage_keys(id, key_prefix),
|
||||
Self::Kusama(client) => client.storage_keys(id, key_prefix),
|
||||
Self::Rococo(client) => client.storage_keys(id, key_prefix),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,7 +255,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.storage_hash(id, key),
|
||||
Self::Westend(client) => client.storage_hash(id, key),
|
||||
Self::Kusama(client) => client.storage_hash(id, key),
|
||||
Self::Rococo(client) => client.storage_hash(id, key),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -280,7 +267,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.storage_pairs(id, key_prefix),
|
||||
Self::Westend(client) => client.storage_pairs(id, key_prefix),
|
||||
Self::Kusama(client) => client.storage_pairs(id, key_prefix),
|
||||
Self::Rococo(client) => client.storage_pairs(id, key_prefix),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -294,7 +280,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.storage_keys_iter(id, prefix, start_key),
|
||||
Self::Westend(client) => client.storage_keys_iter(id, prefix, start_key),
|
||||
Self::Kusama(client) => client.storage_keys_iter(id, prefix, start_key),
|
||||
Self::Rococo(client) => client.storage_keys_iter(id, prefix, start_key),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,7 +293,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.child_storage(id, child_info, key),
|
||||
Self::Westend(client) => client.child_storage(id, child_info, key),
|
||||
Self::Kusama(client) => client.child_storage(id, child_info, key),
|
||||
Self::Rococo(client) => client.child_storage(id, child_info, key),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -322,7 +306,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.child_storage_keys(id, child_info, key_prefix),
|
||||
Self::Westend(client) => client.child_storage_keys(id, child_info, key_prefix),
|
||||
Self::Kusama(client) => client.child_storage_keys(id, child_info, key_prefix),
|
||||
Self::Rococo(client) => client.child_storage_keys(id, child_info, key_prefix),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -336,7 +319,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.child_storage_hash(id, child_info, key),
|
||||
Self::Westend(client) => client.child_storage_hash(id, child_info, key),
|
||||
Self::Kusama(client) => client.child_storage_hash(id, child_info, key),
|
||||
Self::Rococo(client) => client.child_storage_hash(id, child_info, key),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,7 +331,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.max_key_changes_range(first, last),
|
||||
Self::Westend(client) => client.max_key_changes_range(first, last),
|
||||
Self::Kusama(client) => client.max_key_changes_range(first, last),
|
||||
Self::Rococo(client) => client.max_key_changes_range(first, last),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -364,54 +345,6 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
Self::Polkadot(client) => client.key_changes(first, last, storage_key, key),
|
||||
Self::Westend(client) => client.key_changes(first, last, storage_key, key),
|
||||
Self::Kusama(client) => client.key_changes(first, last, storage_key, key),
|
||||
Self::Rococo(client) => client.key_changes(first, last, storage_key, key),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl sp_blockchain::HeaderBackend<Block> for Client {
|
||||
fn header(&self, id: BlockId<Block>) -> sp_blockchain::Result<Option<Header>> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.header(&id),
|
||||
Self::Westend(client) => client.header(&id),
|
||||
Self::Kusama(client) => client.header(&id),
|
||||
Self::Rococo(client) => client.header(&id),
|
||||
}
|
||||
}
|
||||
|
||||
fn info(&self) -> sp_blockchain::Info<Block> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.info(),
|
||||
Self::Westend(client) => client.info(),
|
||||
Self::Kusama(client) => client.info(),
|
||||
Self::Rococo(client) => client.info(),
|
||||
}
|
||||
}
|
||||
|
||||
fn status(&self, id: BlockId<Block>) -> sp_blockchain::Result<sp_blockchain::BlockStatus> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.status(id),
|
||||
Self::Westend(client) => client.status(id),
|
||||
Self::Kusama(client) => client.status(id),
|
||||
Self::Rococo(client) => client.status(id),
|
||||
}
|
||||
}
|
||||
|
||||
fn number(&self, hash: Hash) -> sp_blockchain::Result<Option<BlockNumber>> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.number(hash),
|
||||
Self::Westend(client) => client.number(hash),
|
||||
Self::Kusama(client) => client.number(hash),
|
||||
Self::Rococo(client) => client.number(hash),
|
||||
}
|
||||
}
|
||||
|
||||
fn hash(&self, number: BlockNumber) -> sp_blockchain::Result<Option<Hash>> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.hash(number),
|
||||
Self::Westend(client) => client.hash(number),
|
||||
Self::Kusama(client) => client.hash(number),
|
||||
Self::Rococo(client) => client.hash(number),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,8 +25,7 @@ use sp_runtime::traits::{Block as BlockT, NumberFor};
|
||||
/// `N` + `M`, the voter will keep voting for block `N`.
|
||||
pub(crate) struct PauseAfterBlockFor<N>(pub(crate) N, pub(crate) N);
|
||||
|
||||
impl<Block, B> grandpa::VotingRule<Block, B> for PauseAfterBlockFor<NumberFor<Block>>
|
||||
where
|
||||
impl<Block, B> grandpa::VotingRule<Block, B> for PauseAfterBlockFor<NumberFor<Block>> where
|
||||
Block: BlockT,
|
||||
B: sp_blockchain::HeaderBackend<Block>,
|
||||
{
|
||||
@@ -41,7 +40,10 @@ where
|
||||
use sp_runtime::traits::Header as _;
|
||||
|
||||
// walk backwards until we find the target block
|
||||
let find_target = |target_number: NumberFor<Block>, current_header: &Block::Header| {
|
||||
let find_target = |
|
||||
target_number: NumberFor<Block>,
|
||||
current_header: &Block::Header
|
||||
| {
|
||||
let mut target_hash = current_header.hash();
|
||||
let mut target_header = current_header.clone();
|
||||
|
||||
@@ -231,10 +233,10 @@ pub(crate) fn kusama_hard_forks() -> Vec<(
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use grandpa::VotingRule;
|
||||
use polkadot_test_runtime_client::prelude::*;
|
||||
use polkadot_test_runtime_client::sp_consensus::BlockOrigin;
|
||||
use sc_block_builder::BlockBuilderProvider;
|
||||
use grandpa::VotingRule;
|
||||
use sp_blockchain::HeaderBackend;
|
||||
use sp_runtime::generic::BlockId;
|
||||
use sp_runtime::traits::Header;
|
||||
@@ -277,12 +279,20 @@ mod tests {
|
||||
|
||||
// add 10 blocks
|
||||
push_blocks(10);
|
||||
assert_eq!(client.info().best_number, 10);
|
||||
assert_eq!(
|
||||
client.info().best_number,
|
||||
10,
|
||||
);
|
||||
|
||||
// we have not reached the pause block
|
||||
// therefore nothing should be restricted
|
||||
assert_eq!(
|
||||
voting_rule.restrict_vote(&*client, &get_header(0), &get_header(10), &get_header(10)),
|
||||
voting_rule.restrict_vote(
|
||||
&*client,
|
||||
&get_header(0),
|
||||
&get_header(10),
|
||||
&get_header(10),
|
||||
),
|
||||
None,
|
||||
);
|
||||
|
||||
@@ -293,7 +303,12 @@ mod tests {
|
||||
// we are targeting the pause block,
|
||||
// the vote should not be restricted
|
||||
assert_eq!(
|
||||
voting_rule.restrict_vote(&*client, &get_header(10), &get_header(20), &get_header(20)),
|
||||
voting_rule.restrict_vote(
|
||||
&*client,
|
||||
&get_header(10),
|
||||
&get_header(20),
|
||||
&get_header(20),
|
||||
),
|
||||
None,
|
||||
);
|
||||
|
||||
@@ -301,7 +316,12 @@ mod tests {
|
||||
// be limited to the pause block.
|
||||
let pause_block = get_header(20);
|
||||
assert_eq!(
|
||||
voting_rule.restrict_vote(&*client, &get_header(10), &get_header(21), &get_header(21)),
|
||||
voting_rule.restrict_vote(
|
||||
&*client,
|
||||
&get_header(10),
|
||||
&get_header(21),
|
||||
&get_header(21),
|
||||
),
|
||||
Some((pause_block.hash(), *pause_block.number())),
|
||||
);
|
||||
|
||||
|
||||
@@ -20,45 +20,41 @@ pub mod chain_spec;
|
||||
mod grandpa_support;
|
||||
mod client;
|
||||
|
||||
|
||||
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
|
||||
use log::info;
|
||||
use polkadot_node_core_proposer::ProposerFactory;
|
||||
use polkadot_overseer::{AllSubsystems, BlockInfo, Overseer, OverseerHandler};
|
||||
use polkadot_subsystem::DummySubsystem;
|
||||
use prometheus_endpoint::Registry;
|
||||
use sc_client_api::ExecutorProvider;
|
||||
use sc_executor::native_executor_instance;
|
||||
use service::{error::Error as ServiceError, RpcHandlers};
|
||||
use sp_blockchain::HeaderBackend;
|
||||
use sp_core::traits::SpawnNamed;
|
||||
use sp_trie::PrefixedMemoryDB;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
pub use self::client::{AbstractClient, Client, ClientHandle, ExecuteWithClient, RuntimeApiCollection};
|
||||
pub use chain_spec::{PolkadotChainSpec, KusamaChainSpec, WestendChainSpec, RococoChainSpec};
|
||||
#[cfg(feature = "full-node")]
|
||||
pub use codec::Codec;
|
||||
pub use consensus_common::{Proposal, SelectChain, BlockImport, RecordProof, block_validation::Chain};
|
||||
pub use polkadot_parachain::wasm_executor::run_worker as run_validation_worker;
|
||||
pub use polkadot_primitives::v1::{Block, BlockId, CollatorId, Id as ParaId};
|
||||
pub use sc_client_api::{Backend, ExecutionStrategy, CallExecutor};
|
||||
pub use sc_consensus::LongestChain;
|
||||
pub use sc_executor::NativeExecutionDispatch;
|
||||
use service::{error::Error as ServiceError, RpcHandlers};
|
||||
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
|
||||
use sc_executor::native_executor_instance;
|
||||
use log::info;
|
||||
use sp_blockchain::HeaderBackend;
|
||||
use polkadot_overseer::{AllSubsystems, BlockInfo, Overseer, OverseerHandler};
|
||||
use polkadot_subsystem::DummySubsystem;
|
||||
use polkadot_node_core_proposer::ProposerFactory;
|
||||
use sp_trie::PrefixedMemoryDB;
|
||||
use sp_core::traits::SpawnNamed;
|
||||
use sc_client_api::ExecutorProvider;
|
||||
pub use service::{
|
||||
Role, PruningMode, TransactionPoolOptions, Error, RuntimeGenesis,
|
||||
TFullClient, TLightClient, TFullBackend, TLightBackend, TFullCallExecutor, TLightCallExecutor,
|
||||
Configuration, ChainSpec, TaskManager,
|
||||
};
|
||||
pub use service::config::{DatabaseConfig, PrometheusConfig};
|
||||
pub use sc_executor::NativeExecutionDispatch;
|
||||
pub use sc_client_api::{Backend, ExecutionStrategy, CallExecutor};
|
||||
pub use sc_consensus::LongestChain;
|
||||
pub use sp_api::{ApiRef, Core as CoreApi, ConstructRuntimeApi, ProvideRuntimeApi, StateBackend};
|
||||
pub use sp_runtime::traits::{DigestFor, HashFor, NumberFor, Block as BlockT, self as runtime_traits, BlakeTwo256};
|
||||
|
||||
pub use kusama_runtime;
|
||||
pub use sp_runtime::traits::{DigestFor, HashFor, NumberFor};
|
||||
pub use consensus_common::{Proposal, SelectChain, BlockImport, RecordProof, block_validation::Chain};
|
||||
pub use polkadot_primitives::v1::{Block, BlockId, CollatorId, Id as ParaId};
|
||||
pub use sp_runtime::traits::{Block as BlockT, self as runtime_traits, BlakeTwo256};
|
||||
pub use chain_spec::{PolkadotChainSpec, KusamaChainSpec, WestendChainSpec};
|
||||
#[cfg(feature = "full-node")]
|
||||
pub use codec::Codec;
|
||||
pub use polkadot_runtime;
|
||||
pub use rococo_runtime;
|
||||
pub use kusama_runtime;
|
||||
pub use westend_runtime;
|
||||
use prometheus_endpoint::Registry;
|
||||
pub use self::client::{AbstractClient, Client, RuntimeApiCollection};
|
||||
|
||||
native_executor_instance!(
|
||||
pub PolkadotExecutor,
|
||||
@@ -81,13 +77,6 @@ native_executor_instance!(
|
||||
frame_benchmarking::benchmarking::HostFunctions,
|
||||
);
|
||||
|
||||
native_executor_instance!(
|
||||
pub RococoExecutor,
|
||||
rococo_runtime::api::dispatch,
|
||||
rococo_runtime::native_version,
|
||||
frame_benchmarking::benchmarking::HostFunctions,
|
||||
);
|
||||
|
||||
/// Can be called for a `Configuration` to check if it is a configuration for the `Kusama` network.
|
||||
pub trait IdentifyVariant {
|
||||
/// Returns if this is a configuration for the `Kusama` network.
|
||||
@@ -95,9 +84,6 @@ pub trait IdentifyVariant {
|
||||
|
||||
/// Returns if this is a configuration for the `Westend` network.
|
||||
fn is_westend(&self) -> bool;
|
||||
|
||||
/// Returns if this is a configuration for the `Rococo` network.
|
||||
fn is_rococo(&self) -> bool;
|
||||
}
|
||||
|
||||
impl IdentifyVariant for Box<dyn ChainSpec> {
|
||||
@@ -107,9 +93,6 @@ impl IdentifyVariant for Box<dyn ChainSpec> {
|
||||
fn is_westend(&self) -> bool {
|
||||
self.id().starts_with("westend") || self.id().starts_with("wnd")
|
||||
}
|
||||
fn is_rococo(&self) -> bool {
|
||||
self.id().starts_with("rococo") || self.id().starts_with("rco")
|
||||
}
|
||||
}
|
||||
|
||||
// If we're using prometheus, use a registry with a prefix of `polkadot`.
|
||||
@@ -121,9 +104,9 @@ fn set_prometheus_registry(config: &mut Configuration) -> Result<(), ServiceErro
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub type FullBackend = service::TFullBackend<Block>;
|
||||
type FullBackend = service::TFullBackend<Block>;
|
||||
type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
|
||||
pub type FullClient<RuntimeApi, Executor> = service::TFullClient<Block, RuntimeApi, Executor>;
|
||||
type FullClient<RuntimeApi, Executor> = service::TFullClient<Block, RuntimeApi, Executor>;
|
||||
type FullGrandpaBlockImport<RuntimeApi, Executor> = grandpa::GrandpaBlockImport<
|
||||
FullBackend, Block, FullClient<RuntimeApi, Executor>, FullSelectChain
|
||||
>;
|
||||
@@ -298,40 +281,18 @@ fn real_overseer<S: SpawnNamed>(
|
||||
}
|
||||
|
||||
#[cfg(feature = "full-node")]
|
||||
pub struct NewFull<C> {
|
||||
pub task_manager: TaskManager,
|
||||
pub client: C,
|
||||
pub node_handles: OverseerHandler,
|
||||
pub network: Arc<sc_network::NetworkService<Block, <Block as BlockT>::Hash>>,
|
||||
pub network_status_sinks: service::NetworkStatusSinks<Block>,
|
||||
pub rpc_handlers: RpcHandlers,
|
||||
}
|
||||
|
||||
#[cfg(feature = "full-node")]
|
||||
impl<C> NewFull<C> {
|
||||
fn with_client(self, func: impl FnOnce(C) -> Client) -> NewFull<Client> {
|
||||
NewFull {
|
||||
client: func(self.client),
|
||||
task_manager: self.task_manager,
|
||||
node_handles: self.node_handles,
|
||||
network: self.network,
|
||||
network_status_sinks: self.network_status_sinks,
|
||||
rpc_handlers: self.rpc_handlers,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a new full node of arbitrary runtime and executor.
|
||||
///
|
||||
/// This is an advanced feature and not recommended for general use. Generally, `build_full` is
|
||||
/// a better choice.
|
||||
#[cfg(feature = "full-node")]
|
||||
pub fn new_full<RuntimeApi, Executor>(
|
||||
fn new_full<RuntimeApi, Executor>(
|
||||
mut config: Configuration,
|
||||
collating_for: Option<(CollatorId, ParaId)>,
|
||||
authority_discovery_enabled: bool,
|
||||
grandpa_pause: Option<(u32, u32)>,
|
||||
) -> Result<NewFull<Arc<FullClient<RuntimeApi, Executor>>>, Error>
|
||||
) -> Result<(
|
||||
TaskManager,
|
||||
Arc<FullClient<RuntimeApi, Executor>>,
|
||||
Arc<sc_network::NetworkService<Block, <Block as BlockT>::Hash>>,
|
||||
RpcHandlers,
|
||||
OverseerHandler,
|
||||
), Error>
|
||||
where
|
||||
RuntimeApi: ConstructRuntimeApi<Block, FullClient<RuntimeApi, Executor>> + Send + Sync + 'static,
|
||||
RuntimeApi::RuntimeApi:
|
||||
@@ -396,8 +357,7 @@ pub fn new_full<RuntimeApi, Executor>(
|
||||
on_demand: None,
|
||||
remote_blockchain: None,
|
||||
telemetry_connection_sinks: telemetry_connection_sinks.clone(),
|
||||
network_status_sinks: network_status_sinks.clone(),
|
||||
system_rpc_tx,
|
||||
network_status_sinks, system_rpc_tx,
|
||||
})?;
|
||||
|
||||
let (block_import, link_half, babe_link) = import_setup;
|
||||
@@ -510,8 +470,10 @@ pub fn new_full<RuntimeApi, Executor>(
|
||||
grandpa::VotingRulesBuilder::default()
|
||||
.add(grandpa_support::PauseAfterBlockFor(block, delay))
|
||||
.build()
|
||||
}
|
||||
None => grandpa::VotingRulesBuilder::default().build(),
|
||||
},
|
||||
None =>
|
||||
grandpa::VotingRulesBuilder::default()
|
||||
.build(),
|
||||
};
|
||||
|
||||
let grandpa_config = grandpa::GrandpaParams {
|
||||
@@ -577,14 +539,7 @@ pub fn new_full<RuntimeApi, Executor>(
|
||||
|
||||
network_starter.start_network();
|
||||
|
||||
Ok(NewFull {
|
||||
task_manager,
|
||||
client,
|
||||
node_handles: handler,
|
||||
network,
|
||||
network_status_sinks,
|
||||
rpc_handlers,
|
||||
})
|
||||
Ok((task_manager, client, network, rpc_handlers, handler))
|
||||
}
|
||||
|
||||
/// Builds a new service for a light client.
|
||||
@@ -612,9 +567,7 @@ fn new_light<Runtime, Dispatch>(mut config: Configuration) -> Result<(TaskManage
|
||||
));
|
||||
|
||||
let grandpa_block_import = grandpa::light_block_import(
|
||||
client.clone(),
|
||||
backend.clone(),
|
||||
&(client.clone() as Arc<_>),
|
||||
client.clone(), backend.clone(), &(client.clone() as Arc<_>),
|
||||
Arc::new(on_demand.checker().clone()),
|
||||
)?;
|
||||
|
||||
@@ -662,11 +615,7 @@ fn new_light<Runtime, Dispatch>(mut config: Configuration) -> Result<(TaskManage
|
||||
|
||||
if config.offchain_worker.enabled {
|
||||
service::build_offchain_workers(
|
||||
&config,
|
||||
backend.clone(),
|
||||
task_manager.spawn_handle(),
|
||||
client.clone(),
|
||||
network.clone(),
|
||||
&config, backend.clone(), task_manager.spawn_handle(), client.clone(), network.clone(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -702,41 +651,30 @@ fn new_light<Runtime, Dispatch>(mut config: Configuration) -> Result<(TaskManage
|
||||
|
||||
/// Builds a new object suitable for chain operations.
|
||||
#[cfg(feature = "full-node")]
|
||||
pub fn new_chain_ops(mut config: &mut Configuration) -> Result<
|
||||
pub fn new_chain_ops<Runtime, Dispatch>(mut config: &mut Configuration) -> Result<
|
||||
(
|
||||
Arc<Client>,
|
||||
Arc<FullClient<Runtime, Dispatch>>,
|
||||
Arc<FullBackend>,
|
||||
consensus_common::import_queue::BasicQueue<Block, PrefixedMemoryDB<BlakeTwo256>>,
|
||||
TaskManager,
|
||||
),
|
||||
ServiceError
|
||||
>
|
||||
where
|
||||
Runtime: ConstructRuntimeApi<Block, FullClient<Runtime, Dispatch>> + Send + Sync + 'static,
|
||||
Runtime::RuntimeApi:
|
||||
RuntimeApiCollection<StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>,
|
||||
Dispatch: NativeExecutionDispatch + 'static,
|
||||
{
|
||||
config.keystore = service::config::KeystoreConfig::InMemory;
|
||||
if config.chain_spec.is_rococo() {
|
||||
let service::PartialComponents { client, backend, import_queue, task_manager, .. }
|
||||
= new_partial::<rococo_runtime::RuntimeApi, RococoExecutor>(config)?;
|
||||
Ok((Arc::new(Client::Rococo(client)), backend, import_queue, task_manager))
|
||||
} else if config.chain_spec.is_kusama() {
|
||||
let service::PartialComponents { client, backend, import_queue, task_manager, .. }
|
||||
= new_partial::<kusama_runtime::RuntimeApi, KusamaExecutor>(config)?;
|
||||
Ok((Arc::new(Client::Kusama(client)), backend, import_queue, task_manager))
|
||||
} else if config.chain_spec.is_westend() {
|
||||
let service::PartialComponents { client, backend, import_queue, task_manager, .. }
|
||||
= new_partial::<westend_runtime::RuntimeApi, WestendExecutor>(config)?;
|
||||
Ok((Arc::new(Client::Westend(client)), backend, import_queue, task_manager))
|
||||
} else {
|
||||
let service::PartialComponents { client, backend, import_queue, task_manager, .. }
|
||||
= new_partial::<polkadot_runtime::RuntimeApi, PolkadotExecutor>(config)?;
|
||||
Ok((Arc::new(Client::Polkadot(client)), backend, import_queue, task_manager))
|
||||
}
|
||||
let service::PartialComponents { client, backend, import_queue, task_manager, .. }
|
||||
= new_partial::<Runtime, Dispatch>(config)?;
|
||||
Ok((client, backend, import_queue, task_manager))
|
||||
}
|
||||
|
||||
/// Build a new light node.
|
||||
pub fn build_light(config: Configuration) -> Result<(TaskManager, RpcHandlers), ServiceError> {
|
||||
if config.chain_spec.is_rococo() {
|
||||
new_light::<rococo_runtime::RuntimeApi, RococoExecutor>(config)
|
||||
} else if config.chain_spec.is_kusama() {
|
||||
if config.chain_spec.is_kusama() {
|
||||
new_light::<kusama_runtime::RuntimeApi, KusamaExecutor>(config)
|
||||
} else if config.chain_spec.is_westend() {
|
||||
new_light::<westend_runtime::RuntimeApi, WestendExecutor>(config)
|
||||
@@ -751,34 +689,27 @@ pub fn build_full(
|
||||
collating_for: Option<(CollatorId, ParaId)>,
|
||||
authority_discovery_enabled: bool,
|
||||
grandpa_pause: Option<(u32, u32)>,
|
||||
) -> Result<NewFull<Client>, ServiceError> {
|
||||
if config.chain_spec.is_rococo() {
|
||||
new_full::<rococo_runtime::RuntimeApi, RococoExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
grandpa_pause,
|
||||
).map(|full| full.with_client(Client::Rococo))
|
||||
} else if config.chain_spec.is_kusama() {
|
||||
) -> Result<(TaskManager, Client, OverseerHandler), ServiceError> {
|
||||
if config.chain_spec.is_kusama() {
|
||||
new_full::<kusama_runtime::RuntimeApi, KusamaExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
grandpa_pause,
|
||||
).map(|full| full.with_client(Client::Kusama))
|
||||
).map(|(task_manager, client, _, _, handler)| (task_manager, Client::Kusama(client), handler))
|
||||
} else if config.chain_spec.is_westend() {
|
||||
new_full::<westend_runtime::RuntimeApi, WestendExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
grandpa_pause,
|
||||
).map(|full| full.with_client(Client::Westend))
|
||||
).map(|(task_manager, client, _, _, handler)| (task_manager, Client::Westend(client), handler))
|
||||
} else {
|
||||
new_full::<polkadot_runtime::RuntimeApi, PolkadotExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
grandpa_pause,
|
||||
).map(|full| full.with_client(Client::Polkadot))
|
||||
).map(|(task_manager, client, _, _, handler)| (task_manager, Client::Polkadot(client), handler))
|
||||
}
|
||||
}
|
||||
@@ -13,11 +13,10 @@ rand = "0.7.3"
|
||||
tempfile = "3.1.0"
|
||||
|
||||
# Polkadot dependencies
|
||||
polkadot-overseer = { path = "../overseer" }
|
||||
polkadot-primitives = { path = "../../primitives" }
|
||||
polkadot-rpc = { path = "../../rpc" }
|
||||
polkadot-runtime-common = { path = "../../runtime/common" }
|
||||
polkadot-service = { path = "../service" }
|
||||
polkadot-service = { path = "../../service" }
|
||||
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
|
||||
|
||||
# Substrate dependencies
|
||||
|
||||
@@ -22,13 +22,12 @@ mod chain_spec;
|
||||
|
||||
pub use chain_spec::*;
|
||||
use futures::future::Future;
|
||||
use polkadot_overseer::OverseerHandler;
|
||||
use polkadot_primitives::v0::{
|
||||
Block, CollatorId, Id as ParaId,
|
||||
Block, Hash, CollatorId, Id as ParaId,
|
||||
};
|
||||
use polkadot_runtime_common::BlockHashCount;
|
||||
use polkadot_service::{
|
||||
new_full, NewFull, FullClient, AbstractClient, ClientHandle, ExecuteWithClient,
|
||||
new_full, NewFull, FullNodeHandles, AbstractClient, ClientHandle, ExecuteWithClient,
|
||||
};
|
||||
use polkadot_test_runtime::{Runtime, SignedExtra, SignedPayload, VERSION};
|
||||
use sc_chain_spec::ChainSpec;
|
||||
@@ -37,7 +36,7 @@ use sc_executor::native_executor_instance;
|
||||
use sc_informant::OutputFormat;
|
||||
use sc_network::{
|
||||
config::{NetworkConfiguration, TransportConfig},
|
||||
multiaddr,
|
||||
multiaddr, NetworkService,
|
||||
};
|
||||
use service::{
|
||||
config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
|
||||
@@ -66,15 +65,25 @@ pub fn polkadot_test_new_full(
|
||||
collating_for: Option<(CollatorId, ParaId)>,
|
||||
authority_discovery_enabled: bool,
|
||||
) -> Result<
|
||||
NewFull<Arc<FullClient<polkadot_test_runtime::RuntimeApi, PolkadotTestExecutor>>>,
|
||||
(
|
||||
TaskManager,
|
||||
Arc<polkadot_service::FullClient<polkadot_test_runtime::RuntimeApi, PolkadotTestExecutor>>,
|
||||
FullNodeHandles,
|
||||
Arc<NetworkService<Block, Hash>>,
|
||||
RpcHandlers,
|
||||
),
|
||||
ServiceError,
|
||||
> {
|
||||
new_full::<polkadot_test_runtime::RuntimeApi, PolkadotTestExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
None,
|
||||
).map_err(Into::into)
|
||||
let NewFull { task_manager, client, node_handles, network, rpc_handlers, .. } =
|
||||
new_full::<polkadot_test_runtime::RuntimeApi, PolkadotTestExecutor>(
|
||||
config,
|
||||
collating_for,
|
||||
authority_discovery_enabled,
|
||||
None,
|
||||
true,
|
||||
)?;
|
||||
|
||||
Ok((task_manager, client, node_handles, network, rpc_handlers))
|
||||
}
|
||||
|
||||
/// A wrapper for the test client that implements `ClientHandle`.
|
||||
@@ -197,7 +206,7 @@ pub fn run_test_node(
|
||||
let config = node_config(storage_update_func, task_executor, key, boot_nodes);
|
||||
let multiaddr = config.network.listen_addresses[0].clone();
|
||||
let authority_discovery_enabled = false;
|
||||
let NewFull {task_manager, client, network, rpc_handlers, node_handles, ..} =
|
||||
let (task_manager, client, handles, network, rpc_handlers) =
|
||||
polkadot_test_new_full(config, None, authority_discovery_enabled)
|
||||
.expect("could not create Polkadot test service");
|
||||
|
||||
@@ -207,7 +216,7 @@ pub fn run_test_node(
|
||||
PolkadotTestNode {
|
||||
task_manager,
|
||||
client,
|
||||
handles: node_handles,
|
||||
handles,
|
||||
addr,
|
||||
rpc_handlers,
|
||||
}
|
||||
@@ -220,7 +229,7 @@ pub struct PolkadotTestNode<S, C> {
|
||||
/// Client's instance.
|
||||
pub client: Arc<C>,
|
||||
/// Node's handles.
|
||||
pub handles: OverseerHandler,
|
||||
pub handles: FullNodeHandles,
|
||||
/// The `MultiaddrWithPeerId` to this node. This is useful if you want to pass it as "boot node" to other nodes.
|
||||
pub addr: MultiaddrWithPeerId,
|
||||
/// RPCHandlers to make RPC queries.
|
||||
|
||||
Reference in new issue
Block a user