Skip to content

feat: add gas estimation to client #141

feat: add gas estimation to client

feat: add gas estimation to client #141

Triggered via pull request February 18, 2025 12:03
Status Failure
Total duration 55s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 4 warnings
Go Test / test: internal/distributor/distributor_test.go#L60
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test: internal/distributor/distributor_test.go#L116
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test: internal/distributor/distributor_test.go#L184
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test: internal/runtime/helper_test.go#L52
not enough arguments in call to constructTransactions
Go Test / test: internal/runtime/runtime_test.go#L71
not enough arguments in call to r.Initialize
Go Test / test: internal/runtime/runtime_test.go#L77
not enough arguments in call to r.ConstructTransactions
Go Test / test: internal/runtime/runtime_test.go#L107
not enough arguments in call to r.Initialize
Go Test / test: internal/runtime/runtime_test.go#L121
not enough arguments in call to r.ConstructTransactions
Go Test / test
Process completed with exit code 1.
Go Linter / lint: internal/distributor/distributor_test.go#L60
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Linter / lint: internal/distributor/distributor_test.go#L116
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Linter / lint: internal/distributor/distributor_test.go#L184
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas) (typecheck)
Go Linter / lint: internal/runtime/helper_test.go#L52
not enough arguments in call to constructTransactions
Go Linter / lint: internal/runtime/runtime_test.go#L71
not enough arguments in call to r.Initialize
Go Linter / lint: internal/runtime/runtime_test.go#L77
not enough arguments in call to r.ConstructTransactions
Go Linter / lint: internal/runtime/runtime_test.go#L107
not enough arguments in call to r.Initialize
Go Linter / lint: internal/runtime/runtime_test.go#L121
not enough arguments in call to r.ConstructTransactions
Go Linter / lint
issues found
Go Test / test-with-race: internal/distributor/distributor_test.go#L60
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test-with-race: internal/distributor/distributor_test.go#L116
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test-with-race: internal/distributor/distributor_test.go#L184
cannot use mockClient (variable of type *mockClient) as Client value in argument to NewDistributor: *mockClient does not implement Client (missing method EstimateGas)
Go Test / test-with-race: internal/runtime/helper_test.go#L52
not enough arguments in call to constructTransactions
Go Test / test-with-race: internal/runtime/runtime_test.go#L71
not enough arguments in call to r.Initialize
Go Test / test-with-race: internal/runtime/runtime_test.go#L77
not enough arguments in call to r.ConstructTransactions
Go Test / test-with-race: internal/runtime/runtime_test.go#L107
not enough arguments in call to r.Initialize
Go Test / test-with-race: internal/runtime/runtime_test.go#L121
not enough arguments in call to r.ConstructTransactions
Go Test / test-with-race
Process completed with exit code 1.
Go Test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/supernova/supernova. Supported file pattern: go.sum
Go Linter / lint
Cache not found for keys: golangci-lint.cache-Linux-2876-8ef11afda07e38f72881ae14ee575a9c959a209e, golangci-lint.cache-Linux-2876-
Go Linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/supernova/supernova. Supported file pattern: go.sum
Go Test / test-with-race
Restore cache failed: Dependencies file is not found in /home/runner/work/supernova/supernova. Supported file pattern: go.sum