Restore compatibility between go-perun post-0.10.6 and eth-backend #133
Annotations
29 errors and 4 warnings
Race Test:
channel/backend.go#L43
cannot use new(Backend) (type *Backend) as type channel.Backend in assignment:
|
Race Test:
channel/backend.go#L155
cannot use p.App.Def() (type channel.AppID) as type "perun.network/go-perun/wallet".Address in argument to "github.com/perun-network/perun-eth-backend/wallet".AsEthAddr:
|
Race Test:
channel/init.go#L22
cannot use new(Backend) (type *Backend) as type channel.Backend in argument to channel.SetBackend:
|
Race Test:
channel/subscription.go#L186
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(ch.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Race Test:
channel/subscription.go#L204
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(args.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Race Test:
channel/backend.go#L43
cannot use new(Backend) (type *Backend) as type channel.Backend in assignment:
|
Race Test:
channel/backend.go#L155
cannot use p.App.Def() (type channel.AppID) as type "perun.network/go-perun/wallet".Address in argument to "github.com/perun-network/perun-eth-backend/wallet".AsEthAddr:
|
Race Test:
channel/init.go#L22
cannot use new(Backend) (type *Backend) as type channel.Backend in argument to channel.SetBackend:
|
Race Test:
channel/subscription.go#L186
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(ch.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Race Test:
channel/subscription.go#L204
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(args.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Test:
channel/backend.go#L43
cannot use new(Backend) (type *Backend) as type channel.Backend in assignment:
|
Test:
channel/backend.go#L155
cannot use p.App.Def() (type channel.AppID) as type "perun.network/go-perun/wallet".Address in argument to "github.com/perun-network/perun-eth-backend/wallet".AsEthAddr:
|
Test:
channel/init.go#L22
cannot use new(Backend) (type *Backend) as type channel.Backend in argument to channel.SetBackend:
|
Test:
channel/subscription.go#L186
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(ch.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Test:
channel/subscription.go#L204
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(args.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Test:
channel/backend.go#L43
cannot use new(Backend) (type *Backend) as type channel.Backend in assignment:
|
Test:
channel/backend.go#L155
cannot use p.App.Def() (type channel.AppID) as type "perun.network/go-perun/wallet".Address in argument to "github.com/perun-network/perun-eth-backend/wallet".AsEthAddr:
|
Test:
channel/init.go#L22
cannot use new(Backend) (type *Backend) as type channel.Backend in argument to channel.SetBackend:
|
Test:
channel/subscription.go#L186
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(ch.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Test:
channel/subscription.go#L204
cannot use "github.com/perun-network/perun-eth-backend/wallet".AsWalletAddr(args.Params.App) (type *"github.com/perun-network/perun-eth-backend/wallet".Address) as type channel.AppID in argument to channel.Resolve:
|
Lint:
channel/test/adjudicator.go#L61
cannot use &(SimRegisteredSub literal) (value of type *SimRegisteredSub) as "perun.network/go-perun/channel".AdjudicatorSubscription value in return statement: *SimRegisteredSub does not implement "perun.network/go-perun/channel".AdjudicatorSubscription (missing method Close) (typecheck)
|
Lint:
channel/test/adjudicator.go#L29
"perun.network/go-perun/log" imported but not used (typecheck)
|
Lint:
channel/backend.go#L43
cannot use new(Backend) (value of type *Backend) as "perun.network/go-perun/channel".Backend value in variable declaration: *Backend does not implement "perun.network/go-perun/channel".Backend (missing method NewAppID) (typecheck)
|
Lint:
channel/backend.go#L155
cannot use p.App.Def() (value of type "perun.network/go-perun/channel".AppID) as "perun.network/go-perun/wallet".Address value in argument to ethwallet.AsEthAddr: "perun.network/go-perun/channel".AppID does not implement "perun.network/go-perun/wallet".Address (wrong type for method Equal)
|
Lint:
channel/init.go#L22
cannot use new(Backend) (value of type *Backend) as "perun.network/go-perun/channel".Backend value in argument to channel.SetBackend: *Backend does not implement "perun.network/go-perun/channel".Backend (missing method NewAppID) (typecheck)
|
Lint:
channel/subscription.go#L186
cannot use wallet.AsWalletAddr(ch.Params.App) (value of type *"github.com/perun-network/perun-eth-backend/wallet".Address) as "perun.network/go-perun/channel".AppID value in argument to channel.Resolve: *"github.com/perun-network/perun-eth-backend/wallet".Address does not implement "perun.network/go-perun/channel".AppID (wrong type for method Equal)
|
Lint:
channel/subscription.go#L204
cannot use wallet.AsWalletAddr(args.Params.App) (value of type *"github.com/perun-network/perun-eth-backend/wallet".Address) as "perun.network/go-perun/channel".AppID value in argument to channel.Resolve: *"github.com/perun-network/perun-eth-backend/wallet".Address does not implement "perun.network/go-perun/channel".AppID (wrong type for method Equal)
|
Lint:
client/app_test.go#L48
cannot use appAddress (variable of type "perun.network/go-perun/wallet".Address) as "perun.network/go-perun/channel".AppID value in argument to channel.NewMockApp: "perun.network/go-perun/wallet".Address does not implement "perun.network/go-perun/channel".AppID (wrong type for method Equal)
|
Lint
issues found
|
Race Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Generate bindings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|