Open cpb8010 opened 2 hours ago
This comes from ValidationTracer -and this isn't run in era_test_node
: https://github.com/matter-labs/era-test-node/blob/ceee937055a5a373e27b0ff9bf2e42391de78c59/src/node/in_memory.rs#L1353
But also, implementing this tracer as-is would break console.log
(just FYI to whomever fixes this)
🐛 Bug Report for zkSync Era In-Memory Node
📝 Description
When attempting to access storage slots belonging to another address, era-test-node is less restrictive than eraVM. https://docs.zksync.io/build/developer-reference/account-abstraction/extending-4337#extending-the-set-of-slots-that-belong-to-a-user
🔄 Reproduction Steps
🤔 Expected Behavior
The documented behavior requires that storage slot access only come from storage slots with solidity like mappings to account addresses.
😯 Current Behavior
era-test-node doesn't look like it performs any validation
🖥️ Environment
📋 Additional Context
We're also looking at making eraVM less restrictive, but not as permissive as era-test-node here: https://github.com/matter-labs/zksync-era/pull/3166
📎 Log Output