linera-protocol icon indicating copy to clipboard operation
linera-protocol copied to clipboard

Don't fail if faucet chain was opened but old one not closed.

Open afck opened this issue 7 months ago • 0 comments

Motivation

On the testnet, for some reason the faucet failed to close the old chain after migrating to a new one.

Proposal

Make the faucet handle that case on startup: Also migrate if the old chain has no tokens, even if it is not closed.

Test Plan

A new test for all these cases was added.

Release Plan

  • These changes should be ported to the main branch.
  • We should try this on the faucet with the a3edc33d8e951a1139333be8a4b56646b5598a8f51216e86592d881808972b07 chain.

Links

afck avatar Apr 30 '25 15:04 afck