Post-rebase fixes

This commit is contained in:
Guillaume Ballet 2019-07-02 22:13:17 +02:00
parent a2a1a1205f
commit 31e7dccfbd
2 changed files with 3 additions and 2 deletions

View file

@ -1391,6 +1391,7 @@ public class Test {
// deploy deploys a new Ethereum contract, binding an instance of Test to it. // deploy deploys a new Ethereum contract, binding an instance of Test to it.
public static Test deploy(TransactOpts auth, EthereumClient client) throws Exception { public static Test deploy(TransactOpts auth, EthereumClient client) throws Exception {
Interfaces args = Geth.newInterfaces(0); Interfaces args = Geth.newInterfaces(0);
String bytecode = BYTECODE;
return new Test(Geth.deployContract(auth, ABI, Geth.decodeFromHex(bytecode), client, args)); return new Test(Geth.deployContract(auth, ABI, Geth.decodeFromHex(bytecode), client, args));

View file

@ -24,9 +24,9 @@ import (
"os" "os"
"strings" "strings"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common/compiler" "github.com/ethereum/go-ethereum/common/compiler"
"github.com/ethereum/go-ethereum/crypto"
) )
var ( var (