git.delta.rocks / unique-network / refs/commits / 84a79a5d2b60

difftreelog

build upgrade polkadot to v0.9.7

Yaroslav Bolyukin2021-07-06parent: #ef0b4c2.patch.diff
in: master

15 files changed

modifiednode/cli/Cargo.tomldiffbeforeafterboth
33
4[build-dependencies.substrate-build-script-utils]4[build-dependencies.substrate-build-script-utils]
5git = 'https://github.com/paritytech/substrate.git'5git = 'https://github.com/paritytech/substrate.git'
6branch = 'polkadot-v0.9.3'6branch = 'polkadot-v0.9.7'
7version = '3.0.0'7version = '3.0.0'
88
9################################################################################9################################################################################
1717
18[dependencies.frame-benchmarking]18[dependencies.frame-benchmarking]
19git = 'https://github.com/paritytech/substrate.git'19git = 'https://github.com/paritytech/substrate.git'
20branch = 'polkadot-v0.9.3'20branch = 'polkadot-v0.9.7'
21version = '3.0.0'21version = '3.0.0'
2222
23[dependencies.frame-benchmarking-cli]23[dependencies.frame-benchmarking-cli]
24git = 'https://github.com/paritytech/substrate.git'24git = 'https://github.com/paritytech/substrate.git'
25branch = 'polkadot-v0.9.3'25branch = 'polkadot-v0.9.7'
26version = '3.0.0'26version = '3.0.0'
2727
28[dependencies.pallet-transaction-payment-rpc]28[dependencies.pallet-transaction-payment-rpc]
29git = 'https://github.com/paritytech/substrate.git'29git = 'https://github.com/paritytech/substrate.git'
30branch = 'polkadot-v0.9.3'30branch = 'polkadot-v0.9.7'
31version = '3.0.0'31version = '3.0.0'
3232
33[dependencies.substrate-prometheus-endpoint]33[dependencies.substrate-prometheus-endpoint]
34git = 'https://github.com/paritytech/substrate.git'34git = 'https://github.com/paritytech/substrate.git'
35branch = 'polkadot-v0.9.3'35branch = 'polkadot-v0.9.7'
36version = '0.9.0'36version = '0.9.0'
3737
38[dependencies.sc-basic-authorship]38[dependencies.sc-basic-authorship]
39git = 'https://github.com/paritytech/substrate.git'39git = 'https://github.com/paritytech/substrate.git'
40branch = 'polkadot-v0.9.3'40branch = 'polkadot-v0.9.7'
41version = '0.9.0'41version = '0.9.0'
4242
43[dependencies.sc-chain-spec]43[dependencies.sc-chain-spec]
44git = 'https://github.com/paritytech/substrate.git'44git = 'https://github.com/paritytech/substrate.git'
45branch = 'polkadot-v0.9.3'45branch = 'polkadot-v0.9.7'
46version = '3.0.0'46version = '3.0.0'
4747
48[dependencies.sc-cli]48[dependencies.sc-cli]
49features = ['wasmtime']49features = ['wasmtime']
50git = 'https://github.com/paritytech/substrate.git'50git = 'https://github.com/paritytech/substrate.git'
51branch = 'polkadot-v0.9.3'51branch = 'polkadot-v0.9.7'
52version = '0.9.0'52version = '0.9.0'
5353
54[dependencies.sc-client-api]54[dependencies.sc-client-api]
55git = 'https://github.com/paritytech/substrate.git'55git = 'https://github.com/paritytech/substrate.git'
56branch = 'polkadot-v0.9.3'56branch = 'polkadot-v0.9.7'
57version = '3.0.0'57version = '3.0.0'
5858
59[dependencies.sc-consensus]59[dependencies.sc-consensus]
60git = 'https://github.com/paritytech/substrate.git'60git = 'https://github.com/paritytech/substrate.git'
61branch = 'polkadot-v0.9.3'61branch = 'polkadot-v0.9.7'
62version = '0.9.0'62version = '0.9.0'
6363
64[dependencies.sc-consensus-aura]64[dependencies.sc-consensus-aura]
65git = 'https://github.com/paritytech/substrate.git'65git = 'https://github.com/paritytech/substrate.git'
66branch = 'polkadot-v0.9.3'66branch = 'polkadot-v0.9.7'
67version = '0.9.0'67version = '0.9.0'
6868
69[dependencies.sc-executor]69[dependencies.sc-executor]
70features = ['wasmtime']70features = ['wasmtime']
71git = 'https://github.com/paritytech/substrate.git'71git = 'https://github.com/paritytech/substrate.git'
72branch = 'polkadot-v0.9.3'72branch = 'polkadot-v0.9.7'
73version = '0.9.0'73version = '0.9.0'
7474
75[dependencies.sc-finality-grandpa]75[dependencies.sc-finality-grandpa]
76git = 'https://github.com/paritytech/substrate.git'76git = 'https://github.com/paritytech/substrate.git'
77branch = 'polkadot-v0.9.3'77branch = 'polkadot-v0.9.7'
78version = '0.9.0'78version = '0.9.0'
7979
80[dependencies.sc-keystore]80[dependencies.sc-keystore]
81git = 'https://github.com/paritytech/substrate.git'81git = 'https://github.com/paritytech/substrate.git'
82branch = 'polkadot-v0.9.3'82branch = 'polkadot-v0.9.7'
83version = '3.0.0'83version = '3.0.0'
8484
85[dependencies.sc-rpc]85[dependencies.sc-rpc]
86git = 'https://github.com/paritytech/substrate.git'86git = 'https://github.com/paritytech/substrate.git'
87branch = 'polkadot-v0.9.3'87branch = 'polkadot-v0.9.7'
88version = '3.0.0'88version = '3.0.0'
8989
90[dependencies.sc-rpc-api]90[dependencies.sc-rpc-api]
91git = 'https://github.com/paritytech/substrate.git'91git = 'https://github.com/paritytech/substrate.git'
92branch = 'polkadot-v0.9.3'92branch = 'polkadot-v0.9.7'
93version = '0.9.0'93version = '0.9.0'
9494
95[dependencies.sc-service]95[dependencies.sc-service]
96features = ['wasmtime']96features = ['wasmtime']
97git = 'https://github.com/paritytech/substrate.git'97git = 'https://github.com/paritytech/substrate.git'
98branch = 'polkadot-v0.9.3'98branch = 'polkadot-v0.9.7'
99version = '0.9.0'99version = '0.9.0'
100100
101[dependencies.sc-telemetry]101[dependencies.sc-telemetry]
102git = 'https://github.com/paritytech/substrate.git'102git = 'https://github.com/paritytech/substrate.git'
103branch = 'polkadot-v0.9.3'103branch = 'polkadot-v0.9.7'
104version = '3.0.0'104version = '3.0.0'
105105
106[dependencies.sc-transaction-pool]106[dependencies.sc-transaction-pool]
107git = 'https://github.com/paritytech/substrate.git'107git = 'https://github.com/paritytech/substrate.git'
108branch = 'polkadot-v0.9.3'108branch = 'polkadot-v0.9.7'
109version = '3.0.0'109version = '3.0.0'
110110
111[dependencies.sc-tracing]111[dependencies.sc-tracing]
112git = 'https://github.com/paritytech/substrate.git'112git = 'https://github.com/paritytech/substrate.git'
113branch = 'polkadot-v0.9.3'113branch = 'polkadot-v0.9.7'
114version = '3.0.0'114version = '3.0.0'
115115
116[dependencies.sp-block-builder]116[dependencies.sp-block-builder]
117git = 'https://github.com/paritytech/substrate.git'117git = 'https://github.com/paritytech/substrate.git'
118branch = 'polkadot-v0.9.3'118branch = 'polkadot-v0.9.7'
119version = '3.0.0'119version = '3.0.0'
120120
121[dependencies.sp-api]121[dependencies.sp-api]
122git = 'https://github.com/paritytech/substrate.git'122git = 'https://github.com/paritytech/substrate.git'
123branch = 'polkadot-v0.9.3'123branch = 'polkadot-v0.9.7'
124version = '3.0.0'124version = '3.0.0'
125125
126[dependencies.sp-blockchain]126[dependencies.sp-blockchain]
127git = 'https://github.com/paritytech/substrate.git'127git = 'https://github.com/paritytech/substrate.git'
128branch = 'polkadot-v0.9.3'128branch = 'polkadot-v0.9.7'
129version = '3.0.0'129version = '3.0.0'
130130
131[dependencies.sp-consensus]131[dependencies.sp-consensus]
132git = 'https://github.com/paritytech/substrate.git'132git = 'https://github.com/paritytech/substrate.git'
133branch = 'polkadot-v0.9.3'133branch = 'polkadot-v0.9.7'
134version = '0.9.0'134version = '0.9.0'
135135
136[dependencies.sp-consensus-aura]136[dependencies.sp-consensus-aura]
137git = 'https://github.com/paritytech/substrate.git'137git = 'https://github.com/paritytech/substrate.git'
138branch = 'polkadot-v0.9.3'138branch = 'polkadot-v0.9.7'
139version = '0.9.0'139version = '0.9.0'
140140
141[dependencies.sp-core]141[dependencies.sp-core]
142git = 'https://github.com/paritytech/substrate.git'142git = 'https://github.com/paritytech/substrate.git'
143branch = 'polkadot-v0.9.3'143branch = 'polkadot-v0.9.7'
144version = '3.0.0'144version = '3.0.0'
145145
146[dependencies.sp-finality-grandpa]146[dependencies.sp-finality-grandpa]
147git = 'https://github.com/paritytech/substrate.git'147git = 'https://github.com/paritytech/substrate.git'
148branch = 'polkadot-v0.9.3'148branch = 'polkadot-v0.9.7'
149version = '3.0.0'149version = '3.0.0'
150150
151[dependencies.sp-inherents]151[dependencies.sp-inherents]
152git = 'https://github.com/paritytech/substrate.git'152git = 'https://github.com/paritytech/substrate.git'
153branch = 'polkadot-v0.9.3'153branch = 'polkadot-v0.9.7'
154version = '3.0.0'154version = '3.0.0'
155155
156[dependencies.sp-keystore]156[dependencies.sp-keystore]
157git = 'https://github.com/paritytech/substrate.git'157git = 'https://github.com/paritytech/substrate.git'
158branch = 'polkadot-v0.9.3'158branch = 'polkadot-v0.9.7'
159version = '0.9.0'159version = '0.9.0'
160160
161[dependencies.sp-offchain]161[dependencies.sp-offchain]
162git = 'https://github.com/paritytech/substrate.git'162git = 'https://github.com/paritytech/substrate.git'
163branch = 'polkadot-v0.9.3'163branch = 'polkadot-v0.9.7'
164version = '3.0.0'164version = '3.0.0'
165165
166[dependencies.sp-runtime]166[dependencies.sp-runtime]
167git = 'https://github.com/paritytech/substrate.git'167git = 'https://github.com/paritytech/substrate.git'
168branch = 'polkadot-v0.9.3'168branch = 'polkadot-v0.9.7'
169version = '3.0.0'169version = '3.0.0'
170170
171[dependencies.sp-session]171[dependencies.sp-session]
172git = 'https://github.com/paritytech/substrate.git'172git = 'https://github.com/paritytech/substrate.git'
173branch = 'polkadot-v0.9.3'173branch = 'polkadot-v0.9.7'
174version = '3.0.0'174version = '3.0.0'
175175
176[dependencies.sp-timestamp]176[dependencies.sp-timestamp]
177git = 'https://github.com/paritytech/substrate.git'177git = 'https://github.com/paritytech/substrate.git'
178branch = 'polkadot-v0.9.3'178branch = 'polkadot-v0.9.7'
179version = '3.0.0'179version = '3.0.0'
180180
181[dependencies.sp-transaction-pool]181[dependencies.sp-transaction-pool]
182git = 'https://github.com/paritytech/substrate.git'182git = 'https://github.com/paritytech/substrate.git'
183branch = 'polkadot-v0.9.3'183branch = 'polkadot-v0.9.7'
184version = '3.0.0'184version = '3.0.0'
185185
186[dependencies.sp-trie]186[dependencies.sp-trie]
187git = 'https://github.com/paritytech/substrate.git'187git = 'https://github.com/paritytech/substrate.git'
188branch = 'polkadot-v0.9.3'188branch = 'polkadot-v0.9.7'
189version = '3.0.0'189version = '3.0.0'
190190
191[dependencies.substrate-frame-rpc-system]191[dependencies.substrate-frame-rpc-system]
192git = 'https://github.com/paritytech/substrate.git'192git = 'https://github.com/paritytech/substrate.git'
193branch = 'polkadot-v0.9.3'193branch = 'polkadot-v0.9.7'
194version = '3.0.0'194version = '3.0.0'
195195
196[dependencies.pallet-contracts]196[dependencies.pallet-contracts]
197git = 'https://github.com/paritytech/substrate.git'197git = 'https://github.com/paritytech/substrate.git'
198branch = 'polkadot-v0.9.3'198branch = 'polkadot-v0.9.7'
199version = '3.0.0'199version = '3.0.0'
200200
201[dependencies.pallet-contracts-rpc]201[dependencies.pallet-contracts-rpc]
202git = 'https://github.com/paritytech/substrate.git'202git = 'https://github.com/paritytech/substrate.git'
203branch = 'polkadot-v0.9.3'203branch = 'polkadot-v0.9.7'
204version = '3.0.0'204version = '3.0.0'
205205
206206
207[dependencies.sc-network]207[dependencies.sc-network]
208git = 'https://github.com/paritytech/substrate.git'208git = 'https://github.com/paritytech/substrate.git'
209branch = 'polkadot-v0.9.3'209branch = 'polkadot-v0.9.7'
210version = '0.9.0'210version = '0.9.0'
211211
212[dependencies.serde]212[dependencies.serde]
222222
223[dependencies.cumulus-client-consensus-aura]223[dependencies.cumulus-client-consensus-aura]
224git = 'https://github.com/paritytech/cumulus.git'224git = 'https://github.com/paritytech/cumulus.git'
225branch = 'polkadot-v0.9.3'225branch = 'polkadot-v0.9.7'
226226
227[dependencies.cumulus-client-consensus-common]227[dependencies.cumulus-client-consensus-common]
228git = 'https://github.com/paritytech/cumulus.git'228git = 'https://github.com/paritytech/cumulus.git'
229branch = 'polkadot-v0.9.3'229branch = 'polkadot-v0.9.7'
230230
231[dependencies.cumulus-client-collator]231[dependencies.cumulus-client-collator]
232git = 'https://github.com/paritytech/cumulus.git'232git = 'https://github.com/paritytech/cumulus.git'
233branch = 'polkadot-v0.9.3'233branch = 'polkadot-v0.9.7'
234234
235[dependencies.cumulus-client-cli]235[dependencies.cumulus-client-cli]
236git = 'https://github.com/paritytech/cumulus.git'236git = 'https://github.com/paritytech/cumulus.git'
237branch = 'polkadot-v0.9.3'237branch = 'polkadot-v0.9.7'
238238
239[dependencies.cumulus-client-network]239[dependencies.cumulus-client-network]
240git = 'https://github.com/paritytech/cumulus.git'240git = 'https://github.com/paritytech/cumulus.git'
241branch = 'polkadot-v0.9.3'241branch = 'polkadot-v0.9.7'
242242
243[dependencies.cumulus-primitives-core]243[dependencies.cumulus-primitives-core]
244git = 'https://github.com/paritytech/cumulus.git'244git = 'https://github.com/paritytech/cumulus.git'
245branch = 'polkadot-v0.9.3'245branch = 'polkadot-v0.9.7'
246246
247[dependencies.cumulus-primitives-parachain-inherent]247[dependencies.cumulus-primitives-parachain-inherent]
248git = 'https://github.com/paritytech/cumulus.git'248git = 'https://github.com/paritytech/cumulus.git'
249branch = 'polkadot-v0.9.3'249branch = 'polkadot-v0.9.7'
250250
251[dependencies.cumulus-client-service]251[dependencies.cumulus-client-service]
252git = 'https://github.com/paritytech/cumulus.git'252git = 'https://github.com/paritytech/cumulus.git'
253branch = 'polkadot-v0.9.3'253branch = 'polkadot-v0.9.7'
254254
255255
256################################################################################256################################################################################
257# Polkadot dependencies257# Polkadot dependencies
258[dependencies.polkadot-primitives]258[dependencies.polkadot-primitives]
259git = "https://github.com/paritytech/polkadot"259git = "https://github.com/paritytech/polkadot"
260branch = 'release-v0.9.3'260branch = 'release-v0.9.7'
261261
262[dependencies.polkadot-service]262[dependencies.polkadot-service]
263git = "https://github.com/paritytech/polkadot"263git = "https://github.com/paritytech/polkadot"
264branch = 'release-v0.9.3'264branch = 'release-v0.9.7'
265265
266[dependencies.polkadot-cli]266[dependencies.polkadot-cli]
267git = "https://github.com/paritytech/polkadot"267git = "https://github.com/paritytech/polkadot"
268branch = 'release-v0.9.3'268branch = 'release-v0.9.7'
269269
270[dependencies.polkadot-test-service]270[dependencies.polkadot-test-service]
271git = "https://github.com/paritytech/polkadot"271git = "https://github.com/paritytech/polkadot"
272branch = 'release-v0.9.3'272branch = 'release-v0.9.7'
273273
274[dependencies.polkadot-parachain]274[dependencies.polkadot-parachain]
275git = "https://github.com/paritytech/polkadot"275git = "https://github.com/paritytech/polkadot"
276branch = 'release-v0.9.3'276branch = 'release-v0.9.7'
277277
278278
279################################################################################279################################################################################
322fc-rpc = { version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }322fc-rpc = { version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
323fc-db = { version = "1.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }323fc-db = { version = "1.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
324fp-rpc = { version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }324fp-rpc = { version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
325pallet-ethereum = { version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }325pallet-ethereum = { version = "3.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
326326
327nft-rpc = { path = "../rpc" }327nft-rpc = { path = "../rpc" }
328328
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
160 .to_vec(),160 .to_vec(),
161 changes_trie_config: Default::default(),161 changes_trie_config: Default::default(),
162 },162 },
163 pallet_balances: BalancesConfig {163 balances: BalancesConfig {
164 balances: endowed_accounts164 balances: endowed_accounts
165 .iter()165 .iter()
166 .cloned()166 .cloned()
167 .map(|k| (k, 1 << 70))167 .map(|k| (k, 1 << 70))
168 .collect(),168 .collect(),
169 },169 },
170 pallet_treasury: Default::default(),170 treasury: Default::default(),
171 pallet_sudo: SudoConfig { key: root_key },171 sudo: SudoConfig { key: root_key },
172 pallet_vesting: VestingConfig {172 vesting: VestingConfig {
173 vesting: vested_accounts173 vesting: vested_accounts
174 .iter()174 .iter()
175 .cloned()175 .cloned()
176 .map(|k| (k, 1000, 100, 1 << 98))176 .map(|k| (k, 1000, 100, 1 << 98))
177 .collect(),177 .collect(),
178 },178 },
179 pallet_nft: NftConfig {179 nft: NftConfig {
180 collection_id: vec![(180 collection_id: vec![(
181 1,181 1,
182 Collection {182 Collection {
215 },215 },
216 },216 },
217 parachain_info: nft_runtime::ParachainInfoConfig { parachain_id: id },217 parachain_info: nft_runtime::ParachainInfoConfig { parachain_id: id },
218 pallet_aura: nft_runtime::AuraConfig {218 aura: nft_runtime::AuraConfig {
219 authorities: initial_authorities,219 authorities: initial_authorities,
220 },220 },
221 cumulus_pallet_aura_ext: Default::default(),221 aura_ext: Default::default(),
222 pallet_evm: EVMConfig {222 evm: EVMConfig {
223 accounts: BTreeMap::new(),223 accounts: BTreeMap::new(),
224 },224 },
225 pallet_ethereum: EthereumConfig {},225 ethereum: EthereumConfig {},
226 }226 }
227}227}
228228
modifiednode/cli/src/command.rsdiffbeforeafterboth
267 let runner = cli.create_runner(&cli.run.normalize())?;267 let runner = cli.create_runner(&cli.run.normalize())?;
268268
269 runner.run_node_until_exit(|config| async move {269 runner.run_node_until_exit(|config| async move {
270 // TODO
271 let key = sp_core::Pair::generate().0;
272
273 let para_id =270 let para_id =
274 chain_spec::Extensions::try_get(&*config.chain_spec).map(|e| e.para_id);271 chain_spec::Extensions::try_get(&*config.chain_spec).map(|e| e.para_id);
306 }303 }
307 );304 );
308305
309 crate::service::start_node(config, key, polkadot_config, id)306 crate::service::start_node(config, polkadot_config, id)
310 .await307 .await
311 .map(|r| r.0)308 .map(|r| r.0)
312 .map_err(Into::into)309 .map_err(Into::into)
modifiednode/cli/src/service.rsdiffbeforeafterboth
23};23};
24use cumulus_primitives_core::ParaId;24use cumulus_primitives_core::ParaId;
25
26// Polkadot Imports
27use polkadot_primitives::v1::CollatorPair;
2825
29// Substrate Imports26// Substrate Imports
30use sc_client_api::ExecutorProvider;27use sc_client_api::ExecutorProvider;
159 config.transaction_pool.clone(),156 config.transaction_pool.clone(),
160 config.role.is_authority().into(),157 config.role.is_authority().into(),
161 config.prometheus_registry(),158 config.prometheus_registry(),
162 task_manager.spawn_handle(),159 task_manager.spawn_essential_handle(),
163 client.clone(),160 client.clone(),
164 );161 );
165162
202#[sc_tracing::logging::prefix_logs_with("Parachain")]199#[sc_tracing::logging::prefix_logs_with("Parachain")]
203async fn start_node_impl<BIQ, BIC>(200async fn start_node_impl<BIQ, BIC>(
204 parachain_config: Configuration,201 parachain_config: Configuration,
205 collator_key: CollatorPair,
206 polkadot_config: Configuration,202 polkadot_config: Configuration,
207 id: ParaId,203 id: ParaId,
208 build_import_queue: BIQ,204 build_import_queue: BIQ,
246242
247 let relay_chain_full_node = cumulus_client_service::build_polkadot_full_node(243 let relay_chain_full_node =
248 polkadot_config,244 cumulus_client_service::build_polkadot_full_node(polkadot_config, telemetry_worker_handle)
249 collator_key.clone(),
250 telemetry_worker_handle,
251 )
252 .map_err(|e| match e {245 .map_err(|e| match e {
253 polkadot_service::Error::Sub(x) => x,246 polkadot_service::Error::Sub(x) => x,
269 let transaction_pool = params.transaction_pool.clone();262 let transaction_pool = params.transaction_pool.clone();
270 let mut task_manager = params.task_manager;263 let mut task_manager = params.task_manager;
271 let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue);264 let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue);
272 let (network, network_status_sinks, system_rpc_tx, start_network) =265 let (network, system_rpc_tx, start_network) =
273 sc_service::build_network(sc_service::BuildNetworkParams {266 sc_service::build_network(sc_service::BuildNetworkParams {
274 config: &parachain_config,267 config: &parachain_config,
275 client: client.clone(),268 client: client.clone(),
317 keystore: params.keystore_container.sync_keystore(),310 keystore: params.keystore_container.sync_keystore(),
318 backend: backend.clone(),311 backend: backend.clone(),
319 network: network.clone(),312 network: network.clone(),
320 network_status_sinks,
321 system_rpc_tx,313 system_rpc_tx,
322 telemetry: telemetry.as_mut(),314 telemetry: telemetry.as_mut(),
323 })?;315 })?;
348 announce_block,340 announce_block,
349 client: client.clone(),341 client: client.clone(),
350 task_manager: &mut task_manager,342 task_manager: &mut task_manager,
351 collator_key,
352 relay_chain_full_node,343 relay_chain_full_node,
353 spawner,344 spawner,
354 parachain_consensus,345 parachain_consensus,
415/// Start a normal parachain node.406/// Start a normal parachain node.
416pub async fn start_node(407pub async fn start_node(
417 parachain_config: Configuration,408 parachain_config: Configuration,
418 collator_key: CollatorPair,
419 polkadot_config: Configuration,409 polkadot_config: Configuration,
420 id: ParaId,410 id: ParaId,
421) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)> {411) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)> {
422 start_node_impl::<_, _>(412 start_node_impl::<_, _>(
423 parachain_config,413 parachain_config,
424 collator_key,
425 polkadot_config,414 polkadot_config,
426 id,415 id,
427 parachain_build_import_queue,416 parachain_build_import_queue,
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
13futures = { version = "0.3.1", features = ["compat"] }13futures = { version = "0.3.1", features = ["compat"] }
14jsonrpc-core = "15.0.0"14jsonrpc-core = "15.0.0"
15jsonrpc-pubsub = "15.0.0"15jsonrpc-pubsub = "15.0.0"
16pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }16pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
17pallet-transaction-payment-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }17pallet-transaction-payment-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
18pallet-transaction-payment-rpc-runtime-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }18pallet-transaction-payment-rpc-runtime-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
19sc-client-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }19sc-client-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
20sc-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }20sc-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
21sc-consensus-epochs = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }21sc-consensus-epochs = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
22sc-finality-grandpa = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }22sc-finality-grandpa = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
23sc-finality-grandpa-rpc = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }23sc-finality-grandpa-rpc = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
24sc-keystore = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }24sc-keystore = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
25sc-network = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }25sc-network = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
26sc-rpc-api = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }26sc-rpc-api = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
27sc-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }27sc-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
28sc-service = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }28sc-service = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
29sp-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }29sp-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
30sp-block-builder = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }30sp-block-builder = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
31sp-blockchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }31sp-blockchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
32sp-consensus = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }32sp-consensus = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
33sp-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }33sp-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
34sp-core = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }34sp-core = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
35sp-offchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }35sp-offchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
36sp-runtime = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }36sp-runtime = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
37sp-storage = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }37sp-storage = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
38sp-session = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }38sp-session = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
39sp-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }39sp-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
40sc-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }40sc-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
41sc-transaction-graph = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }41sc-transaction-graph = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
42substrate-frame-rpc-system = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }42substrate-frame-rpc-system = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
43tokio = { version = "0.2.13", features = ["macros", "sync"] }43tokio = { version = "0.2.13", features = ["macros", "sync"] }
4444
45pallet-ethereum = { git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }45pallet-ethereum = { git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
modifiedpallets/contract-helpers/Cargo.tomldiffbeforeafterboth
15version = '0.1.0'15version = '0.1.0'
1616
17[dependencies]17[dependencies]
18frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }18frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
19frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }19frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
20pallet-contracts = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }20pallet-contracts = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
21sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }21sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
22sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }22sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
2323
24[features]24[features]
25default = ["std"]25default = ["std"]
modifiedpallets/contract-helpers/src/lib.rsdiffbeforeafterboth
75 #[pallet::call]75 #[pallet::call]
76 impl<T: Config> Pallet<T> {76 impl<T: Config> Pallet<T> {
77 #[pallet::weight(0)]77 #[pallet::weight(0)]
78 fn toggle_sponsoring(78 pub fn toggle_sponsoring(
79 origin: OriginFor<T>,79 origin: OriginFor<T>,
80 contract: T::AccountId,80 contract: T::AccountId,
81 sponsoring: bool,81 sponsoring: bool,
95 }95 }
9696
97 #[pallet::weight(0)]97 #[pallet::weight(0)]
98 fn toggle_allowlist(98 pub fn toggle_allowlist(
99 origin: OriginFor<T>,99 origin: OriginFor<T>,
100 contract: T::AccountId,100 contract: T::AccountId,
101 enabled: bool,101 enabled: bool,
115 }115 }
116116
117 #[pallet::weight(0)]117 #[pallet::weight(0)]
118 fn toggle_allowed(118 pub fn toggle_allowed(
119 origin: OriginFor<T>,119 origin: OriginFor<T>,
120 contract: T::AccountId,120 contract: T::AccountId,
121 user: T::AccountId,121 user: T::AccountId,
136 }136 }
137137
138 #[pallet::weight(0)]138 #[pallet::weight(0)]
139 fn set_sponsoring_rate_limit(139 pub fn set_sponsoring_rate_limit(
140 origin: OriginFor<T>,140 origin: OriginFor<T>,
141 contract: T::AccountId,141 contract: T::AccountId,
142 rate_limit: T::BlockNumber,142 rate_limit: T::BlockNumber,
modifiedpallets/inflation/Cargo.tomldiffbeforeafterboth
43default-features = false43default-features = false
44optional = true44optional = true
45git = 'https://github.com/paritytech/substrate.git'45git = 'https://github.com/paritytech/substrate.git'
46branch = 'polkadot-v0.9.3'46branch = 'polkadot-v0.9.7'
47version = '3.0.0'47version = '3.0.0'
4848
49[dependencies.frame-support]49[dependencies.frame-support]
50default-features = false50default-features = false
51git = 'https://github.com/paritytech/substrate.git'51git = 'https://github.com/paritytech/substrate.git'
52branch = 'polkadot-v0.9.3'52branch = 'polkadot-v0.9.7'
53version = '3.0.0'53version = '3.0.0'
5454
55[dependencies.frame-system]55[dependencies.frame-system]
56default-features = false56default-features = false
57git = 'https://github.com/paritytech/substrate.git'57git = 'https://github.com/paritytech/substrate.git'
58branch = 'polkadot-v0.9.3'58branch = 'polkadot-v0.9.7'
59version = '3.0.0'59version = '3.0.0'
6060
61[dependencies.pallet-balances]61[dependencies.pallet-balances]
62default-features = false62default-features = false
63git = 'https://github.com/paritytech/substrate.git'63git = 'https://github.com/paritytech/substrate.git'
64branch = 'polkadot-v0.9.3'64branch = 'polkadot-v0.9.7'
65version = '3.0.0'65version = '3.0.0'
6666
67[dependencies.pallet-timestamp]67[dependencies.pallet-timestamp]
68default-features = false68default-features = false
69git = 'https://github.com/paritytech/substrate.git'69git = 'https://github.com/paritytech/substrate.git'
70branch = 'polkadot-v0.9.3'70branch = 'polkadot-v0.9.7'
71version = '3.0.0'71version = '3.0.0'
7272
73[dependencies.pallet-randomness-collective-flip]73[dependencies.pallet-randomness-collective-flip]
74default-features = false74default-features = false
75git = 'https://github.com/paritytech/substrate.git'75git = 'https://github.com/paritytech/substrate.git'
76branch = 'polkadot-v0.9.3'76branch = 'polkadot-v0.9.7'
77version = '3.0.0'77version = '3.0.0'
7878
79[dependencies.sp-std]79[dependencies.sp-std]
80default-features = false80default-features = false
81git = 'https://github.com/paritytech/substrate.git'81git = 'https://github.com/paritytech/substrate.git'
82branch = 'polkadot-v0.9.3'82branch = 'polkadot-v0.9.7'
83version = '3.0.0'83version = '3.0.0'
8484
85[dependencies.serde]85[dependencies.serde]
90[dependencies.sp-runtime]90[dependencies.sp-runtime]
91default-features = false91default-features = false
92git = 'https://github.com/paritytech/substrate.git'92git = 'https://github.com/paritytech/substrate.git'
93branch = 'polkadot-v0.9.3'93branch = 'polkadot-v0.9.7'
94version = '3.0.0'94version = '3.0.0'
9595
96[dependencies.sp-core]96[dependencies.sp-core]
97default-features = false97default-features = false
98git = 'https://github.com/paritytech/substrate.git'98git = 'https://github.com/paritytech/substrate.git'
99branch = 'polkadot-v0.9.3'99branch = 'polkadot-v0.9.7'
100version = '3.0.0'100version = '3.0.0'
101101
102[dependencies.sp-io]102[dependencies.sp-io]
103default-features = false103default-features = false
104git = 'https://github.com/paritytech/substrate.git'104git = 'https://github.com/paritytech/substrate.git'
105branch = 'polkadot-v0.9.3'105branch = 'polkadot-v0.9.7'
106version = '3.0.0'106version = '3.0.0'
107107
108108
modifiedpallets/nft-charge-transaction/Cargo.tomldiffbeforeafterboth
2020
21[dependencies]21[dependencies]
22serde = { version = "1.0.119", default-features = false }22serde = { version = "1.0.119", default-features = false }
23frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }23frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
24frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }24frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
25pallet-balances = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }25pallet-balances = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
26pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }26pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
27sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }27sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
28frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }28frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
29sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }29sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
30sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }30sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
31sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }31sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
3232
33pallet-nft-transaction-payment = { default-features = false, path="../nft-transaction-payment" }33pallet-nft-transaction-payment = { default-features = false, path="../nft-transaction-payment" }
3434
modifiedpallets/nft-transaction-payment/Cargo.tomldiffbeforeafterboth
2020
21[dependencies]21[dependencies]
22serde = { version = "1.0.119", default-features = false }22serde = { version = "1.0.119", default-features = false }
23frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }23frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
24frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }24frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
25pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }25pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
26sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }26sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
27frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }27frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
28sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }28sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
29sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }29sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
30sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }30sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
3131
32up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }32up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
3333
modifiedpallets/nft/Cargo.tomldiffbeforeafterboth
56default-features = false56default-features = false
57optional = true57optional = true
58git = 'https://github.com/paritytech/substrate.git'58git = 'https://github.com/paritytech/substrate.git'
59branch = 'polkadot-v0.9.3'59branch = 'polkadot-v0.9.7'
60version = '3.0.0'60version = '3.0.0'
6161
62[dependencies.frame-support]62[dependencies.frame-support]
63default-features = false63default-features = false
64git = 'https://github.com/paritytech/substrate.git'64git = 'https://github.com/paritytech/substrate.git'
65branch = 'polkadot-v0.9.3'65branch = 'polkadot-v0.9.7'
66version = '3.0.0'66version = '3.0.0'
6767
68[dependencies.frame-system]68[dependencies.frame-system]
69default-features = false69default-features = false
70git = 'https://github.com/paritytech/substrate.git'70git = 'https://github.com/paritytech/substrate.git'
71branch = 'polkadot-v0.9.3'71branch = 'polkadot-v0.9.7'
72version = '3.0.0'72version = '3.0.0'
7373
74[dependencies.pallet-balances]74[dependencies.pallet-balances]
75default-features = false75default-features = false
76git = 'https://github.com/paritytech/substrate.git'76git = 'https://github.com/paritytech/substrate.git'
77branch = 'polkadot-v0.9.3'77branch = 'polkadot-v0.9.7'
78version = '3.0.0'78version = '3.0.0'
7979
80[dependencies.pallet-timestamp]80[dependencies.pallet-timestamp]
81default-features = false81default-features = false
82git = 'https://github.com/paritytech/substrate.git'82git = 'https://github.com/paritytech/substrate.git'
83branch = 'polkadot-v0.9.3'83branch = 'polkadot-v0.9.7'
84version = '3.0.0'84version = '3.0.0'
8585
86[dependencies.pallet-randomness-collective-flip]86[dependencies.pallet-randomness-collective-flip]
87default-features = false87default-features = false
88git = 'https://github.com/paritytech/substrate.git'88git = 'https://github.com/paritytech/substrate.git'
89branch = 'polkadot-v0.9.3'89branch = 'polkadot-v0.9.7'
90version = '3.0.0'90version = '3.0.0'
9191
92[dependencies.sp-std]92[dependencies.sp-std]
93default-features = false93default-features = false
94git = 'https://github.com/paritytech/substrate.git'94git = 'https://github.com/paritytech/substrate.git'
95branch = 'polkadot-v0.9.3'95branch = 'polkadot-v0.9.7'
96version = '3.0.0'96version = '3.0.0'
9797
98[dependencies.pallet-contracts]98[dependencies.pallet-contracts]
99default-features = false99default-features = false
100git = 'https://github.com/paritytech/substrate.git'100git = 'https://github.com/paritytech/substrate.git'
101branch = 'polkadot-v0.9.3'101branch = 'polkadot-v0.9.7'
102version = '3.0.0'102version = '3.0.0'
103103
104[dependencies.pallet-transaction-payment]104[dependencies.pallet-transaction-payment]
105default-features = false105default-features = false
106git = 'https://github.com/paritytech/substrate.git'106git = 'https://github.com/paritytech/substrate.git'
107branch = 'polkadot-v0.9.3'107branch = 'polkadot-v0.9.7'
108version = '3.0.0'108version = '3.0.0'
109109
110[dependencies.serde]110[dependencies.serde]
115[dependencies.sp-runtime]115[dependencies.sp-runtime]
116default-features = false116default-features = false
117git = 'https://github.com/paritytech/substrate.git'117git = 'https://github.com/paritytech/substrate.git'
118branch = 'polkadot-v0.9.3'118branch = 'polkadot-v0.9.7'
119version = '3.0.0'119version = '3.0.0'
120120
121[dependencies.sp-core]121[dependencies.sp-core]
122default-features = false122default-features = false
123git = 'https://github.com/paritytech/substrate.git'123git = 'https://github.com/paritytech/substrate.git'
124branch = 'polkadot-v0.9.3'124branch = 'polkadot-v0.9.7'
125version = '3.0.0'125version = '3.0.0'
126126
127[dependencies.sp-io]127[dependencies.sp-io]
128default-features = false128default-features = false
129git = 'https://github.com/paritytech/substrate.git'129git = 'https://github.com/paritytech/substrate.git'
130branch = 'polkadot-v0.9.3'130branch = 'polkadot-v0.9.7'
131version = '3.0.0'131version = '3.0.0'
132132
133133
149ethereum-tx-sign = { version = "3.0.4", optional = true }149ethereum-tx-sign = { version = "3.0.4", optional = true }
150ethereum = { default-features = false, version = "0.7.1" }150ethereum = { default-features = false, version = "0.7.1" }
151rlp = { default-features = false, version = "0.5.0" }151rlp = { default-features = false, version = "0.5.0" }
152sp-api = { default-features = false, version = '3.0.0', git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.3" }152sp-api = { default-features = false, version = '3.0.0', git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.7" }
153153
154evm-coder = { default-features = false, path = "../../crates/evm-coder" }154evm-coder = { default-features = false, path = "../../crates/evm-coder" }
155primitive-types = { version = "0.9.0", default-features = false, features = ["serde_no_std"] }155primitive-types = { version = "0.9.0", default-features = false, features = ["serde_no_std"] }
156156
157pallet-evm = { default-features = false, version = "4.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }157pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
158pallet-ethereum = { default-features = false, version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }158pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
159fp-evm = { default-features = false, version = '2.0.0', git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }159fp-evm = { default-features = false, version = '2.0.0', git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
160hex-literal = "0.3.1"160hex-literal = "0.3.1"
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
12[dependencies]12[dependencies]
13serde = { version = "1.0.119", default-features = false }13serde = { version = "1.0.119", default-features = false }
14codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }14codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
15frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }15frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
16frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }16frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
17sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }17sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
18sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }18sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
19sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }19sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
20frame-benchmarking = { default-features = false, version = '3.0.0', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }20frame-benchmarking = { default-features = false, version = '3.0.0', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
2121
22up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }22up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
23log = { version = "0.4.14", default-features = false }23log = { version = "0.4.14", default-features = false }
2424
25[dev-dependencies]25[dev-dependencies]
26sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }26sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
27substrate-test-utils = { version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }27substrate-test-utils = { version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
2828
29[features]29[features]
30default = ["std"]30default = ["std"]
modifiedprimitives/nft/Cargo.tomldiffbeforeafterboth
11[dependencies]11[dependencies]
12codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ['derive'] }12codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ['derive'] }
13serde = { version = "1.0.119", features = ['derive'], default-features = false }13serde = { version = "1.0.119", features = ['derive'], default-features = false }
14frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }14frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
15frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }15frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
16pallet-contracts = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }16pallet-contracts = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
17sp-core = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }17sp-core = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
18sp-runtime = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.3' }18sp-runtime = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.7' }
1919
20[features]20[features]
21default = ["std"]21default = ["std"]
modifiedruntime/Cargo.tomldiffbeforeafterboth
95default-features = false95default-features = false
96git = 'https://github.com/paritytech/substrate.git'96git = 'https://github.com/paritytech/substrate.git'
97optional = true97optional = true
98branch = 'polkadot-v0.9.3'98branch = 'polkadot-v0.9.7'
99version = '3.0.0'99version = '3.0.0'
100100
101[dependencies.frame-executive]101[dependencies.frame-executive]
102default-features = false102default-features = false
103git = 'https://github.com/paritytech/substrate.git'103git = 'https://github.com/paritytech/substrate.git'
104branch = 'polkadot-v0.9.3'104branch = 'polkadot-v0.9.7'
105version = '3.0.0'105version = '3.0.0'
106106
107[dependencies.frame-support]107[dependencies.frame-support]
108default-features = false108default-features = false
109git = 'https://github.com/paritytech/substrate.git'109git = 'https://github.com/paritytech/substrate.git'
110branch = 'polkadot-v0.9.3'110branch = 'polkadot-v0.9.7'
111version = '3.0.0'111version = '3.0.0'
112112
113[dependencies.frame-system]113[dependencies.frame-system]
114default-features = false114default-features = false
115git = 'https://github.com/paritytech/substrate.git'115git = 'https://github.com/paritytech/substrate.git'
116branch = 'polkadot-v0.9.3'116branch = 'polkadot-v0.9.7'
117version = '3.0.0'117version = '3.0.0'
118118
119[dependencies.frame-system-benchmarking]119[dependencies.frame-system-benchmarking]
120default-features = false120default-features = false
121git = 'https://github.com/paritytech/substrate.git'121git = 'https://github.com/paritytech/substrate.git'
122optional = true122optional = true
123branch = 'polkadot-v0.9.3'123branch = 'polkadot-v0.9.7'
124version = '3.0.0'124version = '3.0.0'
125125
126[dependencies.frame-system-rpc-runtime-api]126[dependencies.frame-system-rpc-runtime-api]
127default-features = false127default-features = false
128git = 'https://github.com/paritytech/substrate.git'128git = 'https://github.com/paritytech/substrate.git'
129branch = 'polkadot-v0.9.3'129branch = 'polkadot-v0.9.7'
130version = '3.0.0'130version = '3.0.0'
131131
132[dependencies.hex-literal]132[dependencies.hex-literal]
142[dependencies.pallet-aura]142[dependencies.pallet-aura]
143default-features = false143default-features = false
144git = 'https://github.com/paritytech/substrate.git'144git = 'https://github.com/paritytech/substrate.git'
145branch = 'polkadot-v0.9.3'145branch = 'polkadot-v0.9.7'
146version = '3.0.0'146version = '3.0.0'
147147
148[dependencies.pallet-balances]148[dependencies.pallet-balances]
149default-features = false149default-features = false
150git = 'https://github.com/paritytech/substrate.git'150git = 'https://github.com/paritytech/substrate.git'
151branch = 'polkadot-v0.9.3'151branch = 'polkadot-v0.9.7'
152version = '3.0.0'152version = '3.0.0'
153153
154# Contracts specific packages154# Contracts specific packages
155[dependencies.pallet-contracts]155[dependencies.pallet-contracts]
156git = 'https://github.com/paritytech/substrate.git'156git = 'https://github.com/paritytech/substrate.git'
157default-features = false157default-features = false
158branch = 'polkadot-v0.9.3'158branch = 'polkadot-v0.9.7'
159version = '3.0.0'159version = '3.0.0'
160160
161[dependencies.pallet-contracts-primitives]161[dependencies.pallet-contracts-primitives]
162git = 'https://github.com/paritytech/substrate.git'162git = 'https://github.com/paritytech/substrate.git'
163default-features = false163default-features = false
164branch = 'polkadot-v0.9.3'164branch = 'polkadot-v0.9.7'
165version = '3.0.0'165version = '3.0.0'
166166
167[dependencies.pallet-contracts-rpc-runtime-api]167[dependencies.pallet-contracts-rpc-runtime-api]
168git = 'https://github.com/paritytech/substrate.git'168git = 'https://github.com/paritytech/substrate.git'
169default-features = false169default-features = false
170branch = 'polkadot-v0.9.3'170branch = 'polkadot-v0.9.7'
171version = '3.0.0'171version = '3.0.0'
172172
173[dependencies.pallet-randomness-collective-flip]173[dependencies.pallet-randomness-collective-flip]
174default-features = false174default-features = false
175git = 'https://github.com/paritytech/substrate.git'175git = 'https://github.com/paritytech/substrate.git'
176branch = 'polkadot-v0.9.3'176branch = 'polkadot-v0.9.7'
177version = '3.0.0'177version = '3.0.0'
178178
179[dependencies.pallet-sudo]179[dependencies.pallet-sudo]
180default-features = false180default-features = false
181git = 'https://github.com/paritytech/substrate.git'181git = 'https://github.com/paritytech/substrate.git'
182branch = 'polkadot-v0.9.3'182branch = 'polkadot-v0.9.7'
183version = '3.0.0'183version = '3.0.0'
184184
185[dependencies.pallet-timestamp]185[dependencies.pallet-timestamp]
186default-features = false186default-features = false
187git = 'https://github.com/paritytech/substrate.git'187git = 'https://github.com/paritytech/substrate.git'
188branch = 'polkadot-v0.9.3'188branch = 'polkadot-v0.9.7'
189version = '3.0.0'189version = '3.0.0'
190190
191[dependencies.pallet-transaction-payment]191[dependencies.pallet-transaction-payment]
192default-features = false192default-features = false
193git = 'https://github.com/paritytech/substrate.git'193git = 'https://github.com/paritytech/substrate.git'
194branch = 'polkadot-v0.9.3'194branch = 'polkadot-v0.9.7'
195version = '3.0.0'195version = '3.0.0'
196196
197[dependencies.pallet-transaction-payment-rpc-runtime-api]197[dependencies.pallet-transaction-payment-rpc-runtime-api]
198default-features = false198default-features = false
199git = 'https://github.com/paritytech/substrate.git'199git = 'https://github.com/paritytech/substrate.git'
200branch = 'polkadot-v0.9.3'200branch = 'polkadot-v0.9.7'
201version = '3.0.0'201version = '3.0.0'
202202
203[dependencies.pallet-treasury]203[dependencies.pallet-treasury]
204default-features = false204default-features = false
205git = 'https://github.com/paritytech/substrate.git'205git = 'https://github.com/paritytech/substrate.git'
206branch = 'polkadot-v0.9.3'206branch = 'polkadot-v0.9.7'
207version = '3.0.0'207version = '3.0.0'
208208
209[dependencies.pallet-vesting]209[dependencies.pallet-vesting]
210default-features = false210default-features = false
211git = 'https://github.com/paritytech/substrate.git'211git = 'https://github.com/paritytech/substrate.git'
212branch = 'polkadot-v0.9.3'212branch = 'polkadot-v0.9.7'
213version = '3.0.0'213version = '3.0.0'
214214
215[dependencies.sp-arithmetic]215[dependencies.sp-arithmetic]
216default-features = false216default-features = false
217git = 'https://github.com/paritytech/substrate.git'217git = 'https://github.com/paritytech/substrate.git'
218branch = 'polkadot-v0.9.3'218branch = 'polkadot-v0.9.7'
219version = '3.0.0'219version = '3.0.0'
220220
221[dependencies.sp-api]221[dependencies.sp-api]
222default-features = false222default-features = false
223git = 'https://github.com/paritytech/substrate.git'223git = 'https://github.com/paritytech/substrate.git'
224branch = 'polkadot-v0.9.3'224branch = 'polkadot-v0.9.7'
225version = '3.0.0'225version = '3.0.0'
226226
227[dependencies.sp-block-builder]227[dependencies.sp-block-builder]
228default-features = false228default-features = false
229git = 'https://github.com/paritytech/substrate.git'229git = 'https://github.com/paritytech/substrate.git'
230branch = 'polkadot-v0.9.3'230branch = 'polkadot-v0.9.7'
231version = '3.0.0'231version = '3.0.0'
232232
233[dependencies.sp-core]233[dependencies.sp-core]
234default-features = false234default-features = false
235git = 'https://github.com/paritytech/substrate.git'235git = 'https://github.com/paritytech/substrate.git'
236branch = 'polkadot-v0.9.3'236branch = 'polkadot-v0.9.7'
237version = '3.0.0'237version = '3.0.0'
238238
239[dependencies.sp-consensus-aura]239[dependencies.sp-consensus-aura]
240default-features = false240default-features = false
241git = 'https://github.com/paritytech/substrate.git'241git = 'https://github.com/paritytech/substrate.git'
242branch = 'polkadot-v0.9.3'242branch = 'polkadot-v0.9.7'
243version = '0.9.0'243version = '0.9.0'
244244
245[dependencies.sp-inherents]245[dependencies.sp-inherents]
246default-features = false246default-features = false
247git = 'https://github.com/paritytech/substrate.git'247git = 'https://github.com/paritytech/substrate.git'
248branch = 'polkadot-v0.9.3'248branch = 'polkadot-v0.9.7'
249version = '3.0.0'249version = '3.0.0'
250250
251[dependencies.sp-io]251[dependencies.sp-io]
252default-features = false252default-features = false
253git = 'https://github.com/paritytech/substrate.git'253git = 'https://github.com/paritytech/substrate.git'
254branch = 'polkadot-v0.9.3'254branch = 'polkadot-v0.9.7'
255version = '3.0.0'255version = '3.0.0'
256256
257[dependencies.sp-offchain]257[dependencies.sp-offchain]
258default-features = false258default-features = false
259git = 'https://github.com/paritytech/substrate.git'259git = 'https://github.com/paritytech/substrate.git'
260branch = 'polkadot-v0.9.3'260branch = 'polkadot-v0.9.7'
261version = '3.0.0'261version = '3.0.0'
262262
263[dependencies.sp-runtime]263[dependencies.sp-runtime]
264default-features = false264default-features = false
265git = 'https://github.com/paritytech/substrate.git'265git = 'https://github.com/paritytech/substrate.git'
266branch = 'polkadot-v0.9.3'266branch = 'polkadot-v0.9.7'
267version = '3.0.0'267version = '3.0.0'
268268
269[dependencies.sp-session]269[dependencies.sp-session]
270default-features = false270default-features = false
271git = 'https://github.com/paritytech/substrate.git'271git = 'https://github.com/paritytech/substrate.git'
272branch = 'polkadot-v0.9.3'272branch = 'polkadot-v0.9.7'
273version = '3.0.0'273version = '3.0.0'
274274
275[dependencies.sp-std]275[dependencies.sp-std]
276default-features = false276default-features = false
277git = 'https://github.com/paritytech/substrate.git'277git = 'https://github.com/paritytech/substrate.git'
278branch = 'polkadot-v0.9.3'278branch = 'polkadot-v0.9.7'
279version = '3.0.0'279version = '3.0.0'
280280
281[dependencies.sp-transaction-pool]281[dependencies.sp-transaction-pool]
282default-features = false282default-features = false
283git = 'https://github.com/paritytech/substrate.git'283git = 'https://github.com/paritytech/substrate.git'
284branch = 'polkadot-v0.9.3'284branch = 'polkadot-v0.9.7'
285version = '3.0.0'285version = '3.0.0'
286286
287[dependencies.sp-version]287[dependencies.sp-version]
288default-features = false288default-features = false
289git = 'https://github.com/paritytech/substrate.git'289git = 'https://github.com/paritytech/substrate.git'
290branch = 'polkadot-v0.9.3'290branch = 'polkadot-v0.9.7'
291version = '3.0.0'291version = '3.0.0'
292292
293[dependencies.smallvec]293[dependencies.smallvec]
299[dependencies.parachain-info]299[dependencies.parachain-info]
300default-features = false300default-features = false
301git = 'https://github.com/paritytech/cumulus.git'301git = 'https://github.com/paritytech/cumulus.git'
302branch = 'polkadot-v0.9.3'302branch = 'polkadot-v0.9.7'
303version = '0.1.0'303version = '0.1.0'
304304
305[dependencies.cumulus-pallet-aura-ext]305[dependencies.cumulus-pallet-aura-ext]
306git = 'https://github.com/paritytech/cumulus.git'306git = 'https://github.com/paritytech/cumulus.git'
307branch = 'polkadot-v0.9.3'307branch = 'polkadot-v0.9.7'
308default-features = false308default-features = false
309309
310[dependencies.cumulus-pallet-parachain-system]310[dependencies.cumulus-pallet-parachain-system]
311git = 'https://github.com/paritytech/cumulus.git'311git = 'https://github.com/paritytech/cumulus.git'
312branch = 'polkadot-v0.9.3'312branch = 'polkadot-v0.9.7'
313default-features = false313default-features = false
314314
315[dependencies.cumulus-primitives-core]315[dependencies.cumulus-primitives-core]
316git = 'https://github.com/paritytech/cumulus.git'316git = 'https://github.com/paritytech/cumulus.git'
317branch = 'polkadot-v0.9.3'317branch = 'polkadot-v0.9.7'
318default-features = false318default-features = false
319319
320[dependencies.cumulus-pallet-xcm]320[dependencies.cumulus-pallet-xcm]
321git = 'https://github.com/paritytech/cumulus.git'321git = 'https://github.com/paritytech/cumulus.git'
322branch = 'polkadot-v0.9.3'322branch = 'polkadot-v0.9.7'
323default-features = false323default-features = false
324324
325[dependencies.cumulus-pallet-dmp-queue]325[dependencies.cumulus-pallet-dmp-queue]
326git = 'https://github.com/paritytech/cumulus.git'326git = 'https://github.com/paritytech/cumulus.git'
327branch = 'polkadot-v0.9.3'327branch = 'polkadot-v0.9.7'
328default-features = false328default-features = false
329329
330[dependencies.cumulus-pallet-xcmp-queue]330[dependencies.cumulus-pallet-xcmp-queue]
331git = 'https://github.com/paritytech/cumulus.git'331git = 'https://github.com/paritytech/cumulus.git'
332branch = 'polkadot-v0.9.3'332branch = 'polkadot-v0.9.7'
333default-features = false333default-features = false
334334
335[dependencies.cumulus-primitives-utility]335[dependencies.cumulus-primitives-utility]
336git = 'https://github.com/paritytech/cumulus.git'336git = 'https://github.com/paritytech/cumulus.git'
337branch = 'polkadot-v0.9.3'337branch = 'polkadot-v0.9.7'
338default-features = false338default-features = false
339
340[dependencies.cumulus-primitives-timestamp]
341git = 'https://github.com/paritytech/cumulus.git'
342branch = 'polkadot-v0.9.7'
343default-features = false
339344
340################################################################################345################################################################################
341# Polkadot dependencies346# Polkadot dependencies
342347
343[dependencies.polkadot-parachain]348[dependencies.polkadot-parachain]
344git = 'https://github.com/paritytech/polkadot'349git = 'https://github.com/paritytech/polkadot'
345branch = 'release-v0.9.3'350branch = 'release-v0.9.7'
346default-features = false351default-features = false
347352
348[dependencies.xcm]353[dependencies.xcm]
349git = 'https://github.com/paritytech/polkadot'354git = 'https://github.com/paritytech/polkadot'
350branch = 'release-v0.9.3'355branch = 'release-v0.9.7'
351default-features = false356default-features = false
352357
353[dependencies.xcm-builder]358[dependencies.xcm-builder]
354git = 'https://github.com/paritytech/polkadot'359git = 'https://github.com/paritytech/polkadot'
355branch = 'release-v0.9.3'360branch = 'release-v0.9.7'
356default-features = false361default-features = false
357362
358[dependencies.xcm-executor]363[dependencies.xcm-executor]
359git = 'https://github.com/paritytech/polkadot'364git = 'https://github.com/paritytech/polkadot'
360branch = 'release-v0.9.3'365branch = 'release-v0.9.7'
361default-features = false366default-features = false
362367
363[dependencies.pallet-xcm]368[dependencies.pallet-xcm]
364git = 'https://github.com/paritytech/polkadot'369git = 'https://github.com/paritytech/polkadot'
365branch = 'release-v0.9.3'370branch = 'release-v0.9.7'
366default-features = false371default-features = false
367372
368373
379pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }384pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }
380pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }385pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }
381386
382pallet-evm = { default-features = false, version = "4.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }387pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
383pallet-ethereum = { default-features = false, version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }388pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
384fp-rpc = { default-features = false, version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }389fp-rpc = { default-features = false, version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }
385390
386################################################################################391################################################################################
modifiedruntime/src/lib.rsdiffbeforeafterboth
250 type BlockGasLimit = BlockGasLimit;250 type BlockGasLimit = BlockGasLimit;
251 type FeeCalculator = ();251 type FeeCalculator = ();
252 type GasWeightMapping = ();252 type GasWeightMapping = ();
253 type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping;
253 type CallOrigin = EnsureAddressTruncated;254 type CallOrigin = EnsureAddressTruncated;
254 type WithdrawOrigin = EnsureAddressTruncated;255 type WithdrawOrigin = EnsureAddressTruncated;
255 type AddressMapping = HashedAddressMapping<Self::Hashing>;256 type AddressMapping = HashedAddressMapping<Self::Hashing>;
287 type EvmSubmitLog = pallet_evm::Pallet<Runtime>;288 type EvmSubmitLog = pallet_evm::Pallet<Runtime>;
288}289}
290
291impl pallet_randomness_collective_flip::Config for Runtime {}
289292
290impl system::Config for Runtime {293impl system::Config for Runtime {
291 /// The data to be stored in an account.294 /// The data to be stored in an account.
355358
356impl pallet_balances::Config for Runtime {359impl pallet_balances::Config for Runtime {
357 type MaxLocks = MaxLocks;360 type MaxLocks = MaxLocks;
361 type MaxReserves = ();
362 type ReserveIdentifier = [u8; 8];
358 /// The type for recording an account's balance.363 /// The type for recording an account's balance.
359 type Balance = Balance;364 type Balance = Balance;
360 /// The ubiquitous event type.365 /// The ubiquitous event type.
1153 }1158 }
1154}1159}
1160
1161struct CheckInherents;
1162
1163impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {
1164 fn check_inherents(
1165 block: &Block,
1166 relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,
1167 ) -> sp_inherents::CheckInherentsResult {
1168 let relay_chain_slot = relay_state_proof
1169 .read_slot()
1170 .expect("Could not read the relay chain slot from the proof");
1171
1172 let inherent_data =
1173 cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(
1174 relay_chain_slot,
1175 sp_std::time::Duration::from_secs(6),
1176 )
1177 .create_inherent_data()
1178 .expect("Could not create the timestamp inherent data");
1179
1180 inherent_data.check_extrinsics(&block)
1181 }
1182}
11551183
1156cumulus_pallet_parachain_system::register_validate_block!(1184cumulus_pallet_parachain_system::register_validate_block!(
1157 Runtime,1185 Runtime = Runtime,
1158 cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1186 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
1187 CheckInherents = CheckInherents,
1159);1188);
11601189