Skip to content

Commit

Permalink
test: add integration tests for xvs vault
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Oct 10, 2023
1 parent 9dc1c76 commit 9841b2e
Show file tree
Hide file tree
Showing 22 changed files with 322 additions and 1,583 deletions.
6 changes: 6 additions & 0 deletions copy_contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ mkdir -p ./contracts/protocol
cp -rf ./node_modules/@venusprotocol/venus-protocol/contracts/ ./contracts/protocol/contracts
rm -rf contracts/protocol/contracts/test

mkdir -p ./contracts/governance/contracts/Governance
mkdir -p ./contracts/governance/contracts/legacy
cp ./node_modules/@venusprotocol/governance-contracts/contracts/legacy/GovernorBravoDelegateV1.sol ./contracts/governance/contracts/legacy/GovernorBravoDelegateV1.sol
cp ./node_modules/@venusprotocol/governance-contracts/contracts/legacy/GovernorBravoInterfaces.sol ./contracts/governance/contracts/legacy/GovernorBravoInterfaces.sol
cp ./node_modules/@venusprotocol/governance-contracts/contracts/Governance/GovernorBravoInterfaces.sol ./contracts/governance/contracts/Governance/GovernorBravoInterfaces.sol

rm contracts/protocol/contracts/Governance/GovernorBravoDelegate.sol
rm contracts/protocol/contracts/Governance/GovernorBravoDelegator.sol
rm contracts/protocol/contracts/Governance/Timelock.sol
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"@types/mustache": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"@venusprotocol/governance-contracts": "^1.1.0-dev.1",
"@venusprotocol/governance-contracts": "^1.3.0",
"@venusprotocol/isolated-pools": "2.1.0-dev.2",
"@venusprotocol/oracle": "^1.7.2",
"@venusprotocol/oracle": "^1.7.3-dev.1",
"@venusprotocol/venus-protocol": "3.1.0",
"assemblyscript": "0.19.23",
"chai": "^4.3.6",
Expand Down
308 changes: 0 additions & 308 deletions packages/venus-governance-abis/XVSToken.json

This file was deleted.

Loading

0 comments on commit 9841b2e

Please sign in to comment.