Skip to content
This repository was archived by the owner on Aug 24, 2023. It is now read-only.

Commit 8c3bb3a

Browse files
authored
chore(meta): polkadot v0.9.27 (#144)
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes part of #89 #### Additional comments?:
1 parent 1a911ba commit 8c3bb3a

File tree

10 files changed

+485
-620
lines changed

10 files changed

+485
-620
lines changed

Cargo.lock

+402-469
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

meta/meta-ethereum-chain-id/Cargo.toml

-24
This file was deleted.

meta/meta-ethereum-chain-id/src/lib.rs

-42
This file was deleted.

meta/meta-node/Cargo.toml

+39-39
Original file line numberDiff line numberDiff line change
@@ -15,47 +15,47 @@ codec = { version = "3.1.5", features = ["derive"], package = "parity-scale-c
1515
jsonrpsee = { version = "0.14.0", features = ["server"] }
1616

1717
# Substrate
18-
sc-basic-authorship = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
19-
sc-cli = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
20-
sc-client-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
21-
sc-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
22-
sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
23-
sc-executor = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
24-
sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
25-
sc-network = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
26-
sc-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
27-
sc-rpc-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
28-
sc-service = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
29-
sc-transaction-pool = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
30-
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
31-
sc-telemetry = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
32-
sp-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
33-
sp-block-builder = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
34-
sp-blockchain = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
35-
sp-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
36-
sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
37-
sp-inherents = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
38-
sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
39-
sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
40-
sp-timestamp = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
18+
sc-basic-authorship = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
19+
sc-cli = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
20+
sc-client-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
21+
sc-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
22+
sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
23+
sc-executor = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
24+
sc-keystore = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
25+
sc-network = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
26+
sc-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
27+
sc-rpc-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
28+
sc-service = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
29+
sc-transaction-pool = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
30+
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
31+
sc-telemetry = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
32+
sp-api = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
33+
sp-block-builder = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
34+
sp-blockchain = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
35+
sp-consensus = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
36+
sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
37+
sp-inherents = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
38+
sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
39+
sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
40+
sp-timestamp = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
4141
# These dependencies are used for RPC
42-
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
43-
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
42+
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
43+
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
4444
# Frontier
45-
fc-cli = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
46-
fc-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
47-
fc-db = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
48-
fc-mapping-sync = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
49-
fc-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
50-
fc-rpc-core = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
51-
fp-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
52-
fp-dynamic-fee = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
53-
fp-evm = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
54-
fp-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
55-
fp-storage = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
56-
# Local
57-
meta-runtime = { package = "meta-runtime", path = "../meta-runtime" }
45+
fc-cli = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
46+
fc-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
47+
fc-db = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
48+
fc-mapping-sync = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
49+
fc-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
50+
fc-rpc-core = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
51+
fp-consensus = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
52+
fp-dynamic-fee = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
53+
fp-evm = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
54+
fp-rpc = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
55+
fp-storage = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
56+
# local packages
57+
meta-runtime = { package = "meta-runtime", path = "../meta-runtime" }
5858

5959
[build-dependencies]
60-
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
60+
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
6161

meta/meta-node/specs/meta.json

+3-3
Large diffs are not rendered by default.

meta/meta-node/src/chain_spec.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ pub fn testnet_genesis(
131131
_enable_println: bool,
132132
chain_id: u64,
133133
) -> GenesisConfig {
134-
use meta_runtime::{
135-
BalancesConfig, EVMConfig, EthereumChainIdConfig, SudoConfig, SystemConfig,
136-
};
134+
use meta_runtime::{BalancesConfig, EVMChainIdConfig, EVMConfig, SudoConfig, SystemConfig};
137135
GenesisConfig {
138136
system: SystemConfig {
139137
// Add Wasm runtime to storage.
@@ -152,7 +150,7 @@ pub fn testnet_genesis(
152150
// Assign network admin rights.
153151
key: Some(root_key),
154152
},
155-
ethereum_chain_id: EthereumChainIdConfig { chain_id },
153+
evm_chain_id: EVMChainIdConfig { chain_id },
156154
evm: EVMConfig {
157155
accounts: {
158156
let mut map = BTreeMap::new();

meta/meta-node/src/rpc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ where
166166
block_data_cache.clone(),
167167
fee_history_cache,
168168
fee_history_cache_limit,
169+
10,
169170
)
170171
.into_rpc(),
171172
)?;

meta/meta-runtime/Cargo.toml

+31-33
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,46 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
serde = { default-features = false, version = "1.0.141", features = ["derive"], optional = true }
7+
serde = { default-features = false, version = "1.0.144", features = ["derive"], optional = true }
88
# Parity
99
codec = { default-features = false, version = "3.1.5", features = ["derive"], package = "parity-scale-codec" }
1010
scale-info = { default-features = false, version = "2.1.2", features = ["derive"] }
1111
# Substrate Primitive
12-
sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
13-
sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
14-
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
15-
sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
16-
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
17-
sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
18-
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
19-
sp-session = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
20-
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
21-
sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
22-
sp-version = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
12+
sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
13+
sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
14+
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
15+
sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
16+
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
17+
sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
18+
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
19+
sp-session = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
20+
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
21+
sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
22+
sp-version = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
2323
# Substrate Frame
24-
frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
25-
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
26-
frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
27-
pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
28-
pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
29-
pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
30-
pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
24+
frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
25+
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
26+
frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
27+
pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
28+
pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
29+
pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
30+
pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
3131
## Used for runtime api
32-
frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
33-
pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
32+
frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
33+
pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
3434
# Frontier Primitive
35-
fp-evm = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
36-
fp-rpc = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
37-
fp-self-contained = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
35+
fp-evm = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
36+
fp-rpc = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
37+
fp-self-contained = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
3838
## Frontier FRAME
39-
pallet-base-fee = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
40-
pallet-dynamic-fee = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
41-
pallet-ethereum = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
42-
pallet-evm = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.25" }
43-
# Local
44-
meta-ethereum-chain-id = { default-features = false, path = "../meta-ethereum-chain-id", package = "meta-ethereum-chain-id"}
39+
pallet-base-fee = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
40+
pallet-dynamic-fee = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
41+
pallet-ethereum = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
42+
pallet-evm = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
43+
pallet-evm-chain-id = { default-features = false, git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v0.9.27" }
4544

4645
[build-dependencies]
47-
substrate-wasm-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.25" }
46+
substrate-wasm-builder = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }
4847

4948
[features]
5049
default = ["std"]
@@ -81,9 +80,8 @@ std = [
8180
"pallet-dynamic-fee/std",
8281
"pallet-ethereum/std",
8382
"pallet-evm/std",
83+
"pallet-evm-chain-id/std",
8484
"pallet-sudo/std",
8585
"pallet-timestamp/std",
8686
"pallet-transaction-payment/std",
87-
# Local
88-
"meta-ethereum-chain-id/std",
8987
]

0 commit comments

Comments
 (0)