forked from Synthetixio/synthetix-deployments
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 5.25 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
{
"name": "synthetix-deployments",
"version": "0.0.0",
"main": "index.js",
"repository": "synthetixio/synthetix-deployments",
"author": "Synthetix",
"license": "MIT",
"private": true,
"workspaces": [
"e2e"
],
"scripts": {
"start:mainnet": "cannon run synthetix-omnibus:latest@main --chain-id 1 --provider-url https://mainnet.infura.io/v3/$INFURA_KEY",
"start:sepolia": "cannon run synthetix-omnibus:latest@main --chain-id 11155111 --provider-url https://sepolia.infura.io/v3/$INFURA_KEY",
"start:optimism": "cannon build omnibus-optimism-mainnet.toml --keep-alive --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@main --chain-id 10 --provider-url https://optimism-mainnet.infura.io/v3/$INFURA_KEY | tee ./e2e/cannon-build.log",
"build:base": "cannon build omnibus-base-mainnet-andromeda.toml --dry-run --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 8453 --provider-url https://mainnet.base.org | tee ./e2e/cannon-build.log",
"build:optimism": "cannon build omnibus-optimism-mainnet.toml --dry-run --upgrade-from synthetix-omnibus:latest@main --chain-id 10 --provider-url https://optimism-mainnet.infura.io/v3/$INFURA_KEY | tee ./e2e/cannon-build.log",
"build:base-sepolia": "cannon build omnibus-base-sepolia-andromeda.toml --dry-run --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://sepolia.base.org | tee ./e2e/cannon-build.log",
"build:kwenta-base-sepolia": "cannon build kwenta-omnibus-base-sepolia-andromeda.toml --dry-run --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://sepolia.base.org | tee ./e2e/cannon-build.log",
"build:arbthetix-sepolia": "cannon build omnibus-arbitrum-sepolia-arbthetix.toml --dry-run --upgrade-from synthetix-omnibus:latest@arbthetix --chain-id 421614 --provider-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"build:arbthetix-mainnet": "cannon build omnibus-arbitrum-mainnet-arbthetix.toml --dry-run --upgrade-from synthetix-omnibus:latest@arbthetix --chain-id 42161 --provider-url https://arbitrum-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 --port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 8453 --provider-url https://mainnet.base.org | tee ./e2e/cannon-build.log",
"start:base-sepolia": "cannon build omnibus-base-sepolia-andromeda.toml --keep-alive --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://sepolia.base.org | tee ./e2e/cannon-build.log",
"start:kwenta-base-sepolia": "cannon build kwenta-omnibus-base-sepolia-andromeda.toml --keep-alive --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@andromeda --chain-id 84532 --provider-url https://sepolia.base.org | tee ./e2e/cannon-build.log",
"start:arbthetix-sepolia": "cannon build omnibus-arbitrum-sepolia-arbthetix.toml --keep-alive --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@arbthetix --chain-id 421614 --provider-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"start:arbthetix-mainnet": "cannon build omnibus-arbitrum-mainnet-arbthetix.toml --keep-alive --dry-run --port 8545 --upgrade-from synthetix-omnibus:latest@arbthetix --chain-id 42161 --provider-url https://arbitrum-mainnet.infura.io/v3/$INFURA_API_KEY | tee ./e2e/cannon-build.log",
"anvil:optimism": "anvil --chain-id 10 --fork-url https://optimism-mainnet.infura.io/v3/$INFURA_KEY",
"anvil:base": "anvil --chain-id 8453 --fork-url https://mainnet.base.org",
"anvil:base-sepolia": "anvil --chain-id 84532 --fork-url https://sepolia.base.org",
"anvil:arbthetix-sepolia": "anvil --chain-id 421614 --fork-url https://arbitrum-sepolia.infura.io/v3/$INFURA_API_KEY",
"anvil:arbthetix-mainnet": "anvil --chain-id 42161 --fork-url https://arbitrum-mainnet.infura.io/v3/$INFURA_API_KEY",
"fetch-deployments": "node e2e/extractCannonState ./e2e/cannon-build.log > /tmp/cannonState.json && node e2e/generateDeployments /tmp/cannonState.json",
"deploy": "node ./e2e/deploy.js ./e2e/deployments/upgrade.ndjson",
"test:base": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-base-mainnet-andromeda.toml/**/*.js",
"test:base-sepolia": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-base-sepolia-andromeda.toml/**/*.js",
"test:arbthetix-sepolia": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-arbitrum-sepolia-arbthetix.toml/**/*.js",
"test:arbthetix-mainnet": "DEBUG='e2e:*' mocha ./e2e/tests/omnibus-arbitrum-sepolia-mainnet.toml/**/*.js",
"pretty": "prettier . '**/*.toml' --write",
"pretty:check": "prettier . '**/*.toml' --check",
"cannon": "cannon"
},
"devDependencies": {
"@pythnetwork/pyth-evm-js": "^1.33.0",
"@usecannon/builder": "2.11.21",
"@usecannon/cli": "2.11.21",
"debug": "^4.3.4",
"ethers": "^5.7.2",
"hardhat": "^2.21.0",
"mocha": "^10.3.0",
"numbro": "^2.4.0",
"prettier": "^3.2.5",
"prettier-plugin-toml": "^2.0.1",
"solc": "0.8.21",
"supports-color": "^8.1.1"
},
"mocha": {
"timeout": "2m",
"recursive": true,
"bail": true,
"async-only": true,
"exit": true
},
"packageManager": "[email protected]"
}