Skip to content

[WIP] Add permit2 for Aggregation and Orderbook #151

[WIP] Add permit2 for Aggregation and Orderbook

[WIP] Add permit2 for Aggregation and Orderbook #151

Triggered via pull request June 14, 2024 12:10
@EnoRageEnoRage
synchronize #69
feat/permit-2
Status Failure
Total duration 57s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
lint: internal/transaction-builder/transaction_builder.go#L1
: # github.com/1inch/1inch-sdk-go/internal/transaction-builder [github.com/1inch/1inch-sdk-go/internal/transaction-builder.test]
lint: internal/transaction-builder/transaction_builder_test.go#L17
cannot use w (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in argument to NewFactory: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData) (typecheck)
lint: sdk-clients/aggregation/aggregation_types.gen.go#L1
: # github.com/1inch/1inch-sdk-go/sdk-clients/aggregation [github.com/1inch/1inch-sdk-go/sdk-clients/aggregation.test]
lint: sdk-clients/aggregation/api.go#L31
undefined: TokensResponse
lint: sdk-clients/aggregation/api.go#L41
undefined: TokensResponse
lint: sdk-clients/aggregation/api_test.go#L284
undefined: TokensResponse
lint: sdk-clients/aggregation/client_test.go#L25
cannot use mockWallet (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in argument to transaction_builder.NewFactory: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData)
lint: sdk-clients/aggregation/client_test.go#L32
cannot use mockWallet (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in struct literal: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData)
lint: sdk-clients/aggregation/client_test.go#L67
cannot use mockWallet (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in argument to transaction_builder.NewFactory: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData)
lint: sdk-clients/aggregation/client_test.go#L74
cannot use mockWallet (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in struct literal: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData) (typecheck)
test: internal/transaction-builder/transaction_builder_test.go#L17
cannot use w (variable of type *MyWallet) as "github.com/1inch/1inch-sdk-go/common".Wallet value in argument to NewFactory: *MyWallet does not implement "github.com/1inch/1inch-sdk-go/common".Wallet (missing method GenerateApproveCallData)
test: sdk-clients/aggregation/api.go#L31
undefined: TokensResponse
test: sdk-clients/aggregation/api.go#L41
undefined: TokensResponse
test
Process completed with exit code 2.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.