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(cli): blockscout is default verifier #2775

Merged
merged 4 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/great-brooms-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/cli": patch
---

`mud verify` now defaults to blockscout if no `--verifier` is provided.
2 changes: 1 addition & 1 deletion docs/pages/cli/verify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Otherwise, the generated bytecode is different and therefore verification fails.
| ---------------- | ------------------------------------------------------ | ------- | ---------------------------- |
| `--worldAddress` | Verify the contracts of the World at the given address | string | none, error if unspecified |
| `--configPath` | Path to the config file | string | `mud.config.ts` |
| `--verifier` | The verifier to use (`sourcify`, or `blockscout`) | string | `sourcify` |
| `--verifier` | The verifier to use (`sourcify`, or `blockscout`) | string | `blockscout` |
| `--verifierUrl` | URL to use to access the verifier's API | string | depends on the verifier used |
| `--profile` | The foundry profile to use | string | `local` |
| `--rpc` | URL to the blockchain | string | |
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const verifyOptions = {
desc: "Enable batch processing of RPC requests in viem client (defaults to batch size of 100 and wait of 1s)",
},
srcDir: { type: "string", desc: "Source directory. Defaults to foundry src directory." },
verifier: { type: "string", desc: "The verifier to use. Default to sourcify", default: "sourcify" },
verifier: { type: "string", desc: "The verifier to use. Defaults to blockscout", default: "blockscout" },
verifierUrl: {
type: "string",
desc: "The verification provider.",
Expand Down
Loading