-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat!: remove goerli #199
feat!: remove goerli #199
Conversation
@@ -44,7 +44,7 @@ const orderSigningUtils = new OrderSigningUtils() | |||
### Sign, fetch, post and cancel order | |||
|
|||
For clarity, let's look at the use of the API with a practical example: | |||
Exchanging `0.4 GNO` to `WETH` on `Goerli` network. | |||
Exchanging `0.4 GNO` to `WETH` on `Gnosis chain` network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migrated examples to Gnosis chain for future proofing.
Sepolia will eventually die and we'll have to do this all over again.
It was the same with Rinkeby before Goerli.
@@ -4,7 +4,6 @@ | |||
*/ | |||
export enum SupportedChainId { | |||
MAINNET = 1, | |||
GOERLI = 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the main change
export const ALL_SUPPORTED_CHAIN_IDS: SupportedChainId[] = Object.values(SupportedChainId).filter( | ||
(chainId) => typeof chainId === 'number' | ||
) as SupportedChainId[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dynamically generated so this is one less thing to update when new chains are added/removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
0a0c22e
to
16c2655
Compare
Summary
Remove Goerli from supported networks
Testing