Skip to content

Commit

Permalink
accounts/abi/bind/v2: fix lib_test.go (update test to reflect that bi…
Browse files Browse the repository at this point in the history
…ndings changed s.t. constructor unpack does not return error)
  • Loading branch information
jwasinger committed Dec 30, 2024
1 parent 4fc03b1 commit 8b33f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts/abi/bind/v2/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 8b33f64

Please sign in to comment.