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

bug: failing blockInfo tests #67

Closed
Tracked by #28
greged93 opened this issue Sep 4, 2023 · 0 comments
Closed
Tracked by #28

bug: failing blockInfo tests #67

greged93 opened this issue Sep 4, 2023 · 0 comments
Labels
evm bug Something related to normal EVM execution isn't working

Comments

@greged93
Copy link
Contributor

greged93 commented Sep 4, 2023

Bug Report

Kakarot version: ee6458a

Current behavior:
Test blockInfo from the VMTests suite fails for all tests, given that we currently hardcode most of the expected returned values (e.g. coinbase).

We could however have a few of them passing, such as block number but would need to update the runner in order to force Katana to jump to the correct block number and set the correct timestamp (and would need to do this for each test).

Expected behavior:
Post state should exist and test should pass using the post state.

Steps to reproduce:

make setup
make fetch-dump
make target=blockInfo ef-test

Failing output should be:

[!] Case /Users/greg/code/rust/ef-tests/crates/ef-testing/ethereum-tests/BlockchainTests/GeneralStateTests/VMTests/vmTests/blockInfo.json failed:
blockInfo_d0g0v0_Shanghai expected storage value 0x000000000000000000000000000000005018aa1fe0e6bc666dac8fc2697ff9ba for 0x0000000000000000000000000000000000000100, got 0x00000000000000000000000000000000acdffe0cf08e20ed8ba10ea97a487004
@greged93 greged93 added the evm bug Something related to normal EVM execution isn't working label Sep 4, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Sep 4, 2023
@github-project-automation github-project-automation bot moved this from 🆕 Backlog to ✅ Done in Kakarot on Starknet Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evm bug Something related to normal EVM execution isn't working
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants