@kleros/vea-contracts
Advanced tools
Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "@kleros/vea-contracts", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Smart contracts for Vea", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
], | ||
"packageManager": "yarn@3.1.1", | ||
"packageManager": "yarn@3.3.1", | ||
"engines": { | ||
@@ -27,4 +27,4 @@ "node": ">=16.0.0" | ||
"volta": { | ||
"node": "16.19.0", | ||
"yarn": "3.1.1" | ||
"node": "16.20.0", | ||
"yarn": "3.3.1" | ||
}, | ||
@@ -38,5 +38,8 @@ "publishConfig": { | ||
"clean": "hardhat clean", | ||
"check": "hardhat check", | ||
"test": "TS_NODE_TRANSPILE_ONLY=1 hardhat test", | ||
"start": "hardhat node --tags nothing", | ||
"start-local": "hardhat node --tags ArbToEthOutbox,ArbToEthInbox", | ||
"deploy": "hardhat deploy", | ||
"deploy:staging": "run-s \"deploy --network rinkeby {@}\" \"deploy --network arbitrumRinkeby {@}\" --", | ||
"test": "TS_NODE_TRANSPILE_ONLY=1 hardhat test", | ||
"deploy-local": "hardhat deploy --tags ArbToEthOutbox,ArbToEthInbox --network localhost", | ||
"size": "hardhat size-contracts --no-compile", | ||
@@ -48,20 +51,19 @@ "watch": "hardhat watch", | ||
"devDependencies": { | ||
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5", | ||
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6", | ||
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@0.3.0-beta.13", | ||
"@typechain/ethers-v5": "^10.1.1", | ||
"@typechain/hardhat": "^6.1.4", | ||
"@types/chai": "^4.3.4", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^16", | ||
"@typescript-eslint/eslint-plugin": "^5.42.1", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"@typechain/ethers-v5": "^10.2.0", | ||
"@typechain/hardhat": "^6.1.5", | ||
"@types/chai": "^4.3.5", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^16.18.25", | ||
"@typescript-eslint/eslint-plugin": "^5.59.1", | ||
"@typescript-eslint/parser": "^5.59.1", | ||
"chai": "^4.3.7", | ||
"chai-ethers": "^0.0.1", | ||
"dotenv": "^16.0.3", | ||
"ethereumjs-util": "^7.1.4", | ||
"ethereumjs-util": "^7.1.5", | ||
"ethers": "^5.7.2", | ||
"follow-redirects": "^1.15.0", | ||
"hardhat": "^2.12.2", | ||
"hardhat-contract-sizer": "^2.6.1", | ||
"hardhat-deploy": "^0.11.20", | ||
"hardhat": "^2.14.0", | ||
"hardhat-contract-sizer": "^2.8.0", | ||
"hardhat-deploy": "^0.11.26", | ||
"hardhat-deploy-ethers": "^0.3.0-beta.13", | ||
@@ -71,18 +73,17 @@ "hardhat-deploy-tenderly": "^0.2.0", | ||
"hardhat-gas-reporter": "^1.0.9", | ||
"hardhat-tracer": "^1.2.1", | ||
"hardhat-tracer": "^1.3.0", | ||
"hardhat-watcher": "^2.5.0", | ||
"json-schema": "^0.4.0", | ||
"mocha": "^10.1.0", | ||
"node-fetch": "^3.2.10", | ||
"npm-run-all": "^4.1.5", | ||
"mocha": "^10.2.0", | ||
"node-fetch": "^3.3.1", | ||
"shelljs": "^0.8.5", | ||
"solhint": "^3.3.7", | ||
"solhint": "^3.4.1", | ||
"solidity-coverage": "^0.8.2", | ||
"ts-node": "^10.8.0", | ||
"typechain": "^8.0.0", | ||
"typescript": "^4.6.4" | ||
"ts-node": "^10.9.1", | ||
"typechain": "^8.1.1", | ||
"typescript": "^4.9.5" | ||
}, | ||
"dependencies": { | ||
"@openzeppelin/contracts": "^4.8.0" | ||
"@openzeppelin/contracts": "^4.8.3" | ||
} | ||
} |
@@ -11,4 +11,14 @@ # @kleros/vea-contracts | ||
#### Goerli | ||
- [VeaOutboxArbToEthDevnet](https://goerli.etherscan.io/address/0xAA0FA4fB781d8e17F3998291774601e06f2f27be) | ||
#### Arbitrum Goerli | ||
- [VeaInboxArbToEthDevnet](https://goerli.arbiscan.io/address/0x3b894FE680deB990b4Fb7E7D0000C32Af06687C3) | ||
### Previous version | ||
#### Arbitrum Goerli | ||
- [FastBridgeSenderToGnosis](https://goerli.arbiscan.io/address/0xd599f19e8e2b5CE6ad94328be138B11bA97A7F21) | ||
@@ -43,13 +53,7 @@ | ||
```bash | ||
yarn lint | ||
yarn check | ||
``` | ||
### Fix Linter Issues on Files | ||
### Deployment | ||
```bash | ||
yarn fix | ||
``` | ||
### Deploy Instructions | ||
**NOTICE:** the commands below work only if you are inside the `contracts/` directory. | ||
@@ -82,31 +86,30 @@ | ||
:warning: TODO: OUTDATED, FIX ME | ||
The complete deployment is multi-chain, so a deployment to the local network can only simulate either the Home chain or the Foreign chain. | ||
**Shell 1: the node** | ||
```bash | ||
yarn hardhat node --tags nothing | ||
yarn start-local | ||
``` | ||
**Shell 2: the deploy script** | ||
#### 3. Deploy to Public Networks | ||
##### Testnets | ||
```bash | ||
yarn hardhat deploy --network localhost --tags HomeChain | ||
# ArbitrumGoerli -> Goerli | ||
yarn deploy --network goerli --tags ArbGoerliToGoerliOutbox | ||
yarn deploy --network arbitrumGoerli --tags ArbGoerliToGoerliInbox | ||
# ArbitrumGoerli -> Chiado | ||
yarn deploy --network chiado --tags ArbGoerliToChiadoOutbox | ||
yarn deploy --network arbitrumGoerli --tags ArbGoerliToChiadoInbox | ||
``` | ||
#### 3. Deploy to Public Testnets | ||
##### Mainnets | ||
:warning: TODO: OUTDATED, FIX ME | ||
```bash | ||
# Goerli | ||
yarn hardhat deploy --network arbitrumGoerli --tags Arbitration | ||
yarn hardhat deploy --network goerli --tags ForeignChain | ||
yarn hardhat deploy --network arbitrumGoerli --tags HomeChain | ||
# Arbitrum -> Ethereum | ||
yarn deploy --network mainnet --tags ArbToEthOutbox | ||
yarn deploy --network arbitrum --tags ArbToEthInbox | ||
# Rinkeby | ||
yarn hardhat deploy --network arbitrumRinkeby --tags Arbitration | ||
yarn hardhat deploy --network rinkeby --tags ForeignChain | ||
yarn hardhat deploy --network arbitrumRinkeby --tags HomeChain | ||
# Arbitrum -> Gnosis chain | ||
yarn deploy --network gnosischain --tags ArbToGnosisOutbox | ||
yarn deploy --network arbitrum --tags ArbToGnosisInbox | ||
``` | ||
@@ -119,16 +122,6 @@ | ||
:warning: TODO: OUTDATED, FIX ME | ||
**Shell 1: the node** | ||
```bash | ||
yarn hardhat node --tags Arbitration,ForeignGateway,HomeGateway | ||
yarn test | ||
``` | ||
**Shell 2: the test script** | ||
```bash | ||
yarn hardhat test --network localhost test/pre-alpha1/index.ts | ||
``` | ||
#### 4. Verify the Source Code for Contracts | ||
@@ -139,3 +132,3 @@ | ||
```bash | ||
yarn hardhat --network <arbitrumGoerli|arbitrumRinkeby|arbitrum|goerli|rinkeby|mainnet> etherscan-verify | ||
yarn hardhat --network <arbitrumGoerli|arbitrum|goerli|mainnet|chiado|gnosischain> etherscan-verify | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1265393
32
6445
50
130
1