refactor: consolidate oracle and provider orchestrator #3028
Annotations
10 errors and 1 warning
service/servers/oracle/server.go#L199
cannot use os.o.GetMarketMap() (value of type "github.com/skip-mev/slinky/x/marketmap/types".MarketMap) as *"github.com/skip-mev/slinky/x/marketmap/types".MarketMap value in struct literal
|
pkg/math/testutils/median.go#L12
cannot use &MedianAggregator{} (value of type *MedianAggregator) as oracle.PriceAggregator value in variable declaration: *MedianAggregator does not implement oracle.PriceAggregator (missing method UpdateMarketMap)
|
oracle/init_test.go#L39
cannot use oracle.WithLogger(logger) (value of type "github.com/skip-mev/slinky/oracle".Option) as "github.com/skip-mev/slinky/oracle".PriceAggregator value in argument to oracle.New: "github.com/skip-mev/slinky/oracle".Option does not implement "github.com/skip-mev/slinky/oracle".PriceAggregator (missing method AggregatePrices)
|
oracle/init_test.go#L45
o.Init undefined (type "github.com/skip-mev/slinky/oracle".Oracle has no field or method Init)
|
oracle/init_test.go#L48
o.GetProviderState undefined (type "github.com/skip-mev/slinky/oracle".Oracle has no field or method GetProviderState)
|
oracle/init_test.go#L67
cannot use oracle.WithLogger(logger) (value of type "github.com/skip-mev/slinky/oracle".Option) as "github.com/skip-mev/slinky/oracle".PriceAggregator value in argument to oracle.New: "github.com/skip-mev/slinky/oracle".Option does not implement "github.com/skip-mev/slinky/oracle".PriceAggregator (missing method AggregatePrices)
|
oracle/init_test.go#L74
o.Init undefined (type "github.com/skip-mev/slinky/oracle".Oracle has no field or method Init)
|
oracle/init_test.go#L77
o.GetProviderState undefined (type "github.com/skip-mev/slinky/oracle".Oracle has no field or method GetProviderState)
|
oracle/init_test.go#L124
cannot use oracle.WithLogger(logger) (value of type "github.com/skip-mev/slinky/oracle".Option) as "github.com/skip-mev/slinky/oracle".PriceAggregator value in argument to oracle.New: "github.com/skip-mev/slinky/oracle".Option does not implement "github.com/skip-mev/slinky/oracle".PriceAggregator (missing method AggregatePrices)
|
oracle/init_test.go#L130
o.Init undefined (type "github.com/skip-mev/slinky/oracle".Oracle has no field or method Init)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading