-
Notifications
You must be signed in to change notification settings - Fork 0
Use static RollupConfig #23
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
Conversation
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
server/src/main.rs
Outdated
| chain_id | ||
| ); | ||
| let l2_config = l2_client.rollup_config().await?; | ||
| let l1_chain_config = config.l1_chain_config.as_ref().unwrap(); |
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.
Any reason why this part uses unwrap while other parts handle errors properly?
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.
No. Fixed by 6d32380
883984c to
29c54ae
Compare
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
29c54ae to
6d32380
Compare
siburu
left a comment
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.
@yoshidan LGTM, thank you!
server/Cargo.toml
Outdated
|
|
||
| # optimism derivation | ||
| optimism-derivation = { git = "https://github.com/datachainlab/optimism-elc", rev = "v0.1.6", default-features = false } | ||
| optimism-derivation = { git = "https://github.com/datachainlab/optimism-elc", rev = "44d4019cd3fa354eb5a5915a4a2d094f9888404f", default-features = false } |
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.
This rev will be replaced with the tag that will be created after this PR is merged, right?
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.
Fixed by 41b1997
Kona has RollupConfig for mainnet and sepolia.
We use RollupConfig from op-node for fallback.