mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
accounts/abi/bind/v2: fix lib_test.go (update test to reflect that bindings changed s.t. constructor unpack does not return error)
This commit is contained in:
parent
e50bfdd053
commit
fe2827e9d3
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ func TestDeploymentLibraries(t *testing.T) {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
constructorInput, err := ctrct.PackConstructor(big.NewInt(42), big.NewInt(1))
|
||||
constructorInput := ctrct.PackConstructor(big.NewInt(42), big.NewInt(1))
|
||||
if err != nil {
|
||||
t.Fatalf("failed to pack constructor: %v", err)
|
||||
}
|
||||
|
|
@ -199,7 +199,7 @@ func TestDeploymentWithOverrides(t *testing.T) {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
constructorInput, err := ctrct.PackConstructor(big.NewInt(42), big.NewInt(1))
|
||||
constructorInput := ctrct.PackConstructor(big.NewInt(42), big.NewInt(1))
|
||||
if err != nil {
|
||||
t.Fatalf("failed to pack constructor: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue