-
Notifications
You must be signed in to change notification settings - Fork 144
/
package.json
32 lines (32 loc) · 2.39 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
{
"name": "@aztec/bridge-clients",
"version": "0.1.74",
"description": "This repo contains the solidity files for Aztec Connect Bridge Contracts",
"repository": "[email protected]:AztecProtocol/aztec-connect-bridges.git",
"license": "Apache-2.0",
"type": "module",
"scripts": {
"install:foundryup": "curl -L https://foundry.paradigm.xyz | bash",
"install:foundry": "foundryup",
"install:dependencies": "git submodule update --init --recursive && yarn",
"setup": "yarn install:foundryup && yarn install:foundry && yarn install:dependencies",
"clean": "rm -rf ./cache ./dest ./out ./typechain-types",
"build": "forge build",
"compile:typechain": "yarn clean && forge build --skip test --skip script && typechain --target ethers-v5 --out-dir ./typechain-types './out/?(DataProvider|RollupProcessor|*Bridge|I*).sol/*.json'",
"test:pinned:14000000": "forge test --fork-block-number 14000000 --match-contract 'Element' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14950000": "forge test --fork-block-number 14950000 --match-contract 'BiDCA' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14970000": "forge test --fork-block-number 14970000 -m 'testRedistributionSuccessfulSwap|testRedistributionExitWhenICREqualsMCR' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14972000": "forge test --fork-block-number 14972000 -m 'testRedistributionFailingSwap' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:16000000": "forge test --fork-block-number 16000000 --match-contract 'Yearn' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned": "yarn test:pinned:14000000 && yarn test:pinned:16000000 && yarn test:pinned:14950000 && yarn test:pinned:14970000 && yarn test:pinned:14972000",
"test": "forge test --fork-block-number 16000000 --no-match-contract 'Element|BiDCA|Yearn' --no-match-test 'testRedistribution' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c && yarn test:pinned",
"formatting": "forge fmt",
"formatting:check": "forge fmt --check",
"lint": "solhint --config ./.solhint.json --fix \"src/**/*.sol\""
},
"devDependencies": {
"solhint": "https://github.com/LHerskind/solhint",
"typechain": "^8.1.1",
"typescript": "^4.9.3"
}
}