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

statetest, ci: Update EOF state tests #625

Merged
merged 1 commit into from
Apr 28, 2023
Merged

statetest, ci: Update EOF state tests #625

merged 1 commit into from
Apr 28, 2023

Conversation

chfast
Copy link
Member

@chfast chfast commented Apr 27, 2023

EIP/EOF tests enabled.

[----------] 2 tests from ori
[ RUN      ] ori.CreateEOF1
[       OK ] ori.CreateEOF1 (2 ms)
[ RUN      ] ori.EOF1ValidInvalid
[       OK ] ori.EOF1ValidInvalid (2 ms)
[----------] 2 tests from ori (5 ms total)

[----------] 12 tests from stEIP3540
[ RUN      ] stEIP3540.CREATE2_EOF1
[       OK ] stEIP3540.CREATE2_EOF1 (1 ms)
[ RUN      ] stEIP3540.CREATE2_EOF1Invalid
[       OK ] stEIP3540.CREATE2_EOF1Invalid (11 ms)
[ RUN      ] stEIP3540.CREATE2_EOF1Invalid_FromEOF
[       OK ] stEIP3540.CREATE2_EOF1Invalid_FromEOF (4 ms)
[ RUN      ] stEIP3540.CREATE2_EOF1_FromEOF
[       OK ] stEIP3540.CREATE2_EOF1_FromEOF (0 ms)
[ RUN      ] stEIP3540.CREATE_EOF1
[       OK ] stEIP3540.CREATE_EOF1 (0 ms)
[ RUN      ] stEIP3540.CREATE_EOF1Invalid
[       OK ] stEIP3540.CREATE_EOF1Invalid (11 ms)
[ RUN      ] stEIP3540.CREATE_EOF1Invalid_FromEOF
[       OK ] stEIP3540.CREATE_EOF1Invalid_FromEOF (4 ms)
[ RUN      ] stEIP3540.CREATE_EOF1_FromEOF
[       OK ] stEIP3540.CREATE_EOF1_FromEOF (0 ms)
[ RUN      ] stEIP3540.CreateTransactionEOF1
[       OK ] stEIP3540.CreateTransactionEOF1 (0 ms)
[ RUN      ] stEIP3540.CreateTransactionInvalidEOF1
[       OK ] stEIP3540.CreateTransactionInvalidEOF1 (7 ms)
[ RUN      ] stEIP3540.EOF1_Calls
[       OK ] stEIP3540.EOF1_Calls (1 ms)
[ RUN      ] stEIP3540.EOF1_Execution
[       OK ] stEIP3540.EOF1_Execution (1 ms)
[----------] 12 tests from stEIP3540 (45 ms total)

[----------] 11 tests from stEIP3670
[ RUN      ] stEIP3670.CREATE2_EOF1DeployValidOpcodes
[       OK ] stEIP3670.CREATE2_EOF1DeployValidOpcodes (5 ms)
[ RUN      ] stEIP3670.CREATE2_EOF1Invalid
[       OK ] stEIP3670.CREATE2_EOF1Invalid (8 ms)
[ RUN      ] stEIP3670.CREATE2_EOF1InvalidOpcodes
[       OK ] stEIP3670.CREATE2_EOF1InvalidOpcodes (3 ms)
[ RUN      ] stEIP3670.CREATE2_EOF1Invalid_FromEOF
[       OK ] stEIP3670.CREATE2_EOF1Invalid_FromEOF (2 ms)
[ RUN      ] stEIP3670.CREATE_EOF1DeployValidOpcodes
[       OK ] stEIP3670.CREATE_EOF1DeployValidOpcodes (5 ms)
[ RUN      ] stEIP3670.CREATE_EOF1Invalid
[       OK ] stEIP3670.CREATE_EOF1Invalid (8 ms)
[ RUN      ] stEIP3670.CREATE_EOF1InvalidOpcodes
[       OK ] stEIP3670.CREATE_EOF1InvalidOpcodes (3 ms)
[ RUN      ] stEIP3670.CREATE_EOF1Invalid_FromEOF
[       OK ] stEIP3670.CREATE_EOF1Invalid_FromEOF (2 ms)
[ RUN      ] stEIP3670.CreateTransactionEOF1InvalidOpcodes
[       OK ] stEIP3670.CreateTransactionEOF1InvalidOpcodes (5 ms)
[ RUN      ] stEIP3670.CreateTransactionEOF1ValidOpcodes
[       OK ] stEIP3670.CreateTransactionEOF1ValidOpcodes (4 ms)
[ RUN      ] stEIP3670.CreateTransactionInvalidEOF1
[       OK ] stEIP3670.CreateTransactionInvalidEOF1 (6 ms)
[----------] 11 tests from stEIP3670 (57 ms total)

[----------] 4 tests from stEIP4200
[ RUN      ] stEIP4200.EOF1_RJUMP_RJUMPI_RJUMPV_Execution
[       OK ] stEIP4200.EOF1_RJUMP_RJUMPI_RJUMPV_Execution (2 ms)
[ RUN      ] stEIP4200.RJUMPI_MaxOffset
[       OK ] stEIP4200.RJUMPI_MaxOffset (2 ms)
[ RUN      ] stEIP4200.RJUMPV_MaxOffset
[       OK ] stEIP4200.RJUMPV_MaxOffset (2 ms)
[ RUN      ] stEIP4200.RJUMP_MaxOffset
[       OK ] stEIP4200.RJUMP_MaxOffset (2 ms)
[----------] 4 tests from stEIP4200 (9 ms total)

[----------] 1 test from stEIP4750
[ RUN      ] stEIP4750.CALLF_RETF_Execution
[       OK ] stEIP4750.CALLF_RETF_Execution (2 ms)
[----------] 1 test from stEIP4750 (2 ms total)

[----------] 1 test from stEIP5450
[ RUN      ] stEIP5450.EOF1_CALLF_Execution
[       OK ] stEIP5450.EOF1_CALLF_Execution (1 ms)
[----------] 1 test from stEIP5450 (1 ms total)

[----------] 30 tests from stChangedEIP150
[ RUN      ] stChangedEIP150.Call1024BalanceTooLow
[       OK ] stChangedEIP150.Call1024BalanceTooLow (36 ms)
[ RUN      ] stChangedEIP150.Call1024PreCalls
[       OK ] stChangedEIP150.Call1024PreCalls (59 ms)
[ RUN      ] stChangedEIP150.Callcode1024BalanceTooLow
[       OK ] stChangedEIP150.Callcode1024BalanceTooLow (34 ms)
[ RUN      ] stChangedEIP150.callcall_00_OOGE_1
[       OK ] stChangedEIP150.callcall_00_OOGE_1 (0 ms)
[ RUN      ] stChangedEIP150.callcall_00_OOGE_2
[       OK ] stChangedEIP150.callcall_00_OOGE_2 (0 ms)
[ RUN      ] stChangedEIP150.callcall_00_OOGE_valueTransfer
[       OK ] stChangedEIP150.callcall_00_OOGE_valueTransfer (0 ms)
[ RUN      ] stChangedEIP150.callcallcall_000_OOGMAfter
[       OK ] stChangedEIP150.callcallcall_000_OOGMAfter (0 ms)
[ RUN      ] stChangedEIP150.callcallcallcode_001_OOGMAfter_1
[       OK ] stChangedEIP150.callcallcallcode_001_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcallcallcode_001_OOGMAfter_2
[       OK ] stChangedEIP150.callcallcallcode_001_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcallcallcode_001_OOGMAfter_3
[       OK ] stChangedEIP150.callcallcallcode_001_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.callcallcodecall_010_OOGMAfter_1
[       OK ] stChangedEIP150.callcallcodecall_010_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcallcodecall_010_OOGMAfter_2
[       OK ] stChangedEIP150.callcallcodecall_010_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcallcodecall_010_OOGMAfter_3
[       OK ] stChangedEIP150.callcallcodecall_010_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.callcallcodecallcode_011_OOGMAfter_1
[       OK ] stChangedEIP150.callcallcodecallcode_011_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcallcodecallcode_011_OOGMAfter_2
[       OK ] stChangedEIP150.callcallcodecallcode_011_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcall_100_OOGMAfter_1
[       OK ] stChangedEIP150.callcodecallcall_100_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcall_100_OOGMAfter_2
[       OK ] stChangedEIP150.callcodecallcall_100_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcall_100_OOGMAfter_3
[       OK ] stChangedEIP150.callcodecallcall_100_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_1
[       OK ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_2
[       OK ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_3
[       OK ] stChangedEIP150.callcodecallcallcode_101_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_1
[       OK ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_2
[       OK ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_3
[       OK ] stChangedEIP150.callcodecallcodecall_110_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter
[       OK ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_1
[       OK ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_1 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_2
[       OK ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_2 (0 ms)
[ RUN      ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_3
[       OK ] stChangedEIP150.callcodecallcodecallcode_111_OOGMAfter_3 (0 ms)
[ RUN      ] stChangedEIP150.contractCreationMakeCallThatAskMoreGasThenTransactionProvided
[       OK ] stChangedEIP150.contractCreationMakeCallThatAskMoreGasThenTransactionProvided (0 ms)
[ RUN      ] stChangedEIP150.createInitFail_OOGduringInit
[       OK ] stChangedEIP150.createInitFail_OOGduringInit (0 ms)
[----------] 30 tests from stChangedEIP150 (139 ms total)

@chfast chfast added the EOF label Apr 27, 2023
@chfast chfast requested review from axic, hugo-dc, gumb0 and rodiazet April 27, 2023 14:04
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #625 (6c0520b) into master (6a4a31b) will increase coverage by 0.06%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #625      +/-   ##
==========================================
+ Coverage   97.28%   97.34%   +0.06%     
==========================================
  Files          80       80              
  Lines        7684     7684              
==========================================
+ Hits         7475     7480       +5     
+ Misses        209      204       -5     
Flag Coverage Δ
blockchaintests 65.14% <ø> (ø)
statetests 75.01% <ø> (+11.90%) ⬆️
unittests 94.83% <ø> (ø)

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

Impacted Files Coverage Δ
test/statetest/statetest.cpp 91.11% <ø> (ø)

... and 2 files with indirect coverage changes

@chfast chfast merged commit 91978cf into master Apr 28, 2023
@chfast chfast deleted the eof_state_tests branch April 28, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants