Skip to content

Commit

Permalink
fix rust format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Scocco committed Mar 15, 2024
1 parent e3e1241 commit 192f038
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/system_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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("contracts/system-contracts/bootloader/build/artifacts/fee_estimate.yul.zbin")
read_zbin_bytecode(
"contracts/system-contracts/bootloader/build/artifacts/fee_estimate.yul.zbin",
)
}
};

bsc_load_with_bootloader(bootloader_bytecode, options)
Expand Down

0 comments on commit 192f038

Please sign in to comment.