diff --git a/core/bin/system-constants-generator/src/utils.rs b/core/bin/system-constants-generator/src/utils.rs index 265cc7580fa..ac4d66185e3 100644 --- a/core/bin/system-constants-generator/src/utils.rs +++ b/core/bin/system-constants-generator/src/utils.rs @@ -75,7 +75,7 @@ pub static GAS_TEST_SYSTEM_CONTRACTS: Lazy = Lazy::new(|| { let bytecode = read_sys_contract_bytecode("", "DefaultAccount", ContractLanguage::Sol); let hash = hash_bytecode(&bytecode); - let mut evm_simulator_bytecode = vec![]; + let mut evm_simulator_bytecode = bytecode.clone(); let mut evm_simulator_hash = H256::from_str("0x01000563374c277a2c1e34659a2a1e87371bb6d852ce142022d497bfb50b9e32") .unwrap(); diff --git a/core/lib/types/src/system_contracts.rs b/core/lib/types/src/system_contracts.rs index 9f2d328d542..f88e24e21ca 100644 --- a/core/lib/types/src/system_contracts.rs +++ b/core/lib/types/src/system_contracts.rs @@ -230,6 +230,7 @@ pub fn get_system_smart_contracts_from_dir(path: PathBuf) -> Vec Vec