Skip to content

Add getEvents backed by DB #80

Add getEvents backed by DB

Add getEvents backed by DB #80

Triggered via pull request June 21, 2024 16:28
Status Failure
Total duration 2m 58s
Artifacts

golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L530
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L560
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L599
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L663
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L712
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L807
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L883
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L934
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange)
golangci-lint: cmd/soroban-rpc/internal/methods/get_events_test.go#L1021
cannot use store (variable of type *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler) as "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader value in struct literal: *"github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".MockEventHandler does not implement "github.com/stellar/soroban-rpc/cmd/soroban-rpc/internal/db".EventReader (missing method GetLedgerRange) (typecheck)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.