-
Notifications
You must be signed in to change notification settings - Fork 182
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: Add block_explorer field to ShowConfigResponse #2750
base: master
Are you sure you want to change the base?
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.
Thank you for your contribution @mexes20
Please extend the existing show-config tests to cover both default and non-default block-explorer
cases.
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.
Could you also include logic to not display url when show_explorer_links
is set to false
?
@@ -128,3 +128,40 @@ async fn test_show_config_no_url() { | |||
wait_timeout: 500 | |||
"}); | |||
} | |||
|
|||
#[tokio::test] | |||
async fn test_show_config_default_block_explorer() { |
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 check can be added in the test_show_config_from_snfoundry_toml
instead of creating a separate test
chain_id: alpha-sepolia | ||
profile: profile5 | ||
rpc_url: {} | ||
block_explorer: blockscout |
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 blok explorer is not supported, please add the custom check for Voyager
Closes #2711
Introduced changes
Checklist
CHANGELOG.md