Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resubmit interval (#160) [backport] #162

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Bug Fixes

* [#160](https://github.com/babylonlabs-io/vigilante/pull/160) fix: resubmit interval

## v0.19.1

### Bug Fixes
Expand Down
1 change: 1 addition & 0 deletions submitter/relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (rl *Relayer) MaybeResubmitSecondCheckpointTx(ckpt *ckpttypes.RawCheckpoint

// update the second tx of the last submitted checkpoint as it is replaced
rl.lastSubmittedCheckpoint.Tx2 = resubmittedTx2
rl.lastSubmittedCheckpoint.TS = time.Now()

storedCkpt := store.NewStoredCheckpoint(
rl.lastSubmittedCheckpoint.Tx1.Tx,
Expand Down
Loading