Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ecrecover index error #357
When syncing Nimbus there was a segfault occuring (release mode) at block number 1352922.
The problem was invalid access to
The reason as to why this happens at block 1352922, is because it is the first TX to 0x0...01 (ecrecover precompile) with empty input data, see:
The first commit fixes this. The second commit is a rework of the code in hope to make it more clear + do certain actions in a more reasonable order.
Additionally, this bug would only be noticed in
I did run the general state tests, and have same results, skipping the 2 known failed and slow tests (slow tests seem to not give reliable results, with or without this change)