-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
83 lines (83 loc) · 7.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "synthetix-deployments",
"version": "0.0.0",
"main": "index.js",
"repository": "synthetixio/synthetix-deployments",
"author": "Synthetix",
"license": "MIT",
"private": true,
"workspaces": [
"e2e"
],
"scripts": {
"anvil:mainnet": "anvil --chain-id 1 --fork-url https://mainnet.infura.io/v3/$INFURA_API_KEY",
"anvil:sepolia": "anvil --chain-id 11155111 --fork-url https://sepolia.infura.io/v3/$INFURA_API_KEY",
"anvil:optimism": "anvil --chain-id 10 --fork-url https://optimism-mainnet.infura.io/v3/$INFURA_API_KEY",
"anvil:base": "anvil --chain-id 8453 --fork-url https://base-mainnet.infura.io/v3/$INFURA_API_KEY",
"anvil:base-sepolia": "anvil --chain-id 84532 --fork-url https://base-sepolia.infura.io/v3/$INFURA_API_KEY",
"anvil:arbitrum": "anvil --chain-id 42161 --fork-url https://arbitrum-mainnet.infura.io/v3/$INFURA_API_KEY",
"anvil:arbitrum-sepolia": "anvil --chain-id 421614 --fork-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY",
"start:mainnet": "cannon build omnibus-mainnet.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 1 --provider-url https://mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:sepolia": "cannon build omnibus-sepolia.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 11155111 --provider-url https://sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:optimism": "cannon build omnibus-optimism-mainnet.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 10 --provider-url https://optimism-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:base": "cannon build omnibus-base-mainnet-andromeda.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 8453 --provider-url https://base-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:base-sepolia": "cannon build omnibus-base-sepolia-andromeda.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://base-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:arbitrum": "cannon build omnibus-arbitrum-mainnet.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 42161 --provider-url https://arbitrum-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:arbitrum-sepolia": "cannon build omnibus-arbitrum-sepolia.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 421614 --provider-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:snax": "cannon build omnibus-snaxchain-mainnet.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 2192 --provider-url https://mainnet.snaxchain.io | tee ./e2e/cannon-build.log",
"start:snax-testnet": "cannon build omnibus-snaxchain-testnet.toml --keep-alive --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 13001 --provider-url https://testnet.snaxchain.io | tee ./e2e/cannon-build.log",
"build:mainnet": "cannon build omnibus-mainnet.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 1 --provider-url https://mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:sepolia": "cannon build omnibus-sepolia.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 11155111 --provider-url https://sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:optimism": "cannon build omnibus-optimism-mainnet.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 10 --provider-url https://optimism-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:base": "cannon build omnibus-base-mainnet-andromeda.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 8453 --provider-url https://base-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:base-sepolia": "cannon build omnibus-base-sepolia-andromeda.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://base-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:arbitrum": "cannon build omnibus-arbitrum-mainnet.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 42161 --provider-url https://arbitrum-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:arbitrum-sepolia": "cannon build omnibus-arbitrum-sepolia.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 421614 --provider-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:snax": "cannon build omnibus-snaxchain-mainnet.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 2192 --provider-url https://mainnet.snaxchain.io | tee ./e2e/cannon-build.log",
"build:snax-testnet": "cannon build omnibus-snaxchain-testnet.toml --dry-run --anvil.port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 13001 --provider-url https://testnet.snaxchain.io | tee ./e2e/cannon-build.log",
"test:mainnet": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-mainnet.toml/**/*.e2e.js",
"test:sepolia": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-sepolia.toml/**/*.e2e.js",
"test:optimism": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-optimism-mainnet.toml/**/*.e2e.js",
"test:base": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-base-mainnet-andromeda.toml/**/*.e2e.js",
"test:base-sepolia": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-base-sepolia-andromeda.toml/**/*.e2e.js",
"test:arbitrum": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-arbitrum-mainnet.toml/**/*.e2e.js",
"test:arbitrum-sepolia": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-arbitrum-sepolia.toml/**/*.e2e.js",
"test:snax": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-snaxchain-mainnet.toml/**/*.e2e.js",
"test:snax-testnet": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-snaxchain-testnet.toml/**/*.e2e.js",
"pretty": "prettier . '**/*.toml' --write",
"pretty:check": "prettier . '**/*.toml' --check",
"fetch-deployments": "DEBUG='e2e:*' node e2e/extractCannonState ./e2e/cannon-build.log > /tmp/cannonState.json && DEBUG='e2e:*' node e2e/generateDeployments /tmp/cannonState.json",
"update-prices": "DEBUG='e2e:*' node ./e2e/tasks/doAllPriceUpdates.js 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
"cannon:hotfix": "yarn up @usecannon/builder@hotfix @usecannon/cli@hotfix --exact && yarn dedupe",
"cannon:latest": "yarn up @usecannon/builder@latest @usecannon/cli@latest --exact && yarn dedupe",
"cannon:alpha": "yarn up @usecannon/builder@alpha @usecannon/cli@alpha --exact && yarn dedupe"
},
"devDependencies": {
"@pythnetwork/pyth-evm-js": "^1.76.0",
"@usecannon/builder": "2.20.2",
"@usecannon/cli": "2.20.2",
"debug": "^4.3.7",
"ethers": "^5.7.2",
"hardhat": "^2.22.16",
"mocha": "^10.8.2",
"numbro": "^2.5.0",
"pako": "^2.1.0",
"prettier": "^3.3.3",
"prettier-plugin-toml": "^2.0.1",
"solc": "0.8.21",
"supports-color": "^8.1.1",
"viem": "^2.21.48"
},
"resolutions": {
"mocha": "^10",
"viem": "^2"
},
"mocha": {
"timeout": "5m",
"recursive": true,
"bail": true,
"async-only": true,
"exit": true
},
"packageManager": "yarn@4.5.1"
}