-
Notifications
You must be signed in to change notification settings - Fork 86
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
[types] Add chain_id and max_gas_amount to Transaction #681
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
cc @feliciss and @yubing744 |
pub enum ChainID { | ||
Dev = 20230103, | ||
Test = 20230102, | ||
Main = 20230101, |
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.
Or directly represent by 1,2,3, it will be easier.
Dev = 3,
Test = 2,
Main = 1
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.
Rooch's ChainID must not conflict with Ethereum or Ethereum fork chain id.
I merge this PR first. @steelgeek091 please help to resolve the conflict with #684 |
Summary
resolve #680