Skip to content

Commit

Permalink
2.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjj9219 committed Aug 4, 2023
1 parent c9bb574 commit 45f0f35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions runtime/mandala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -1578,7 +1579,7 @@ impl pallet_proxy::Config for Runtime {

parameter_types! {
pub NetworkContractSource: H160 = H160::from_low_u64_be(0);
pub PrecompilesValue: AllPrecompiles<Runtime, module_transaction_pause::PausedPrecompileFilter<Runtime>, ()> = AllPrecompiles::<_, _, _>::mandala();
pub PrecompilesValue: AllPrecompiles<Runtime, module_transaction_pause::PausedPrecompileFilter<Runtime>, AcalaPrecompiles<Runtime>> = AllPrecompiles::<_, _, _>::mandala();
}

#[cfg(feature = "with-ethereum-compatibility")]
Expand Down Expand Up @@ -1639,7 +1640,8 @@ impl module_evm::Config for Runtime {
type StorageDepositPerByte = StorageDepositPerByte;
type TxFeePerGas = TxFeePerGas;
type RuntimeEvent = RuntimeEvent;
type PrecompilesType = AllPrecompiles<Self, module_transaction_pause::PausedPrecompileFilter<Self>, ()>;
type PrecompilesType =
AllPrecompiles<Self, module_transaction_pause::PausedPrecompileFilter<Self>, AcalaPrecompiles<Runtime>>;
type PrecompilesValue = PrecompilesValue;
type GasToWeight = GasToWeight;
type ChargeTransactionPayment = module_transaction_payment::ChargeTransactionPayment<Runtime>;
Expand Down

0 comments on commit 45f0f35

Please sign in to comment.