Merge pull request #48 from poanetwork/contracts-submodule

Introduce contracts submodule
This commit is contained in:
Alexander Kolotov 2019-05-17 02:56:41 +03:00 committed by GitHub
commit daaf8891ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 598 additions and 34 deletions

3
.gitmodules vendored

@ -4,3 +4,6 @@
[submodule "ui/submodules/poa-bridge-contracts"]
path = ui/submodules/poa-bridge-contracts
url = https://github.com/poanetwork/poa-bridge-contracts.git
[submodule "contracts"]
path = contracts
url = https://github.com/poanetwork/poa-bridge-contracts.git

@ -44,6 +44,10 @@ The POA TokenBridge provides three operational modes:
## Building, running, linting & tests
To initialize submodules:
`git submodule update --init`
To install dependencies:
`yarn install`

1
contracts Submodule

@ -0,0 +1 @@
Subproject commit 492f6d010a1324676801df918f0449965e770c64

@ -13,14 +13,16 @@
"oracle",
"oracle-e2e",
"ui",
"monitor"
"monitor",
"contracts"
],
"scripts": {
"build": "yarn workspace ui run build",
"lint": "yarn wsrun --exclude oracle-e2e lint",
"build": "yarn workspace poa-parity-bridge-contracts run compile && yarn workspace ui run build",
"lint": "yarn wsrun --exclude oracle-e2e --exclude poa-parity-bridge-contracts lint",
"test": "yarn wsrun --exclude monitor --exclude oracle-e2e test",
"ansible-lint": "./deployment/lint.sh",
"oracle-e2e": "./oracle-e2e/run-tests.sh",
"clean": "rm -rf ./node_modules ./**/node_modules"
"clean": "rm -rf ./node_modules ./**/node_modules",
"postinstall": "ln -s $(pwd)/node_modules/openzeppelin-solidity/ contracts/node_modules/openzeppelin-solidity"
}
}

614
yarn.lock

File diff suppressed because it is too large Load Diff