complex chain generator

This commit is contained in:
Ian Norden
2020-10-23 11:10:24 -05:00
parent 6d3943cf6f
commit 3cff19fc83
14 changed files with 301 additions and 28 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ package shared
const (
DefaultDeploymentAddrLogPathPrefix = "./accounts/addresses/"
)
)
+1 -1
View File
@@ -19,4 +19,4 @@ package shared
// Service looping interface
type Service interface {
Loop(quitChan <-chan bool) (doneChan <-chan bool)
}
}
+5 -4
View File
@@ -19,14 +19,15 @@ package shared
import (
"context"
"fmt"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"math/big"
"os"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/temp/common/hexutil"
)
// ChainConfig returns the appropriate ethereum chain config for the provided chain id
@@ -60,4 +61,4 @@ func WriteContractAddr(filePath string, senderAddr common.Address, nonce uint64)
return err
}
return f.Close()
}
}