Skip to content

[WIP] Add permit2 for Aggregation and Orderbook #155

[WIP] Add permit2 for Aggregation and Orderbook

[WIP] Add permit2 for Aggregation and Orderbook #155

Triggered via pull request June 19, 2024 13:36
@EnoRageEnoRage
synchronize #69
feat/permit-2
Status Failure
Total duration 1m 9s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
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: internal/web3-provider/permit2.go#L241
undefined: chainId
test
Process completed with exit code 2.
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: internal/web3-provider/approve.go#L1
: # github.com/1inch/1inch-sdk-go/internal/web3-provider [github.com/1inch/1inch-sdk-go/internal/web3-provider.test]
lint: internal/web3-provider/permit2.go#L241
undefined: chainId (typecheck)
lint: sdk-clients/aggregation/configuration.go#L7
could not import github.com/1inch/1inch-sdk-go/internal/web3-provider (-: # github.com/1inch/1inch-sdk-go/internal/web3-provider
lint: internal/web3-provider/permit2.go#L241
undefined: chainId) (typecheck)
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) (typecheck)
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) (typecheck)
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) (typecheck)
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
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/.
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/.