Skip to content

feat(cli): add bridge cmd to submit withdrawal events#1263

Merged
SuperFluffy merged 2 commits intosuperfluffy/bridge-sub-cmdfrom
superfluffy/cli-bridge-submit
Jul 13, 2024
Merged

feat(cli): add bridge cmd to submit withdrawal events#1263
SuperFluffy merged 2 commits intosuperfluffy/bridge-sub-cmdfrom
superfluffy/cli-bridge-submit

Conversation

@SuperFluffy
Copy link
Contributor

Summary

Adds a subcommand to submit previously collected withdrawal events.

Background

#1261 provides a subcommand to listen to and collect withdrawal events that come form a rollup's astria contracts. This patch now provides the ability to also submit the events.

Changes

  • Added a bridge submit-withdrawals subcommand to astria-cli
  • Renamed bridge collect-withdrawal-events to bridge collect-withdrawals
  • Adjusted the object written and read to be a json object rollup_height -> [actions].

Testing

TBD

@SuperFluffy SuperFluffy marked this pull request as ready for review July 11, 2024 11:37
@SuperFluffy SuperFluffy requested a review from a team as a code owner July 11, 2024 11:37
@SuperFluffy SuperFluffy requested a review from Fraser999 July 11, 2024 11:37
@SuperFluffy SuperFluffy force-pushed the superfluffy/cli-bridge-submit branch from 042008c to c53a6ee Compare July 12, 2024 14:10
@SuperFluffy SuperFluffy force-pushed the superfluffy/bridge-sub-cmd branch from 9749227 to 8333ecf Compare July 13, 2024 09:33
@SuperFluffy SuperFluffy force-pushed the superfluffy/cli-bridge-submit branch from c53a6ee to c57c68a Compare July 13, 2024 09:34
@SuperFluffy SuperFluffy merged commit 2e654d4 into superfluffy/bridge-sub-cmd Jul 13, 2024
@SuperFluffy SuperFluffy deleted the superfluffy/cli-bridge-submit branch July 13, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants