Skip to content

Commit

Permalink
feat: load skipped suites from yaml file (#268)
Browse files Browse the repository at this point in the history
* feat: load skipped suites from yaml file

* feat: load skipped suites from yaml file

* Merge main branch

* Update blockchain-tests-skip.yml

Merge main branch
  • Loading branch information
khaeljy authored Sep 26, 2023
1 parent 154f812 commit d932c3e
Show file tree
Hide file tree
Showing 5 changed files with 211 additions and 188 deletions.
21 changes: 21 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ zip = "0.6.6"
# Serde
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9.25"

[patch."https://github.com/starkware-libs/blockifier"]
blockifier = { git = "https://github.com/dojoengine/blockifier", rev = "c794d1b" }
Expand Down
166 changes: 166 additions & 0 deletions blockchain-tests-skip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
# List of file names to be skipped
filename:
- calldatacopy.json # ef-tests #20
- sha3.json # ef-tests #19
- exp.json # kakarot #700
- expPower2.json # kakarot #700
- expPower256.json # kakarot #700
- expPower256Of256.json # kakarot #700
- twoOps.json # kakarot #700
- addmod.json # kakarot #695
- mulmod.json # kakarot #695
- divByZero.json # kakarot #695
- jumpi.json # kakarot #693
- jump.json # ef-tests #38
- jumpToPush.json # ef-tests #61
- signextend.json # kakarot #677
- mload.json # ef-tests #31
- gas.json # ef-tests #36
- loopExp.json # ef-tests #39
- loopMul.json # ef-tests #39
- performanceTester.json # ef-tests #39
- suicide.json # ef-tests #57
- blockInfo.json # ef-tests #67
- envInfo.json # ef-tests #63
- memCopySelf.json # ef-tests #52
- bufferSrcOffset.json # ef-tests #51
- buffer.json # ef-tests #50
- oog.json # ef-tests #49
- sloadGasCost.json # ef-tests #78
- TransactionCreateStopInInitcode.json # ef-tests #108
- CallRecursiveContract.json # ef-tests #109
- CallContractToCreateContractWhichWouldCreateContractInInitCode.json # ef-tests #110
- CallContractToCreateContractOOGBonusGas.json # ef-tests #111
- OutOfGasPrefundedContractCreation.json # ef-test #112
- CallContractToCreateContractWhichWouldCreateContractIfCalled.json # ef-test #114
- CallTheContractToCreateEmptyContract.json # ef-test #115
- OutOfGasContractCreation.json # ef-test #116
- CallContractToCreateContractAndCallItOOG.json # ef-test #117
- TestContractSuicide.json # ef-test #132
- TestCryptographicFunctions.json # ef-test #133
- RecursiveCreateContracts.json # ef-test #134
- ByZero.json #ef-test #135
- ContractInheritance.json # ef-test #136
- CallLowLevelCreatesSolidity.json # ef-test #137
- CreateContractFromMethod.json # ef-test #138
- TestStoreGasPrices.json # ef-test #139
- TestContractInteraction.json # ef-test #140
- RecursiveCreateContractsCreate4Contracts.json # ef-test #141
- undefinedOpcodeFirstByte.json # ef-tests #121
- measureGas.json # ef-tests #122
- badOpcodes.json # ef-tests #123
- operationDiffGas.json # ef-tests #124
- invalidDiffPlaces.json # ef-tests #125
- invalidAddr.json # ef-tests #126
- CallContractToCreateContractNoCash.json # ef-tests #269
- push0.json # ef-tests #149
- push0Gas.json # ef-tests #150
- coinbaseWarmAccountCallGas.json # ef-tests #153
- coinbaseWarmAccountCallGasFail.json # ef-tests #154
- create2InitCodeSizeLimit.json # ef-tests #155
- createInitCodeSizeLimit.json # ef-tests #156
- creationTxInitCodeSizeLimit.json # ef-tests #157
- codesizeInit.json # ef-tests #262
- codesizeValid.json # ef-tests #263
- create2CodeSizeLimit.json # ef-tests #264
- createCodeSizeLimit.json # ef-tests #265
- Call1024BalanceTooLow.json # ef-tests #161
- Call1024OOG.json # ef-tests #162
- Call1024PreCalls.json # ef-tests #163
- CallcodeLoseGasOOG.json # ef-tests #164
- callcodeOutput3.json # ef-tests #165
- CallLoseGasOOG.json # ef-tests #166
- callOutput3.json # ef-tests #167
- callOutput3partial.json # ef-tests #168
- callOutput3partialFail.json # ef-tests #169
- CallRecursiveBombPreCall.json # ef-tests #170
- deleagateCallAfterValueTransfer.json # ef-tests #171
- Delegatecall1024.json # ef-tests #172
- Delegatecall1024OOG.json # ef-tests #173
- delegatecallEmptycontract.json # ef-tests #174
- delegatecallInInitcodeToEmptyContract.json # ef-tests #175
- delegatecallInInitcodeToExistingContract.json # ef-tests #176
- delegatecallInInitcodeToExistingContractOOG.json # ef-tests #177
- delegatecallOOGinCall.json # ef-tests #178
- delegatecallSenderCheck.json # ef-tests #179
- delegatecallValueCheck.json # ef-tests #180
- delegatecodeDynamicCode.json # ef-tests #181
- delegatecodeDynamicCode2SelfCall.json # ef-tests #182
- callcallcallcode_001.json # ef-tests #183
- callcallcallcode_001_OOGE.json # ef-tests #184
- callcallcallcode_001_OOGMAfter.json # ef-tests #185
- callcallcallcode_001_OOGMBefore.json # ef-tests #186
- callcallcallcode_ABCB_RECURSIVE.json # ef-tests #187
- callcallcodecallcode_011.json # ef-tests #188
- callcallcodecallcode_011_OOGE.json # ef-tests #189
- callcallcodecallcode_011_OOGMAfter.json # ef-tests #190
- callcallcodecallcode_011_OOGMBefore.json # ef-tests #191
- callcallcodecallcode_ABCB_RECURSIVE.json # ef-tests #192
- callcallcodecall_010.json # ef-tests #193
- callcallcodecall_010_OOGE.json # ef-tests #194
- callcallcodecall_010_OOGMAfter.json # ef-tests #195
- callcallcodecall_010_OOGMBefore.json # ef-tests #196
- callcallcodecall_ABCB_RECURSIVE.json # ef-tests #197
- callcallcode_01.json # ef-tests #198
- callcallcode_01_OOGE.json # ef-tests #199
- callcodecallcallcode_101.json # ef-tests #200
- callcodecallcallcode_101_OOGE.json # ef-tests #201
- callcodecallcallcode_101_OOGMAfter.json # ef-tests #202
- callcodecallcallcode_101_OOGMBefore.json # ef-tests #203
- callcodecallcallcode_ABCB_RECURSIVE.json # ef-tests #204
- callcodecallcall_100.json # ef-tests #205
- callcodecallcall_100_OOGE.json # ef-tests #206
- callcodecallcall_100_OOGMAfter.json # ef-tests #207
- callcodecallcall_100_OOGMBefore.json # ef-tests #208
- callcodecallcall_ABCB_RECURSIVE.json # ef-tests #209
- callcodecallcodecallcode_111.json # ef-tests #210
- callcodecallcodecallcode_111_OOGE.json # ef-tests #211
- callcodecallcodecallcode_111_OOGMAfter.json # ef-tests #212
- callcodecallcodecallcode_111_OOGMBefore.json # ef-tests #213
- callcodecallcodecallcode_111_SuicideEnd.json # ef-tests #214
- callcodecallcodecallcode_ABCB_RECURSIVE.json # ef-tests #215
- callcodecallcodecall_110.json # ef-tests #216
- callcodecallcodecall_110_OOGE.json # ef-tests #217
- callcodecallcodecall_110_OOGMAfter.json # ef-tests #218
- callcodecallcodecall_110_OOGMBefore.json # ef-tests #219
- callcodecallcodecall_ABCB_RECURSIVE.json # ef-tests #220
- callcodecallcode_11.json # ef-tests #221
- callcodecallcode_11_OOGE.json # ef-tests #222
- callcodecall_10.json # ef-tests #223
- callcodecall_10_OOGE.json # ef-tests #224
- callcallcallcode_001_SuicideEnd.json # ef-tests #225
- callcallcallcode_001_SuicideMiddle.json # ef-tests #226
- callcallcodecallcode_011_SuicideEnd.json # ef-tests #227
- callcallcodecallcode_011_SuicideMiddle.json # ef-tests #228
- callcallcodecall_010_SuicideEnd.json # ef-tests #229
- callcallcodecall_010_SuicideMiddle.json # ef-tests #230
- callcallcode_01_SuicideEnd.json # ef-tests #231
- callcodecallcallcode_101_SuicideEnd.json # ef-tests #232
- callcodecallcallcode_101_SuicideMiddle.json # ef-tests #233
- callcodecallcall_100_SuicideEnd.json # ef-tests #234
- callcodecallcall_100_SuicideMiddle.json # ef-tests #235
- callcodecallcodecall_110_SuicideEnd.json # ef-tests #236
- callcodecall_10_SuicideEnd.json # ef-tests #237
- callcallcall_000.json # ef-tests #238
- callcallcall_000_OOGE.json # ef-tests #239
- callcallcall_000_OOGMAfter.json # ef-tests #240
- callcallcall_000_OOGMBefore.json # ef-tests #241
- callcallcall_000_SuicideEnd.json # ef-tests #242
- callcallcall_000_SuicideMiddle.json # ef-tests #243
- callcallcall_ABCB_RECURSIVE.json # ef-tests #244
- callcall_00.json # ef-tests #245
- callcall_00_OOGE.json # ef-tests #246
- callcall_00_OOGE_valueTransfer.json # ef-tests #247
- callcall_00_SuicideEnd.json # ef-tests #248
- callcodeDynamicCode.json # ef-tests #249
- callcodeEmptycontract.json # ef-tests #250
- callcodeInInitcodeToEmptyContract.json # ef-tests #251
- callcodeInInitcodeToExisContractWithVTransferNEMoney.json # ef-tests #252
- callcodeInInitcodeToExistingContract.json # ef-tests #253
- callcodeInInitcodeToExistingContractWithValueTransfer.json # ef-tests #254
- callcode_checkPC.json # ef-tests #255
- callcodeDynamicCode2SelfCall.json # ef-tests #256

# List of file names regex to be skipped
regex:
- ^opc.*\.json$ # ef-test #120
2 changes: 2 additions & 0 deletions crates/ef-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ ctor = { workspace = true }
chrono = { workspace = true, optional = true }
dotenv = { workspace = true, optional = true }
eyre = { workspace = true }
lazy_static = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true, optional = true }
rstest = { workspace = true }
Expand Down
Loading

0 comments on commit d932c3e

Please sign in to comment.