Skip to content

Commit

Permalink
remove onchain bytecode swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
shouc authored Sep 9, 2023
1 parent 806cd89 commit e3d03fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evm/contract_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl ContractLoader {
let result = builder.onchain_job(onchain.chain_name.clone(), addr);
if let Some(result) = result {
abi = Some(result.abi.clone());
bytecode = Some(to_analysed(Bytecode::new_raw(result.bytecodes.clone())));
bytecode = Some(onchain.get_contract_code(addr, false)); // Some(to_analysed(Bytecode::new_raw(result.bytecodes.clone())));
build_artifact = Some(result);
}
}
Expand Down

0 comments on commit e3d03fd

Please sign in to comment.