Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evmone-t8n: Temporary fix for currentDifficulty field for exec-spec-tests #602

Closed
wants to merge 4 commits into from

Conversation

spencer-tb
Copy link

This PR adds a similar workaround to that of prevRandao but for currentDifficulty.

I think the main issue here from the exec-spec-tests format perspective relates to the from_json<evmc::bytes32> function. Our inputs here are string int and string hex respectively so maybe the evmc::bytes32 can't be cast from these types.

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #602 (3520bba) into master (fd99568) will decrease coverage by 0.03%.
The diff coverage is 75.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #602      +/-   ##
==========================================
- Coverage   97.07%   97.04%   -0.03%     
==========================================
  Files          74       74              
  Lines        7375     7378       +3     
==========================================
+ Hits         7159     7160       +1     
- Misses        216      218       +2     
Flag Coverage Δ
blockchaintests 63.71% <ø> (ø)
statetests 63.12% <75.00%> (+<0.01%) ⬆️
unittests 93.85% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/statetest/statetest_loader.cpp 87.55% <75.00%> (-0.31%) ⬇️

... and 1 file with indirect coverage changes

@rodiazet
Copy link
Collaborator

It's done by #603

@rodiazet rodiazet closed this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants