You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for the test, add in test_memory_operations.cairo 2 cases for sstore: one with original_value == current_value and one with original_value != current_value
The text was updated successfully, but these errors were encountered:
ClementWalter
changed the title
fix: use parent.state whene kakarot fetches from starknet
fix: use parent.state when kakarot fetches from starknet
Sep 18, 2024
ClementWalter
changed the title
fix: use parent.state when kakarot fetches from starknet
feat: access initial state in the middle of a transaction
Nov 28, 2024
Why
In the kakarot implementation, we use Starknet contract storage as the backend for data and fetch data on the fly when required.
What
apply_transactions
apply_transactions
andInterpreter.execute
Message
struct theinitial_state
apply_transactions
, finalize the initial_stateexec_sstore
instead ofAccount.fetch_original_storage
:Account.fetch_original_storage
test_memory_operations.cairo
2 cases for sstore: one withoriginal_value == current_value
and one withoriginal_value != current_value
The text was updated successfully, but these errors were encountered: