Skip to content

Commit

Permalink
removing fixed block number from test
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaele-oplabs committed Oct 1, 2024
1 parent fdf26a7 commit 9a97a8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion op-monitorism/faultproof_withdrawals/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,18 @@ func NewTestMonitor() *Monitor {
if err != nil {
panic(err)
}
StartingL1BlockHeightStr := os.Getenv("FAULTPROOF_WITHDRAWAL_MON_START_BLOCK_HEIGHT")
StartingL1BlockHeight, err := strconv.ParseInt(StartingL1BlockHeightStr, 10, 64)
if err != nil {
panic(err)
}

cfg := CLIConfig{
L1GethURL: L1GethURL,
L2OpGethURL: L2OpGethURL,
L2OpNodeURL: L2OpNodeURL,
EventBlockRange: EventBlockRange,
StartingL1BlockHeight: 6789100,
StartingL1BlockHeight: StartingL1BlockHeight,
OptimismPortalAddress: common.HexToAddress(os.Getenv("FAULTPROOF_WITHDRAWAL_MON_OPTIMISM_PORTAL")),
}

Expand Down

0 comments on commit 9a97a8e

Please sign in to comment.