diff --git a/src/system_contracts.rs b/src/system_contracts.rs index 1cdeed13..34f1d7fe 100644 --- a/src/system_contracts.rs +++ b/src/system_contracts.rs @@ -130,7 +130,7 @@ pub fn playground(options: &Options) -> BaseSystemContracts { include_bytes!("deps/contracts/playground_batch.yul.zbin").to_vec() } Options::Local => read_zbin_bytecode( - "etc/system-contracts/bootloader/build/artifacts/playground_batch.yul.zbin", + "contracts/system-contracts/bootloader/build/artifacts/playground_batch.yul.zbin", ), }; @@ -153,7 +153,7 @@ pub fn fee_estimate_contracts(options: &Options) -> BaseSystemContracts { include_bytes!("deps/contracts/fee_estimate.yul.zbin").to_vec() } Options::Local => read_zbin_bytecode( - "etc/system-contracts/bootloader/build/artifacts/fee_estimate.yul.zbin", + "contracts/system-contracts/bootloader/build/artifacts/fee_estimate.yul.zbin", ), }; @@ -165,9 +165,12 @@ pub fn fee_estimate_impersonating_contracts(options: &Options) -> BaseSystemCont Options::BuiltIn | Options::BuiltInWithoutSecurity => { include_bytes!("deps/contracts/fee_estimate_impersonating.yul.zbin").to_vec() } - Options::Local => + Options::Local => { // Account impersonating is not supported with the local contracts - read_zbin_bytecode("etc/system-contracts/bootloader/build/artifacts/fee_estimate.yul/fee_estimate.yul.zbin") + read_zbin_bytecode( + "contracts/system-contracts/bootloader/build/artifacts/fee_estimate.yul.zbin", + ) + } }; bsc_load_with_bootloader(bootloader_bytecode, options)