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

improve: add testnet entries #12

Merged
merged 5 commits into from
Feb 7, 2024
Merged

Conversation

james-a-morris
Copy link
Contributor

No description provided.

src/constants.ts Outdated
@@ -14,6 +14,7 @@ export const CHAIN_IDs = {
OPTIMISM_GOERLI: 420,
ZK_SYNC_GOERLI: 280,
BASE_GOERLI: 84531,
BASE_SEPOLIA: 111551111,
Copy link
Contributor

@pxrl pxrl Feb 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooc, have you tested this? 84532 is the chain ID reported by multiple sources. For example: https://docs.base.org/network-information/#base-testnet-sepolia.

fwiw I've also raised a PR on top of this one to add some extra chainIds, but it's nice to inherit the token definitions from this one: #13.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! I've pushed the most recent local changes now.

pxrl and others added 2 commits February 6, 2024 20:29
Also some slight re-ordering so that the prod networks are always first,
and then that ordering is repeated for each subsequent testnet. Testnets
are always grouped.
@james-a-morris james-a-morris merged commit f488d38 into master Feb 7, 2024
@james-a-morris james-a-morris deleted the james/add-testnet-constants branch February 7, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants