aboutsummaryrefslogtreecommitdiff
path: root/examples/counter
diff options
context:
space:
mode:
Diffstat (limited to 'examples/counter')
-rw-r--r--examples/counter/counter.sol2
-rw-r--r--examples/counter/main.go10
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/counter/counter.sol b/examples/counter/counter.sol
index b21c3bf..952b925 100644
--- a/examples/counter/counter.sol
+++ b/examples/counter/counter.sol
@@ -1,4 +1,4 @@
-pragma solidity ^0.6.0;
+pragma solidity >=0.6.0;
contract Counter {
uint256 x;
diff --git a/examples/counter/main.go b/examples/counter/main.go
index 85aa9d1..f78f28f 100644
--- a/examples/counter/main.go
+++ b/examples/counter/main.go
@@ -10,10 +10,10 @@ import (
"github.com/ava-labs/coreth/core/types"
"github.com/ava-labs/coreth/eth"
"github.com/ava-labs/coreth/params"
- "github.com/ava-labs/go-ethereum/common"
- "github.com/ava-labs/go-ethereum/common/compiler"
- "github.com/ava-labs/go-ethereum/crypto"
- "github.com/ava-labs/go-ethereum/log"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/common/compiler"
+ "github.com/ethereum/go-ethereum/crypto"
+ "github.com/ethereum/go-ethereum/log"
"go/build"
"math/big"
"os"
@@ -45,7 +45,7 @@ func main() {
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(0),
PetersburgBlock: big.NewInt(0),
- IstanbulBlock: nil,
+ IstanbulBlock: big.NewInt(0),
Ethash: nil,
}