This repository was archived by the owner on Nov 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 166
Comments
Draft
Conversation
Codecov Report
Merging #682 (25431fb) into master (97fac6f) will increase coverage by
0.03%.
The diff coverage is100.00%.
Additional details and impacted files
@@ Coverage Diff @@ ## master #682 +/- ## ========================================== + Coverage 93.17% 93.20% +0.03% ========================================== Files 25 25 Lines 3779 3784 +5 Branches 391 392 +1 ========================================== + Hits 3521 3527 +6 Misses 147 147 + Partials 111 110 -1
axic
axic
commented
Feb 13, 2023
constexpr T parse(std::string_view s) noexcept
{
return from_hex<T>(s).value();
auto const v = from_hex<T>(s);
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failure case is also used for parsing errors, including odd nibbles.
Need to rethink.
gumb0
gumb0
reviewed
Feb 28, 2023
EXPECT_EQ(std::hash<evmc::bytes32>{}(eb), static_cast<size_t>(0xbb14e5c56b477375));
const auto zero_address = 0x0_address;
EXPECT_EQ(zero_address, evmc::address{});
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These can be static_asserts I think.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.