Skip to content

Commit

Permalink
fix: new message and renaming command (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloknerurkar authored Nov 7, 2024
1 parent 419e63f commit 411470c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/standard/cmd/user_cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ var (

func main() {
app := &cli.App{
Name: "bridge-cli",
Name: "mev-commit-bridge-user-cli",
Usage: "CLI for interacting with a custom bridge between L1 and the mev-commit (settlement) chain",
Commands: []*cli.Command{
{
Expand Down
4 changes: 4 additions & 0 deletions bridge/standard/pkg/transfer/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ func (t *Transfer) Do(ctx context.Context) <-chan TransferStatus {
Message: fmt.Sprintf("Transaction mined in block %d with index %s", receipt.BlockNumber, transferIdx),
}

statusChan <- TransferStatus{
Message: "Waiting for transfer to be finalized...",
}

switch err := t.destFilterer.WaitForTransferFinalized(ctx, t.destInitialBlock, transferIdx); {
case err == nil:
statusChan <- TransferStatus{Message: "Transfer finalized. Bridging complete."}
Expand Down

0 comments on commit 411470c

Please sign in to comment.