From b5d500acb8d1089c3f264d54cc34e04ae18bd89e Mon Sep 17 00:00:00 2001 From: salman01zp Date: Thu, 18 Jan 2024 17:31:31 +0530 Subject: [PATCH] fix imports --- runtime/mainnet/src/precompiles.rs | 8 +++++++- runtime/testnet/src/precompiles.rs | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/runtime/mainnet/src/precompiles.rs b/runtime/mainnet/src/precompiles.rs index d9e20f184..ed4d5f8a1 100644 --- a/runtime/mainnet/src/precompiles.rs +++ b/runtime/mainnet/src/precompiles.rs @@ -23,6 +23,8 @@ use pallet_evm_precompile_registry::PrecompileRegistry; use pallet_evm_precompile_sha3fips::Sha3FIPS256; use pallet_evm_precompile_simple::{ECRecover, ECRecoverPublicKey, Identity, Ripemd160, Sha256}; use pallet_evm_precompile_staking::StakingPrecompile; +use pallet_evm_precompile_vesting::VestingPrecompile; + use precompile_utils::precompile_set::{ AcceptDelegateCall, AddressU64, CallableByContract, CallableByPrecompile, OnlyFrom, PrecompileAt, PrecompileSetBuilder, SubcallWithMaxNesting, @@ -49,7 +51,11 @@ pub type WebbPrecompilesAt = ( StakingPrecompile, (CallableByContract, CallableByPrecompile), >, - PrecompileAt, VestingPrecompile, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<2049>, + VestingPrecompile, + (CallableByContract, CallableByPrecompile), + >, // Moonbeam precompiles PrecompileAt< AddressU64<2051>, diff --git a/runtime/testnet/src/precompiles.rs b/runtime/testnet/src/precompiles.rs index e6f3e39da..bfdc244ab 100644 --- a/runtime/testnet/src/precompiles.rs +++ b/runtime/testnet/src/precompiles.rs @@ -24,6 +24,8 @@ use pallet_evm_precompile_registry::PrecompileRegistry; use pallet_evm_precompile_sha3fips::Sha3FIPS256; use pallet_evm_precompile_simple::{ECRecover, ECRecoverPublicKey, Identity, Ripemd160, Sha256}; use pallet_evm_precompile_staking::StakingPrecompile; +use pallet_evm_precompile_vesting::VestingPrecompile; + use precompile_utils::precompile_set::{ AcceptDelegateCall, AddressU64, CallableByContract, CallableByPrecompile, OnlyFrom, PrecompileAt, PrecompileSetBuilder, SubcallWithMaxNesting, @@ -50,7 +52,11 @@ pub type WebbPrecompilesAt = ( StakingPrecompile, (CallableByContract, CallableByPrecompile), >, - PrecompileAt, VestingPrecompile, (CallableByContract, CallableByPrecompile)>, + PrecompileAt< + AddressU64<2049>, + VestingPrecompile, + (CallableByContract, CallableByPrecompile), + >, // Moonbeam precompiles PrecompileAt< AddressU64<2051>,