Skip to content

Commit

Permalink
Remove unused EOF validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Feb 21, 2024
1 parent 771e2ee commit 7f4e8db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions lib/evmone/eof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,8 @@ std::string_view get_error_message(EOFValidationError err) noexcept
{
case EOFValidationError::success:
return "success";
case EOFValidationError::starts_with_format:
return "starts_with_format";
case EOFValidationError::invalid_prefix:
return "invalid_prefix";
case EOFValidationError::eof_version_mismatch:
return "eof_version_mismatch";
case EOFValidationError::eof_version_unknown:
return "eof_version_unknown";
case EOFValidationError::incomplete_section_size:
Expand Down
2 changes: 0 additions & 2 deletions lib/evmone/eof.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ struct EOF1Header
enum class EOFValidationError
{
success,
starts_with_format,
invalid_prefix,
eof_version_mismatch,
eof_version_unknown,

incomplete_section_size,
Expand Down

0 comments on commit 7f4e8db

Please sign in to comment.