-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update wd-mon to work for OptimismPortal2
- Loading branch information
1 parent
88586b7
commit f90cc64
Showing
6 changed files
with
177 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/common-ts': patch | ||
--- | ||
|
||
Adds a new validator for address types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/chain-mon': minor | ||
--- | ||
|
||
Updates wd-mon inside chain-mon to support FPAC. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { L2ChainID } from '@eth-optimism/sdk' | ||
|
||
/** | ||
* Mapping of L2ChainIDs to the L1 block numbers where the wd-mon service should start looking for | ||
* withdrawals by default. L1 block numbers here are based on the block number in which the | ||
* OptimismPortal proxy contract was deployed to L1. | ||
*/ | ||
export const DEFAULT_STARTING_BLOCK_NUMBERS: { | ||
[ChainID in L2ChainID]?: number | ||
} = { | ||
[L2ChainID.OPTIMISM]: 17365802 as const, | ||
[L2ChainID.OPTIMISM_GOERLI]: 0 as const, | ||
[L2ChainID.OPTIMISM_SEPOLIA]: 4071248 as const, | ||
[L2ChainID.BASE_MAINNET]: 0 as const, | ||
[L2ChainID.BASE_GOERLI]: 0 as const, | ||
[L2ChainID.BASE_SEPOLIA]: 0 as const, | ||
[L2ChainID.ZORA_MAINNET]: 0 as const, | ||
[L2ChainID.ZORA_GOERLI]: 0 as const, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.