From 1de59f8cd4921a3e107ebb51337c6684e9668c90 Mon Sep 17 00:00:00 2001 From: NZT48 Date: Thu, 25 Jul 2024 09:32:44 +0000 Subject: [PATCH] Setup chain id for evm --- runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a8dccc3..ba9adc7 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -141,7 +141,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 130, + spec_version: 131, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -756,7 +756,7 @@ impl> FindAuthor for FindAuthorTruncated { } parameter_types! { - pub const ChainId: u64 = 2043; + pub const ChainId: u64 = 2160; pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); pub PrecompilesValue: FrontierPrecompiles = FrontierPrecompiles::<_>::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0);