Skip to content

Commit

Permalink
Activate InitcodeTransaction type in Osaka
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed May 24, 2024
1 parent 6dbc9b6 commit c44ebd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/state/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ std::variant<int64_t, std::error_code> validate_transaction(const Account& sende
break;

case Transaction::Type::initcodes:
if (rev < EVMC_PRAGUE)
if (rev < EVMC_OSAKA)
return make_error_code(TX_TYPE_NOT_SUPPORTED);
if (tx.initcodes.size() > max_initcode_count)
return make_error_code(INIT_CODE_COUNT_LIMIT_EXCEEDED);
Expand Down

0 comments on commit c44ebd7

Please sign in to comment.