@leofcoin/launch-chain 0.5.3 → 0.5.4
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/README.md +17 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -22,6 +22,23 @@ const { chain, endpoints, mode } = await launch(
|
|
|
22
22
|
Requires Node.js 24.15.0 or newer. The default native WebRTC backend is
|
|
23
23
|
`@vandeurenglenn/wrtc` 0.7.2 or newer.
|
|
24
24
|
|
|
25
|
+
### Genesis package compatibility
|
|
26
|
+
|
|
27
|
+
Launch-chain 0.5.4 requires the matching Peach 0.9 genesis packages: addresses
|
|
28
|
+
1.1.1, lib 1.4.4, workers 1.6.2 and chain 1.11.9 or later compatible versions.
|
|
29
|
+
An older lockfile can combine addresses 1.1.0 with newer contract bytecode and
|
|
30
|
+
cause `genesis contract hash mismatch` at startup. After these versions are
|
|
31
|
+
published, update the launcher and its lockfile in the deployment directory:
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
npm install '@leofcoin/launch-chain@^0.5.4'
|
|
35
|
+
npm ls @leofcoin/launch-chain @leofcoin/chain @leofcoin/lib @leofcoin/addresses @leofcoin/workers
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Stop the node before upgrading. Keep existing data and credentials; this package
|
|
39
|
+
update does not migrate an older chain or make a different genesis compatible.
|
|
40
|
+
Verify the intended chain ID before reconnecting or restarting validators.
|
|
41
|
+
|
|
25
42
|
### automatic peer transports
|
|
26
43
|
|
|
27
44
|
Launch-chain 0.4.25 requires chain 1.10.17 and lib 1.3.15, using published
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/launch-chain",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://github.com/leofcoin/monorepo/tree/main/packages/launch-chain#readme",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@leofcoin/addresses": "^1.1.
|
|
46
|
-
"@leofcoin/chain": "^1.11.
|
|
45
|
+
"@leofcoin/addresses": "^1.1.1",
|
|
46
|
+
"@leofcoin/chain": "^1.11.9",
|
|
47
47
|
"@leofcoin/endpoint-clients": "^0.4.0",
|
|
48
48
|
"@leofcoin/endpoints": "^0.5.0",
|
|
49
|
-
"@leofcoin/lib": "^1.4.
|
|
49
|
+
"@leofcoin/lib": "^1.4.4",
|
|
50
50
|
"@leofcoin/networks": "^1.1.30",
|
|
51
51
|
"@vandeurenglenn/wrtc": "^0.7.2"
|
|
52
52
|
},
|