Skip to content

feat: add RemoveExpiredPolicies #2116

feat: add RemoveExpiredPolicies

feat: add RemoveExpiredPolicies #2116

Triggered via pull request August 9, 2023 13:54
Status Failure
Total duration 1m 59s
Artifacts

lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/bridge_test.go#L1
: # github.com/bnb-chain/greenfield/e2e/tests [github.com/bnb-chain/greenfield/e2e/tests.test]
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L305
cannot use storagetypes.MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L323
cannot use storagetypes.MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L354
cannot use storagetypes.MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L392
cannot use storagetypes.MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): e2e/tests/storage_test.go#L1564
cannot use expiration (variable of type "time".Time) as *"time".Time value in struct literal (typecheck)
golangci-lint (1.20.x, ubuntu-latest): x/storage/types/codec.go#L1
: # github.com/bnb-chain/greenfield/x/storage/types [github.com/bnb-chain/greenfield/x/storage/types.test]
golangci-lint (1.20.x, ubuntu-latest): x/storage/types/message_test.go#L254
cannot use MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): x/storage/types/message_test.go#L258
cannot use MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal
golangci-lint (1.20.x, ubuntu-latest): x/storage/types/message_test.go#L453
cannot use MaxTimeStamp (variable of type "time".Time) as *"time".Time value in struct literal