-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add aliases for Base, BaseSepolia and BaseGoerli #32
Conversation
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.
Thanks!
Wait, the JSON file has not updated, are you sure this does anything? It looks to me that the aliases are the exact same as the default serialization done by Serde (snake_case) and Strum (kebab-case). |
Shouldn't this set the aliases so they can be used direcly in the
|
Yes, but those are the default values which are already valid, see: Lines 471 to 473 in 534bb02
|
Indeed, when verifying a contract and passing the chain as |
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.
@DaniPopes I've added more serde kebab cases aliases
and tests
a529334
to
61a81f3
Compare
61a81f3
to
c032e2e
Compare
@mattsse Shouldn't all aliases also have a snake case format? |
this is the default for serde |
Motivation
There are no aliases set for Base Mainnet, Base Sepolia and Base Goerli.
Solution
Add aliases for
Base
,BaseGoerli
andBaseSepolia
and related tests.