From 7b41c99a54cddc59c319bd70019cdc5f0e257c7f Mon Sep 17 00:00:00 2001 From: Matias Romeo Date: Fri, 10 May 2024 00:59:16 -0300 Subject: [PATCH] Use Shanghai for eosevm version 1 --- eosevm/version.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eosevm/version.hpp b/eosevm/version.hpp index 032dbf2d..2333f929 100644 --- a/eosevm/version.hpp +++ b/eosevm/version.hpp @@ -23,11 +23,11 @@ inline uint64_t nonce_to_version(const NonceType& nonce) { inline evmc_revision version_to_evmc_revision(uint64_t version) { switch (version) { case 0: return EVMC_ISTANBUL; - case 1: return EVMC_LONDON; + case 1: return EVMC_SHANGHAI; } auto msg = "Unknown EOSEVM version: " + std::to_string(version); EOSEVM_ABORT(msg.c_str()); return static_cast(0); } -} // namespace eosevm \ No newline at end of file +} // namespace eosevm