Skip to content

Commit c94ff1d

Browse files
committed
Dev tools: launchpad updates
1 parent 722937a commit c94ff1d

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

docs/tools/dApp-development/launchpad/commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The `dev` command starts
3737

3838
| Option | Description |
3939
|--------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
40-
| -n, --fork-network-name [NAME] | Name of the network to fork; optional. By default, it starts a new chain from genesis block. (choices: "ethereum", "goerli", "polygonPos", "polygonMumbai", "polygonZkevm", "polygonZkevmTestnet") |
40+
| -n, --fork-network-name [NAME] | Name of the network to fork; optional. By default, it starts a new chain from genesis block. (choices: "ethereum", "goerli", "polygonPos", "polygonAmoy", "polygonZkevm", "polygonZkevmTestnet") |
4141
| -b, --fork-block-num [number] | Block number to fork at. By default, it's the latest block. |
4242
| -r, --reset-on-change | Resets the entire local blockchain when any code is changed; for forked mode, it resets back to forked block number; NOT DEFAULT. |
4343
| --only-smart-contracts | Deploys only smart contracts (having started local test chain) and updates Smart contract configs for frontend; does not start frontend dev environment. |
@@ -66,7 +66,7 @@ dapp-launchpad deploy -n CHAIN_NAME
6666

6767
| Option | Description |
6868
|:----------------------:|:-------------------------------------------------------|
69-
| -n, --network-name | Name of the network to deploy smart contracts to. (choices: "ethereum", "goerli", "polygonPos", "polygonMumbai", "polygonZkevm", "polygonZkevmTestnet") |
69+
| -n, --network-name | Name of the network to deploy smart contracts to. (choices: "ethereum", "goerli", "polygonPos", "polygonAmoy", "polygonZkevm", "polygonZkevmTestnet") |
7070
| --only-smart-contracts | Deploys only smart contracts and updates Smart contracts config for frontend. |
7171
| --only-frontend | Deploys only frontend; smart contracts data is read from Smart contracts config which must pre-exist. To generate these manually, use generate smart-contracts-config |
7272
| -h, --help | Display help for command |
@@ -114,5 +114,5 @@ dapp-launchpad generate smart-contracts-config
114114
| Option | Description |
115115
|:-----------------------:|:-----------------------------------------|
116116
| -e, --environment <ENV> | Environment where this config would be used (choices: "development", "production", default: "development") |
117-
| -n, --network-name | Name of the network to generate config for. (choices: "ethereum", "goerli", "polygonPos", "polygonMumbai", "polygonZkevm", "polygonZkevmTestnet") |
117+
| -n, --network-name | Name of the network to generate config for. (choices: "ethereum", "goerli", "polygonPos", "polygonAmoy", "polygonZkevm", "polygonZkevmTestnet") |
118118
| -h, --help | Display help for command |

docs/tools/dApp-development/launchpad/common-pitfalls.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@
22
comments: true
33
---
44

5-
## MetaMask transactions fail with a nonce error in dev environment
5+
### MetaMask transactions fail with a nonce error in dev environment
66

77
Every time the dev environment starts, a new local test chain is started. Metamask maintains a cache of "latest block number" and "account transaction nonce". Since every run of `dev` creates a new chain, it never matches with this cache.
88

99
To clear the cache, follow the [MetaMask documentation](https://support.metamask.io/hc/en-us/articles/360015488891-How-to-clear-your-account-activity-reset-account).
1010

11-
## MetaMask transactions fail with a nonce error when using the **reset on change** option in dev environment
11+
### MetaMask transactions fail with a nonce error when using the **reset on change** option in dev environment
1212

1313
The reset on change option resets the blockchain on every code change.
1414

1515
MetaMask maintains a cache of *latest block number* and *account transaction nonce*. After resetting the chain, the latest block number and account transaction nonce should go back to the initial state as well, but MetaMask does not update this cache on its own.
1616

1717
To clear the cache, follow the [MetaMask documentation](https://support.metamask.io/hc/en-us/articles/360015488891-How-to-clear-your-account-activity-reset-account).
18+
19+
### Error: could not coalesce error (error={ "code": -32603, "message": "Internal JSON-RPC error." })
20+
21+
Clear your wallet cache and try again.
22+
23+
To clear the cache, follow the [MetaMask documentation](https://support.metamask.io/hc/en-us/articles/360015488891-How-to-clear-your-account-activity-reset-account).

docs/tools/dApp-development/launchpad/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The chain name options are in this section of the help output:
107107
-n, --fork-network-name [NAME] Name of the network to fork; optional.
108108
By default, it starts a new
109109
chain from genesis block. (choices: "ethereum", "goerli",
110-
"polygonPos", "polygonMumbai", "polygonZkevm", "polygonZkevmTestnet")
110+
"polygonPos", "polygonAmoy", "polygonZkevm", "polygonZkevmTestnet")
111111
```
112112

113113
To fork Polygon zkEVM, for example, run the following command:

0 commit comments

Comments
 (0)