Updating Classic Swap to use the V6 router #195
Annotations
20 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 GetGasEstimate) (typecheck)
|
lint:
sdk-clients/aggregation/aggregation_teyps_extended.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/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 GetGasEstimate)
|
lint:
sdk-clients/aggregation/client_test.go#L208
unknown field FromToken in struct literal of type SwapResponse
|
lint:
sdk-clients/aggregation/client_test.go#L218
unknown field ToAmount in struct literal of type SwapResponse
|
lint:
sdk-clients/aggregation/client_test.go#L219
unknown field ToToken in struct literal of type SwapResponse
|
lint:
sdk-clients/aggregation/api_test.go#L43
unknown field FromToken in struct literal of type QuoteResponse
|
lint:
sdk-clients/aggregation/api_test.go#L55
unknown field ToAmount in struct literal of type QuoteResponse
|
lint:
sdk-clients/aggregation/api_test.go#L56
unknown field ToToken in struct literal of type QuoteResponse
|
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 GetGasEstimate)
|
test:
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 GetGasEstimate)
|
test:
sdk-clients/aggregation/client_test.go#L208
unknown field FromToken in struct literal of type SwapResponse
|
test:
sdk-clients/aggregation/client_test.go#L218
unknown field ToAmount in struct literal of type SwapResponse
|
test:
sdk-clients/aggregation/client_test.go#L219
unknown field ToToken in struct literal of type SwapResponse
|
test:
sdk-clients/aggregation/api_test.go#L43
unknown field FromToken in struct literal of type QuoteResponse
|
test:
sdk-clients/aggregation/api_test.go#L55
unknown field ToAmount in struct literal of type QuoteResponse
|
test:
sdk-clients/aggregation/api_test.go#L56
unknown field ToToken in struct literal of type QuoteResponse
|
test:
sdk-clients/aggregation/api_test.go#L112
unknown field FromToken in struct literal of type SwapResponse
|
test:
sdk-clients/aggregation/api_test.go#L122
unknown field ToAmount in struct literal of type SwapResponse
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|