diff --git a/.changeset/great-brooms-knock.md b/.changeset/great-brooms-knock.md new file mode 100644 index 0000000000..309ea993f3 --- /dev/null +++ b/.changeset/great-brooms-knock.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/cli": patch +--- + +`mud verify` now defaults to blockscout if no `--verifier` is provided. diff --git a/docs/pages/cli/verify.mdx b/docs/pages/cli/verify.mdx index 220b5fd9aa..bd4769a78b 100644 --- a/docs/pages/cli/verify.mdx +++ b/docs/pages/cli/verify.mdx @@ -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 | | diff --git a/packages/cli/src/commands/verify.ts b/packages/cli/src/commands/verify.ts index 6dc1478cb3..3f46ea5989 100644 --- a/packages/cli/src/commands/verify.ts +++ b/packages/cli/src/commands/verify.ts @@ -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.",