Skip to content

Use context appropriately #291

Use context appropriately

Use context appropriately #291

Triggered via pull request March 14, 2025 09:09
Status Failure
Total duration 15m 32s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
unit-test: module/prover_test.go#L169
not enough arguments in call to ts.chain.GetProof
unit-test: module/setup_test.go#L57
cannot use neighborFn (variable of type func(height uint64, _ uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error)) as func("context".Context, uint64, uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error) value in argument to setupHeadersForUpdate
unit-test: module/setup_test.go#L115
cannot use neighboringEpochFn (variable of type func(height uint64, _ uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error)) as func("context".Context, uint64, uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error) value in argument to setupHeadersForUpdate
unit-test: module/setup_test.go#L160
cannot use neighboringEpochFn (variable of type func(height uint64, limit uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error)) as func("context".Context, uint64, uint64) ("github.com/hyperledger-labs/yui-relayer/core".Header, error) value in argument to setupNeighboringEpochHeader
unit-test: module/validator_set_test.go#L57
not enough arguments in call to QueryValidatorSetAndTurnLength
unit-test: module/validator_set_test.go#L67
not enough arguments in call to QueryValidatorSetAndTurnLength
unit-test: tests/prover_network_test.go#L94
not enough arguments in call to module.QueryValidatorSetAndTurnLength
unit-test: tests/prover_network_test.go#L96
not enough arguments in call to module.QueryValidatorSetAndTurnLength
unit-test: tests/prover_network_test.go#L112
not enough arguments in call to ethereum.NewChain
unit-test
issues found
e2e: tests/prover_network_test.go#L94
not enough arguments in call to module.QueryValidatorSetAndTurnLength
e2e: tests/prover_network_test.go#L96
not enough arguments in call to module.QueryValidatorSetAndTurnLength
e2e: tests/prover_network_test.go#L112
not enough arguments in call to ethereum.NewChain
e2e
Process completed with exit code 1.
unit-test
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.22.12-12a0295be3e1c3ccf18f6bd9dbf85f1831da27f65d9e9b9410375f9805f96f25
e2e
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.22.12-12a0295be3e1c3ccf18f6bd9dbf85f1831da27f65d9e9b9410375f9805f96f25