forked from AztecProtocol/aztec-connect-bridges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: remove typescript where possible * fix: remove clients from readme and template + update circle ci * fix: delete type-chain types * fix: remove bridge-client related stuff from readme
- Loading branch information
Showing
163 changed files
with
65 additions
and
55,918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ cache/ | |
out/ | ||
node_modules/ | ||
yarn-error.log | ||
client-dest/ | ||
# typechain-types/ | ||
broadcast/ | ||
typechain-types/ | ||
broadcast/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule openzeppelin-contracts
added at
8c9a83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@aztec/bridge-clients", | ||
"version": "0.1.74", | ||
"description": "This repo contains the solidity files and typescript helper class for all of the Aztec Connect Bridge Contracts", | ||
"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", | ||
|
@@ -10,65 +10,23 @@ | |
"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 ./client-dest", | ||
"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'", | ||
"compile:client-dest": "tsc --project tsconfig.client-dest.json", | ||
"build": "yarn compile:client-dest", | ||
"test:pinned:14000000": "forge test --fork-block-number 14000000 --match-contract 'Element' --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": "yarn test:pinned:14000000 && yarn test:pinned:14970000 && yarn test:pinned:14972000", | ||
"test:contracts": "forge test --no-match-contract 'Element' --no-match-test 'testRedistribution' && yarn test:pinned", | ||
"test:clients": "NODE_OPTIONS=--experimental-vm-modules yarn jest", | ||
"test": "yarn test:contracts && yarn test:clients", | ||
"formatting": "forge fmt && yarn prettier --write ./src/client/**/*.ts", | ||
"formatting:check": "forge fmt --check && prettier --check ./src/client/**/*.ts", | ||
"lint": "yarn lint:contracts && yarn lint:clients", | ||
"lint:contracts": "solhint --config ./.solhint.json --fix \"src/**/*.sol\"", | ||
"lint:clients": "eslint \"src/**/*.{ts,tsx}\"" | ||
"test": "forge test --no-match-contract 'Element' --no-match-test 'testRedistribution' && yarn test:pinned", | ||
"formatting": "forge fmt", | ||
"formatting:check": "forge fmt --check", | ||
"lint": "solhint --config ./.solhint.json --fix \"src/**/*.sol\"" | ||
}, | ||
"dependencies": { | ||
"@aztec/barretenberg": "2.1.52", | ||
"@ethersproject/providers": "^5.7.2", | ||
"@openzeppelin/contracts": "^4.7.3", | ||
"devDependencies": { | ||
"@typechain/ethers-v5": "^10.1.1", | ||
"ethers": "^5.7.2", | ||
"isomorphic-fetch": "^3.0.0", | ||
"ts-node": "^10.9.1", | ||
"solhint": "https://github.com/LHerskind/solhint", | ||
"typechain": "^8.1.1", | ||
"typescript": "^4.9.3" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.2.3", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.3.1", | ||
"jest-environment-jsdom": "^29.3.1", | ||
"prettier": "^2.7.1", | ||
"solhint": "https://github.com/LHerskind/solhint", | ||
"ts-jest": "^29.0.3" | ||
}, | ||
"jest": { | ||
"preset": "ts-jest/presets/default-esm", | ||
"transform": { | ||
"^.+\\.ts$": [ | ||
"ts-jest", | ||
{ | ||
"useESM": true | ||
} | ||
] | ||
}, | ||
"moduleNameMapper": { | ||
"^(\\.{1,2}/.*)\\.js$": "$1" | ||
}, | ||
"testEnvironment": "jsdom", | ||
"testRegex": ".*\\.test\\.ts$", | ||
"rootDir": "./src" | ||
}, | ||
"files": [ | ||
"./client-dest" | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.