a16z / helios

A fast, secure, and portable light client for Ethereum
MIT License
1.81k stars 274 forks source link

error: unsafe precondition(s) violated when running example/call #337

Closed VPashkov closed 2 months ago

VPashkov commented 3 months ago

When I'm running call.rs example, I'm getting the following error: unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice. To reproduce it simply clone the repo and run: cargo run --package helios --example call. The coolprit seems to be already fixed in bluealloy/revm#837. Simply bumping revm revision to 50726f3e1b2f7b4d50f6755ed30a1ae3108583bf seems to fix this issue.