diff --git a/core/executor/src/precompiles/mod.rs b/core/executor/src/precompiles/mod.rs index 3f9ab29b3..b146b08a4 100644 --- a/core/executor/src/precompiles/mod.rs +++ b/core/executor/src/precompiles/mod.rs @@ -28,8 +28,9 @@ use protocol::types::H160; use crate::precompiles::{ blake2_f::Blake2F, call_ckb_vm::CallCkbVM, ckb_blake2b::CkbBlake2b, ckb_mbt_verify::CMBTVerify, - ec_add::EcAdd, ec_mul::EcMul, ec_pairing::EcPairing, ecrecover::EcRecover, identity::Identity, - modexp::ModExp, ripemd160::Ripemd160, sha256::Sha256, + ec_add::EcAdd, ec_mul::EcMul, ec_pairing::EcPairing, ecrecover::EcRecover, + get_header::GetHeader, identity::Identity, modexp::ModExp, ripemd160::Ripemd160, + sha256::Sha256, }; #[macro_export] @@ -96,7 +97,7 @@ const fn axon_precompile_address(addr: u8) -> H160 { pub fn build_precompile_set() -> BTreeMap { precompiles!( EcRecover, Sha256, Ripemd160, Identity, ModExp, EcAdd, EcMul, EcPairing, Blake2F, - CallCkbVM, CkbBlake2b, CMBTVerify + CallCkbVM, CkbBlake2b, CMBTVerify, GetHeader ) }