complex chain generator
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ package shared
|
||||
|
||||
const (
|
||||
DefaultDeploymentAddrLogPathPrefix = "./accounts/addresses/"
|
||||
)
|
||||
)
|
||||
|
||||
@@ -19,4 +19,4 @@ package shared
|
||||
// Service looping interface
|
||||
type Service interface {
|
||||
Loop(quitChan <-chan bool) (doneChan <-chan bool)
|
||||
}
|
||||
}
|
||||
|
||||
+5
-4
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user