From 2232ca89c359efdbfdc4d5983367a7f40628af7e Mon Sep 17 00:00:00 2001 From: bear Date: Mon, 22 Jul 2024 16:54:47 +0800 Subject: [PATCH 1/2] Use biggiest proof_size_base_cost --- runtime/crab/src/lib.rs | 108 +++++++++++++++++++++++----------- runtime/darwinia/src/lib.rs | 108 +++++++++++++++++++++++----------- runtime/koi/src/lib.rs | 113 +++++++++++++++++++++++++----------- 3 files changed, 228 insertions(+), 101 deletions(-) diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index 9d61e0d75..c6339dda8 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -471,10 +471,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; + use pallet_evm::{Runner, GasWeightMapping as _}; // polkadot-sdk - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -484,20 +483,39 @@ sp_api::impl_runtime_apis! { None }; - let gas_limit = gas_limit.min(u64::MAX.into()); - let transaction_data = TransactionData::new( - TransactionAction::Call(to), - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + // Estimated encoded transaction size must be based on the heaviest transaction + // type (EIP1559Transaction) to be compatible with all transaction types. + let mut estimated_transaction_len = data.len() + + // pallet ethereum index: 1 + // transact call index: 1 + // Transaction enum variant: 1 + // chain_id 8 bytes + // nonce: 32 + // max_priority_fee_per_gas: 32 + // max_fee_per_gas: 32 + // gas_limit: 32 + // action: 21 (enum varianrt + call address) + // value: 32 + // access_list: 1 (empty vec size) + // 65 bytes signature + 258; + + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; ::Runner::call( from, @@ -529,10 +547,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; + use pallet_evm::{Runner, GasWeightMapping as _}; // polkadot-sdk - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -542,19 +559,44 @@ sp_api::impl_runtime_apis! { None }; - let transaction_data = TransactionData::new( - TransactionAction::Create, - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + let mut estimated_transaction_len = data.len() + + // from: 20 + // value: 32 + // gas_limit: 32 + // nonce: 32 + // 1 byte transaction action variant + // chain id 8 bytes + // 65 bytes signature + 190; + + if max_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if max_priority_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + + let gas_limit = if gas_limit > U256::from(u64::MAX) { + u64::MAX + } else { + gas_limit.low_u64() + }; + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + ::Runner::create( from, data, diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index 3d72d8b26..baa1aac23 100644 --- a/runtime/darwinia/src/lib.rs +++ b/runtime/darwinia/src/lib.rs @@ -480,10 +480,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; + use pallet_evm::{Runner, GasWeightMapping as _}; // polkadot-sdk - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -493,20 +492,39 @@ sp_api::impl_runtime_apis! { None }; - let gas_limit = gas_limit.min(u64::MAX.into()); - let transaction_data = TransactionData::new( - TransactionAction::Call(to), - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + // Estimated encoded transaction size must be based on the heaviest transaction + // type (EIP1559Transaction) to be compatible with all transaction types. + let mut estimated_transaction_len = data.len() + + // pallet ethereum index: 1 + // transact call index: 1 + // Transaction enum variant: 1 + // chain_id 8 bytes + // nonce: 32 + // max_priority_fee_per_gas: 32 + // max_fee_per_gas: 32 + // gas_limit: 32 + // action: 21 (enum varianrt + call address) + // value: 32 + // access_list: 1 (empty vec size) + // 65 bytes signature + 258; + + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; ::Runner::call( from, @@ -538,10 +556,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; + use pallet_evm::{Runner, GasWeightMapping as _}; // polkadot-sdk - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -551,19 +568,44 @@ sp_api::impl_runtime_apis! { None }; - let transaction_data = TransactionData::new( - TransactionAction::Create, - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + let mut estimated_transaction_len = data.len() + + // from: 20 + // value: 32 + // gas_limit: 32 + // nonce: 32 + // 1 byte transaction action variant + // chain id 8 bytes + // 65 bytes signature + 190; + + if max_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if max_priority_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + + let gas_limit = if gas_limit > U256::from(u64::MAX) { + u64::MAX + } else { + gas_limit.low_u64() + }; + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + ::Runner::create( from, data, diff --git a/runtime/koi/src/lib.rs b/runtime/koi/src/lib.rs index d5de004fd..a752d35c1 100644 --- a/runtime/koi/src/lib.rs +++ b/runtime/koi/src/lib.rs @@ -436,10 +436,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; - // substrate - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use pallet_evm::{Runner, GasWeightMapping as _}; + // polkadot-sdk + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -449,20 +448,39 @@ sp_api::impl_runtime_apis! { None }; - let gas_limit = gas_limit.min(u64::MAX.into()); - let transaction_data = TransactionData::new( - TransactionAction::Call(to), - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + // Estimated encoded transaction size must be based on the heaviest transaction + // type (EIP1559Transaction) to be compatible with all transaction types. + let mut estimated_transaction_len = data.len() + + // pallet ethereum index: 1 + // transact call index: 1 + // Transaction enum variant: 1 + // chain_id 8 bytes + // nonce: 32 + // max_priority_fee_per_gas: 32 + // max_fee_per_gas: 32 + // gas_limit: 32 + // action: 21 (enum varianrt + call address) + // value: 32 + // access_list: 1 (empty vec size) + // 65 bytes signature + 258; + + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + let gas_limit = gas_limit.min(u64::MAX.into()).low_u64(); + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; ::Runner::call( from, @@ -494,10 +512,9 @@ sp_api::impl_runtime_apis! { access_list: Option)>>, ) -> Result { // frontier - use pallet_evm::Runner; - use pallet_ethereum::{TransactionData, TransactionAction}; - // substrate - use sp_runtime::traits::{UniqueSaturatedInto, Get}; + use pallet_evm::{Runner, GasWeightMapping as _}; + // polkadot-sdk + use sp_runtime::traits::UniqueSaturatedInto; let config = if estimate { let mut config = ::config().clone(); @@ -507,19 +524,45 @@ sp_api::impl_runtime_apis! { None }; - let transaction_data = TransactionData::new( - TransactionAction::Create, - data.clone(), - nonce.unwrap_or_default(), - gas_limit, - None, - max_fee_per_gas, - max_priority_fee_per_gas, - value, - Some(::ChainId::get()), - access_list.clone().unwrap_or_default(), - ); - let (weight_limit, proof_size_base_cost) = pallet_ethereum::Pallet::::transaction_weight(&transaction_data); + + let mut estimated_transaction_len = data.len() + + // from: 20 + // value: 32 + // gas_limit: 32 + // nonce: 32 + // 1 byte transaction action variant + // chain id 8 bytes + // 65 bytes signature + 190; + + if max_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if max_priority_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + + let gas_limit = if gas_limit > U256::from(u64::MAX) { + u64::MAX + } else { + gas_limit.low_u64() + }; + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + ::Runner::create( from, data, From aa88d8da8c21e6235fa73cb0f5b210d29512e20e Mon Sep 17 00:00:00 2001 From: bear Date: Mon, 22 Jul 2024 17:13:03 +0800 Subject: [PATCH 2/2] Upgrade frontier locked commit --- Cargo.lock | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53b05f1a9..4b1ea01da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3799,7 +3799,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "async-trait", "fp-storage", @@ -3811,7 +3811,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "async-trait", "fp-consensus", @@ -3827,7 +3827,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "async-trait", "ethereum", @@ -3858,7 +3858,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fc-db", "fc-storage", @@ -3881,7 +3881,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -3936,7 +3936,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -3951,7 +3951,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -4143,7 +4143,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "hex", "impl-serde", @@ -4162,7 +4162,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "parity-scale-codec", @@ -4174,7 +4174,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -4187,7 +4187,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "evm", "frame-support", @@ -4203,7 +4203,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -4220,7 +4220,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "frame-support", "parity-scale-codec", @@ -4232,7 +4232,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "parity-scale-codec", "serde", @@ -8183,7 +8183,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ethereum", "ethereum-types", @@ -8232,7 +8232,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "environmental", "evm", @@ -8258,7 +8258,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fp-evm", ] @@ -8266,7 +8266,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bls12381" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "ark-bls12-381", "ark-ec", @@ -8278,7 +8278,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fp-evm", "sp-core", @@ -8308,7 +8308,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fp-evm", "frame-support", @@ -8320,7 +8320,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fp-evm", "num", @@ -8329,7 +8329,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "fp-evm", "ripemd", @@ -10546,7 +10546,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "derive_more", "environmental", @@ -10603,7 +10603,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#f566bc6e6dff42573aa91ef54f83edf2f0f04e46" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v1.7.2#cb1c8a774485c3fe1576281e2997cf2ff07f3c83" dependencies = [ "case", "num_enum 0.7.2",