Skip to content

Commit 4ed0a3d

Browse files
committed
statechannels: change nitro/statechannel version and revert change in GRTAssetHolder
1 parent 3e2c646 commit 4ed0a3d

File tree

4 files changed

+130
-43
lines changed

4 files changed

+130
-43
lines changed

contracts/statechannels/GRTAssetHolder.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
pragma solidity ^0.7.3;
44
pragma experimental ABIEncoderV2;
55

6-
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
76
import "@statechannels/nitro-protocol/contracts/ERC20AssetHolder.sol";
87

98
import "../governance/IController.sol";
@@ -17,7 +16,7 @@ contract GRTAssetHolder is ERC20AssetHolder {
1716

1817
constructor(
1918
address _AdjudicatorAddress,
20-
IERC20 _TokenAddress,
19+
address _TokenAddress,
2120
IController _Controller
2221
) ERC20AssetHolder(_AdjudicatorAddress, _TokenAddress) {
2322
AdjudicatorAddress = _AdjudicatorAddress;

package-lock.json

Lines changed: 124 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"devDependencies": {
1919
"@ethersproject/experimental": "^5.0.5",
2020
"@graphprotocol/common-ts": "^0.2.0",
21-
"@graphprotocol/statechannels": "^0.1.3",
21+
"@graphprotocol/statechannels": "^0.1.18-next.91581ca.3",
2222
"@nomiclabs/hardhat-ethers": "^2.0.0",
2323
"@nomiclabs/hardhat-etherscan": "^2.0.0",
2424
"@nomiclabs/hardhat-waffle": "^2.0.0",
2525
"@openzeppelin/contracts": "^3.3.0-solc-0.7",
26-
"@statechannels/nitro-protocol": "^0.11.2",
26+
"@statechannels/nitro-protocol": "^0.9.1",
2727
"@tenderly/hardhat-tenderly": "^1.0.3",
2828
"@typechain/ethers-v5": "^1.0.0",
2929
"@types/bs58": "^4.0.1",

scripts/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22

33
set -eo pipefail
44

5+
# Compile AttestationApp along with the rest of the contracts
6+
cp node_modules/@graphprotocol/statechannels/contracts/AttestationApp.sol contracts/statechannels
7+
58
# Build
69
npm run compile

0 commit comments

Comments
 (0)