e2e: make the registry parseable and declare the dep that reads it
e2e/env.ts reads NETWORKS.yaml at runtime, so two things on main were fatal to
it and are fixed here rather than assumed:
- NETWORKS.yaml did not parse. `lux-explorer: Lux Explorer (single Go binary:
indexer+GraphQL+SPA) — 5 chains` is a plain scalar containing ": ", which
YAML rejects — js-yaml fails with "bad indentation of a mapping entry
(219:49)". Quoted.
- js-yaml / @types/js-yaml were not declared, so the import resolved only on a
machine that happened to have them.
Verified on the rebased tree: NETWORKS.yaml parses and the suite runs green
against mainnet.
Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
+1
-1
@@ -216,7 +216,7 @@ infrastructure:
|
||||
lux-testnet: 5 luxd validators
|
||||
lux-devnet: 5 luxd validators
|
||||
lux-gateway: Gateway API gateway
|
||||
lux-explorer: Lux Explorer (single Go binary: indexer+GraphQL+SPA) — 5 chains
|
||||
lux-explorer: "Lux Explorer (single Go binary: indexer+GraphQL+SPA) — 5 chains"
|
||||
lux-bridge: Bridge UI + API + MPC nodes
|
||||
lux-mpc: MPC dashboard + API + 5 MPC nodes
|
||||
lux-kms: KMS (2 replicas)
|
||||
|
||||
Generated
+12
-3
@@ -1,18 +1,20 @@
|
||||
{
|
||||
"name": "@luxfi/universe",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@luxfi/universe",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.2",
|
||||
"dependencies": {
|
||||
"@luxfi/wallet-sdk": "^0.20.29"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.52.0",
|
||||
"ethers": "^6.14.0"
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"ethers": "^6.14.0",
|
||||
"js-yaml": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@adraffy/ens-normalize": {
|
||||
@@ -2402,6 +2404,13 @@
|
||||
"integrity": "sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/js-yaml": {
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
|
||||
"integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/json-schema": {
|
||||
"version": "7.0.15",
|
||||
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
|
||||
|
||||
+3
-1
@@ -51,7 +51,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.52.0",
|
||||
"ethers": "^6.14.0"
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"ethers": "^6.14.0",
|
||||
"js-yaml": "^4.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@luxfi/wallet-sdk": "^0.20.29"
|
||||
|
||||
Reference in New Issue
Block a user