dojo
dojo copied to clipboard
Previous Messages Resent to L1 on Katana Restart
Describe the bug
When running Katana with the command
katana --messaging anvil.messaging.json --db-dir ./database
previously sent messages to L2 are resent to L1 upon restarting Katana.
To Reproduce Steps to reproduce the behavior:
- Follow all the steps in the starknet-messaging-dev repo, except start Katana with:
katana --messaging anvil.messaging.json --db-dir ./database
- Stop katana
- Restart katana using
katana --messaging anvil.messaging.json --db-dir ./database
(wait for a few seconds) - Observe that previously sent messages are resent to L1.
Expected behavior Messages should not be resent to L1 upon restarting Katana; the state should persist correctly between restarts.