0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
100 stars 56 forks source link

Update support of dump events. #542

Open mikiw opened 1 week ago

mikiw commented 1 week ago

Currently, the aborting of the block is not supported in the dump/load scenario. This needs to be fixed by adding a new event type with a corresponding implementation.

After block abortion and dump and load user should also query the aborted block by hash (a new test needs to be added).

mikiw commented 4 days ago

TODO: check if only these 2 events are not implemented for dump/load.

mikiw commented 4 days ago

Also handle restart action

mikiw commented 4 days ago

Also implement devnet_impersonateAccount and devnet_stopImpersonateAccount event

mikiw commented 4 days ago

Add support of AbortBlock, GasUpdate actions

mikiw commented 4 days ago

maybe implement it as a macro like #[log_devnet_event]