Skip to content

Commit fe7833b

Browse files
fix(taiko-client): a Pacaya height that the mainnet won't reach temporarily (#19299)
Co-authored-by: David <[email protected]>
1 parent 4913c1e commit fe7833b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taiko-client/pkg/rpc/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020
defaultTimeout = 1 * time.Minute
2121
pacayaForkHeightDevnet = 10
2222
pacayaForkHeightHekla = 1_299_888
23-
pacayaForkHeklaMainnet = 0
23+
pacayaForkHeightMainnet = 999_999_999_999
2424
pacayaForkHeightPreconfDevnet = 0
2525
)
2626

@@ -342,7 +342,7 @@ func (c *Client) initForkHeightConfigs(ctx context.Context) error {
342342
case params.HeklaNetworkID.Uint64():
343343
c.PacayaClients.ForkHeight = pacayaForkHeightHekla
344344
case params.TaikoMainnetNetworkID.Uint64():
345-
c.PacayaClients.ForkHeight = pacayaForkHeklaMainnet
345+
c.PacayaClients.ForkHeight = pacayaForkHeightMainnet
346346
case params.PreconfDevnetNetworkID.Uint64():
347347
c.PacayaClients.ForkHeight = pacayaForkHeightPreconfDevnet
348348
default:

0 commit comments

Comments
 (0)