Skip to content
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(scan): allow providing runtime name and version as params, support mainnet and testnet preset #247

Merged

Conversation

grisha87
Copy link
Contributor

@grisha87 grisha87 commented Sep 4, 2024

Why?

So that users can do queries such as these:

golem-sdk market scan -k ec90...20e3 --runtime-name vm --runtime-version 0.3.0 --testnet

Changes

Added

  • --runtime-name option to align naming in the SDK and CLI
  • --runtime-version option to allow more fine grained scans
  • --testnet option which is a shorthand for setting other options accordingly for testnet scan
  • --mainnet option which is a shorthand for setting othe options accordingly for mainnet scan

Deprecated

--engine is now deprecated in favour of --runtime-name

@grisha87 grisha87 requested a review from mgordel September 4, 2024 16:25
@grisha87 grisha87 requested a review from a team as a code owner September 4, 2024 16:25
@mgordel mgordel merged commit b550f39 into master Sep 5, 2024
6 checks passed
@mgordel mgordel deleted the feature/mainnet-testnet-switch-and-runtime-params-for-scan branch September 5, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants