diff --git a/.changeset/angry-buses-dress.md b/.changeset/angry-buses-dress.md new file mode 100644 index 0000000000..ac7b4e2238 --- /dev/null +++ b/.changeset/angry-buses-dress.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/cli": minor +--- + +Added an `--rpcBatch` option to `mud deploy` command to batch RPC calls for rate limited RPCs. diff --git a/docs/pages/cli/deploy.mdx b/docs/pages/cli/deploy.mdx index 568bc921dd..083c64b80d 100644 --- a/docs/pages/cli/deploy.mdx +++ b/docs/pages/cli/deploy.mdx @@ -43,6 +43,7 @@ These are the command line options you can specify on `mud deploy`: | `--saveDeployment | Save the deployment info to a file | boolean | `true` | | `--profile` | The foundry profile to use | string | `local` | | `--rpc`1 | The RPC URL to use | string | RPC url from `foundry.toml` | +| `--rpcBatch` | Enable batch processing of RPC requests | boolean | `false` | | `--worldAddress` | Deploy to an existing World at the given address | string | Empty, deploy new `World` | | `--srcDir` | Source directory | string | Foundry `src` directory | | `--skipBuild` | Skip rebuilding the contracts before deploying | boolean | `false` | diff --git a/packages/cli/src/commands/dev-contracts.ts b/packages/cli/src/commands/dev-contracts.ts index 23b7b1d03c..61b6b75431 100644 --- a/packages/cli/src/commands/dev-contracts.ts +++ b/packages/cli/src/commands/dev-contracts.ts @@ -83,6 +83,7 @@ const commandModule: CommandModule