-
Notifications
You must be signed in to change notification settings - Fork 391
fix: update explorer URL printed after proof submission #1989
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
MauroToscano
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.
A follow up making the Network a reference would be nice, to avoid all this cloning. Maybe wallet can be a reference too
| let base_url = match submit_args.network.clone().into() { | ||
| // Note: in case the explorer address changes for other networks, we should add an arm to this | ||
| // match with that network since the default URL used here is the mainnet one | ||
| Network::Holesky => "https://holesky.explorer.alignedlayer.com/batches/0x", |
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.
There is missing to add the other networks
- Stage
- Mainnet
- MainnetStage
- Devnet
Generally we use devnet as default
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.
Done in c5b2f65
Description
This PR updates the explorer URL printed after a proof submission. Also left a comment explaining that the default URL used is the one for mainnet, and in case the explorer's URL changes for another network, it should change here too.
Type of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging