Skip to content

Commit

Permalink
Add max_eos_evm_version constant
Browse files Browse the repository at this point in the history
  • Loading branch information
elmato committed Jan 18, 2024
1 parent 0e80c10 commit c9d247b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eosevm/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

#include <silkworm/core/types/block.hpp>
#include <silkworm/core/common/endian.hpp>

#ifdef ANTELOPE
#include <eosio/eosio.hpp>
#endif
namespace eosevm {

static constexpr uint64_t max_eos_evm_version = 1;

using NonceType=silkworm::BlockHeader::NonceType;

inline NonceType version_to_nonce(uint64_t version) {
Expand Down

0 comments on commit c9d247b

Please sign in to comment.