diff --git a/silkworm b/silkworm index 76163e9c..c4da9c73 160000 --- a/silkworm +++ b/silkworm @@ -1 +1 @@ -Subproject commit 76163e9c9aedc7991307f21eaa14a861964446b4 +Subproject commit c4da9c735207b8d2a2a018ebfc6bb9f3bfd3add4 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 07090f2e..0a00c1a0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -92,5 +92,5 @@ target_compile_options(evm_runtime PUBLIC --no-missing-ricardian-clause) if (WITH_LARGE_STACK) target_link_options(evm_runtime PUBLIC --stack-size=50000000) else() - target_link_options(evm_runtime PUBLIC --stack-size=34720) + target_link_options(evm_runtime PUBLIC --stack-size=37328) endif() diff --git a/src/actions.cpp b/src/actions.cpp index e552f735..a2997856 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -339,7 +339,7 @@ void evm_contract::exec(const exec_input& input, const std::optional> found_chain_config = lookup_known_chain(_config->get_chainid()); - check( found_chain_config.has_value(), "failed to find expected chain config" ); + check( found_chain_config.has_value(), "unknown chainid" ); eosevm::block_mapping bm(_config->get_genesis_time().sec_since_epoch()); @@ -465,7 +465,7 @@ void evm_contract::process_tx(const runtime_config& rc, eosio::name miner, const } std::optional> found_chain_config = lookup_known_chain(_config->get_chainid()); - check( found_chain_config.has_value(), "failed to find expected chain config" ); + check( found_chain_config.has_value(), "unknown chainid" ); eosevm::block_mapping bm(_config->get_genesis_time().sec_since_epoch()); diff --git a/tests/init_tests.cpp b/tests/init_tests.cpp index 04415aa8..55736d39 100644 --- a/tests/init_tests.cpp +++ b/tests/init_tests.cpp @@ -64,7 +64,7 @@ BOOST_FIXTURE_TEST_CASE(check_init, basic_evm_tester) try { eosio_assert_message_exception, [](const eosio_assert_message_exception& e) {return testing::expect_assert_message(e, "assertion failure with message: contract not initialized");}); - BOOST_REQUIRE_EXCEPTION(init(42), + BOOST_REQUIRE_EXCEPTION(init(0), eosio_assert_message_exception, [](const eosio_assert_message_exception& e) {return testing::expect_assert_message(e, "assertion failure with message: unknown chainid");}); init(15555);