@latticexyz/cli 1.33.1 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/commands/deploy-contracts.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/package.json +8 -8
- package/src/utils/deploy.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022-present Lattice Labs Ltd.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -217405,7 +217405,7 @@ function deploy(deployerPrivateKey, rpc = "http://localhost:8545", worldAddress,
|
|
|
217405
217405
|
reuseComponents ? "true" : "false",
|
|
217406
217406
|
"--fork-url",
|
|
217407
217407
|
rpc,
|
|
217408
|
-
...gasPrice != null ? ["--with-gas-price", String(gasPrice)] : []
|
|
217408
|
+
...gasPrice != null ? ["--with-gas-price", String(Math.round(gasPrice))] : []
|
|
217409
217409
|
],
|
|
217410
217410
|
{ stdio: ["inherit", "pipe", "pipe"] }
|
|
217411
217411
|
);
|
package/dist/commands/deploy.js
CHANGED
|
@@ -270198,7 +270198,7 @@ function deploy(deployerPrivateKey, rpc = "http://localhost:8545", worldAddress,
|
|
|
270198
270198
|
reuseComponents ? "true" : "false",
|
|
270199
270199
|
"--fork-url",
|
|
270200
270200
|
rpc,
|
|
270201
|
-
...gasPrice != null ? ["--with-gas-price", String(gasPrice)] : []
|
|
270201
|
+
...gasPrice != null ? ["--with-gas-price", String(Math.round(gasPrice))] : []
|
|
270202
270202
|
],
|
|
270203
270203
|
{ stdio: ["inherit", "pipe", "pipe"] }
|
|
270204
270204
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latticexyz/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.0",
|
|
4
4
|
"description": "Command line interface for mud",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
"typescript": "^4.6.4"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@latticexyz/services": "^1.
|
|
41
|
-
"@latticexyz/solecs": "^1.
|
|
42
|
-
"@latticexyz/std-contracts": "^1.
|
|
43
|
-
"@latticexyz/utils": "^1.
|
|
40
|
+
"@latticexyz/services": "^1.34.0",
|
|
41
|
+
"@latticexyz/solecs": "^1.34.0",
|
|
42
|
+
"@latticexyz/std-contracts": "^1.34.0",
|
|
43
|
+
"@latticexyz/utils": "^1.34.0",
|
|
44
44
|
"@typechain/ethers-v5": "^10.1.1",
|
|
45
45
|
"chalk": "^5.0.1",
|
|
46
46
|
"chokidar": "^3.5.3",
|
|
47
47
|
"clear": "^0.1.0",
|
|
48
48
|
"commander": "^9.2.0",
|
|
49
|
-
"ds-test": "https://github.com/dapphub/ds-test.git#
|
|
49
|
+
"ds-test": "https://github.com/dapphub/ds-test.git#c9ce3f25bde29fc5eb9901842bf02850dfd2d084",
|
|
50
50
|
"ejs": "^3.1.8",
|
|
51
51
|
"esm": "^3.2.25",
|
|
52
52
|
"ethers": "^5.7.2",
|
|
53
53
|
"execa": "^6.1.0",
|
|
54
54
|
"figlet": "^1.5.2",
|
|
55
|
-
"forge-std": "https://github.com/foundry-rs/forge-std.git#
|
|
55
|
+
"forge-std": "https://github.com/foundry-rs/forge-std.git#f36dab24d63d1c1945a05ed375ce341d3c1a49ed",
|
|
56
56
|
"glob": "^8.0.3",
|
|
57
57
|
"inquirer": "^8.2.4",
|
|
58
58
|
"inquirer-prompt-suggest": "^0.1.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"pkg": {
|
|
71
71
|
"scripts": "build/**/*.js"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "a722415d7a91dab1cc849f1c8c877146872a0444"
|
|
74
74
|
}
|
package/src/utils/deploy.ts
CHANGED
|
@@ -51,7 +51,7 @@ export async function deploy(
|
|
|
51
51
|
reuseComponents ? "true" : "false", // Reuse components?
|
|
52
52
|
"--fork-url",
|
|
53
53
|
rpc,
|
|
54
|
-
...(gasPrice != null ? ["--with-gas-price", String(gasPrice)] : []),
|
|
54
|
+
...(gasPrice != null ? ["--with-gas-price", String(Math.round(gasPrice))] : []),
|
|
55
55
|
],
|
|
56
56
|
{ stdio: ["inherit", "pipe", "pipe"] }
|
|
57
57
|
);
|