ref-fvm
ref-fvm copied to clipboard
FEVM | Eth Compliance Test | 57-stZeroKnowledge2 | use-case Failures
Following use-cases are failed.
- Hit with error
EVM_CONTRACT_BAD_JUMPDEST(ExitCode::39), All the test cases are failed withPrecompile failed: error EcErr(InvalidEncoding). Have to confirm is testsuite is valid for fevm context ?.
| Test ID | Use-Case |
|---|---|
| TID-57-001 | ecadd_0-0_0-0_21000_0 |
| TID-57-004 | ecadd_0-0_0-0_21000_128 |
| TID-57-005 | ecadd_0-0_0-0_21000_192 |
| TID-57-002 | ecadd_0-0_0-0_21000_64 |
| TID-57-003 | ecadd_0-0_0-0_21000_80 |
| TID-57-006 | ecadd_0-0_0-0_25000_0 |
| TID-57-009 | ecadd_0-0_0-0_25000_128 |
| TID-57-010 | ecadd_0-0_0-0_25000_192 |
| TID-57-007 | ecadd_0-0_0-0_25000_64 |
| TID-57-008 | ecadd_0-0_0-0_25000_80 |
| TID-57-015 | ecadd_0-0_1-3_21000_128 |
| TID-57-016 | ecadd_0-0_1-3_25000_128 |
| TID-57-017 | ecadd_0-3_1-2_21000_128 |
| TID-57-018 | ecadd_0-3_1-2_25000_128 |
Rerun the test vector with most recent code, and everything fails with OutOfGas (exit code 7).
Which I would say is unsurprising given that the messages are applied with the gas limit from the txn -- that is eth gas, of course it will run out of gas!
I changed the gas allotment to use the full block unconditionally in the code.
Still fails, but with a different error from the precompile:
[WARN] Precompile failed: error EcErr(NotMember)
I think we should look at this more closely, bug possibility.