diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go index a4655bb64a..e4bdf41f1e 100644 --- a/accounts/abi/bind/bind.go +++ b/accounts/abi/bind/bind.go @@ -365,7 +365,8 @@ func bind(types []string, abis []string, bytecodes []string, fsigs []map[string] // methods (which in v1 recursively deploy their // library dependencies). So, the entire set of // library dependencies is required, and we will - // the order to deploy and link them at runtime. + // determine the order to deploy and link them at + // runtime. var findDeps func(contract *tmplContract) map[string]struct{} findDeps = func(contract *tmplContract) map[string]struct{} { // 1) match all libraries that this contract depends on diff --git a/accounts/abi/bind/v2/lib_test.go b/accounts/abi/bind/v2/lib_test.go index ff96e92b21..612a38f97a 100644 --- a/accounts/abi/bind/v2/lib_test.go +++ b/accounts/abi/bind/v2/lib_test.go @@ -92,9 +92,6 @@ func TestDeployment(t *testing.T) { Backend: backend, Client: backend.Client(), } - - //log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stdout, log.LevelDebug, true))) - ctrct, err := nested_libraries.NewC1() if err != nil { panic(err) @@ -102,9 +99,8 @@ func TestDeployment(t *testing.T) { constructorInput, err := ctrct.PackConstructor(big.NewInt(42), big.NewInt(1)) if err != nil { - t.Fatalf("fack %v", err) + t.Fatalf("failed to pack constructor: %v", err) } - // TODO: test case with arguments-containing constructor deploymentParams := DeploymentParams{ Contracts: []ContractDeployParams{ {