Skip to content

Commit

Permalink
fix/runL1InfoTreeSyncerIfNeeded (#51)
Browse files Browse the repository at this point in the history
* fix/runL1InfoTreeSyncerIfNeeded

* increase TO to pass UTs
  • Loading branch information
arnaubennassar authored Aug 22, 2024
1 parent 3574e13 commit 63be2a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aggoracle/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func runTest(
_, err := gerL1Contract.UpdateExitRoot(authL1, common.HexToHash(strconv.Itoa(i)))
require.NoError(t, err)
l1Client.Commit()
time.Sleep(time.Millisecond * 50)
time.Sleep(time.Millisecond * 150)
expectedGER, err := gerL1Contract.GetLastGlobalExitRoot(&bind.CallOpts{Pending: false})
require.NoError(t, err)
isInjected, err := sender.IsGERAlreadyInjected(expectedGER)
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ func runL1InfoTreeSyncerIfNeeded(
l1Client *ethclient.Client,
reorgDetector *reorgdetector.ReorgDetector,
) *l1infotreesync.L1InfoTreeSync {
if !isNeeded([]string{AGGORACLE, RPC}, components) {
if !isNeeded([]string{AGGORACLE, RPC, SEQUENCE_SENDER}, components) {
return nil
}
l1InfoTreeSync, err := l1infotreesync.New(
Expand Down

0 comments on commit 63be2a4

Please sign in to comment.