Skip to content

feat: add v3 proof and message types in session module #764

feat: add v3 proof and message types in session module

feat: add v3 proof and message types in session module #764

Triggered via push July 7, 2024 16:52
Status Failure
Total duration 40s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
run: x/session/keeper/abci.go#L19
cannot use func(_ int, item v2.Session) bool {…} (value of type func(_ int, item "github.com/sentinel-official/hub/v12/x/session/types/v2".Session) bool) as func(index int, item v3.Session) (stop bool) value in argument to k.IterateSessionsForInactiveAt
run: x/session/keeper/abci.go#L33
cannot use item (variable of type "github.com/sentinel-official/hub/v12/x/session/types/v2".Session) as v3.Session value in argument to k.SetSession: "github.com/sentinel-official/hub/v12/x/session/types/v2".Session does not implement v3.Session (missing method GetAccAddress)
run: x/session/keeper/genesis.go#L18
cannot use item (variable of type "github.com/sentinel-official/hub/v12/x/session/types/v2".Session) as v3.Session value in argument to k.SetSession: "github.com/sentinel-official/hub/v12/x/session/types/v2".Session does not implement v3.Session (missing method GetAccAddress)
run: x/session/keeper/genesis.go#L33
k.SetSessionCount undefined (type *Keeper has no field or method SetSessionCount)
run: x/session/keeper/genesis.go#L38
cannot use k.GetSessions(ctx) (value of type []v3.Session) as "github.com/sentinel-official/hub/v12/x/session/types/v2".Sessions value in argument to v2.NewGenesisState
run: x/session/keeper/hooks.go#L15
cannot use func(_ int, item v2.Session) (stop bool) {…} (value of type func(_ int, item "github.com/sentinel-official/hub/v12/x/session/types/v2".Session) (stop bool)) as func(index int, item v3.Session) (stop bool) value in argument to k.IterateSessionsForSubscription
run: x/session/keeper/hooks.go#L34
cannot use item (variable of type "github.com/sentinel-official/hub/v12/x/session/types/v2".Session) as v3.Session value in argument to k.SetSession: "github.com/sentinel-official/hub/v12/x/session/types/v2".Session does not implement v3.Session (missing method GetAccAddress)
run: x/session/keeper/msg_handler.go#L16
session.Status undefined (type v3.Session has no field or method Status)
run: x/session/keeper/msg_handler.go#L17
session.ID undefined (type v3.Session has no field or method ID)
run: x/session/keeper/msg_handler.go#L17
session.Status undefined (type v3.Session has no field or method Status)