diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index ea8f2f0393..a9e6aa00ad 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -103,6 +103,7 @@ pub use primitives::{ DataProviderId, EraIndex, Hash, Lease, Moment, Multiplier, Nonce, ReserveIdentifier, Share, Signature, TokenSymbol, TradingPair, }; +use runtime_common::precompile::AcalaPrecompiles; pub use runtime_common::{ cent, dollar, microcent, millicent, AcalaDropAssets, AllPrecompiles, CheckRelayNumber, CurrencyHooks, EnsureRootOrAllGeneralCouncil, EnsureRootOrAllTechnicalCommittee, EnsureRootOrHalfFinancialCouncil, @@ -133,7 +134,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("mandala"), impl_name: create_runtime_str!("mandala"), authoring_version: 1, - spec_version: 2190, + spec_version: 2191, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, @@ -1578,7 +1579,7 @@ impl pallet_proxy::Config for Runtime { parameter_types! { pub NetworkContractSource: H160 = H160::from_low_u64_be(0); - pub PrecompilesValue: AllPrecompiles, ()> = AllPrecompiles::<_, _, _>::mandala(); + pub PrecompilesValue: AllPrecompiles, AcalaPrecompiles> = AllPrecompiles::<_, _, _>::mandala(); } #[cfg(feature = "with-ethereum-compatibility")] @@ -1639,7 +1640,8 @@ impl module_evm::Config for Runtime { type StorageDepositPerByte = StorageDepositPerByte; type TxFeePerGas = TxFeePerGas; type RuntimeEvent = RuntimeEvent; - type PrecompilesType = AllPrecompiles, ()>; + type PrecompilesType = + AllPrecompiles, AcalaPrecompiles>; type PrecompilesValue = PrecompilesValue; type GasToWeight = GasToWeight; type ChargeTransactionPayment = module_transaction_payment::ChargeTransactionPayment;