dojo icon indicating copy to clipboard operation
dojo copied to clipboard

Previous Messages Resent to L1 on Katana Restart

Open ybensacq opened this issue 8 months ago • 4 comments

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:

  1. Follow all the steps in the starknet-messaging-dev repo, except start Katana with: katana --messaging anvil.messaging.json --db-dir ./database
  2. Stop katana
  3. Restart katana using katana --messaging anvil.messaging.json --db-dir ./database (wait for a few seconds)
  4. 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.

ybensacq avatar Jun 09 '24 15:06 ybensacq