Skip to content

Commit

Permalink
Compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Jul 9, 2024
1 parent a026c3b commit 6f46df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go/builder/cellar_call_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// Test the CallDataBuilder constructor
func TestNewCallData(t *testing.T) {
// Create a new CellarCallBuilder
builder := NewCallDataBuilder()
builder := NewCellarCallDataBuilder()

// Check the builder
assert.Equal(t, 0, len(builder.functionCalls))
Expand Down
6 changes: 2 additions & 4 deletions go/builder/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestBuilderIntegration(t *testing.T) {
WithdrawFromAave(token, amount).
Build()

callData, err := NewCallDataBuilder().
callData, err := NewCellarCallDataBuilder().
CallOnAdaptor(adaptorCalls).
Build()

Expand All @@ -77,9 +77,7 @@ func TestBuilderIntegration(t *testing.T) {
request, err := newRequest(callData)
assert.NoError(t, err)

response, err := client.Simulate(ctx, request)
_, err = client.Simulate(ctx, request)
assert.NoError(t, err)

response.EncodedCall
})
}

0 comments on commit 6f46df3

Please sign in to comment.