We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RETURNCONTRACT
1 parent fd1d149 commit 01eca77Copy full SHA for 01eca77
1 file changed
lib/evmone/instructions.hpp
@@ -1174,9 +1174,8 @@ inline TermResult returncontract(
1174
return {EVMC_OUT_OF_GAS, gas_left};
1175
1176
const auto deploy_container_index = size_t{pos[1]};
1177
-
1178
- const auto header = read_valid_eof1_header(state.original_code);
1179
- bytes deploy_container{header.get_container(state.original_code, deploy_container_index)};
+ bytes deploy_container{state.analysis.baseline->eof_header().get_container(
+ state.original_code, deploy_container_index)};
1180
1181
// Append (offset, size) to data section
1182
if (!append_data_section(deploy_container,
0 commit comments