Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend generic channel tests #223

Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/ethereum/channel/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ func FromEthState(app channel.App, s *adjudicator.ChannelState) channel.State {
ID: s.ChannelID,
Version: s.Version,
Allocation: alloc,
App: app,
matthiasgeihs marked this conversation as resolved.
Show resolved Hide resolved
Data: data,
IsFinal: s.IsFinal,
}
Expand Down
7 changes: 0 additions & 7 deletions backend/sim/channel/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,5 @@
package channel

import (
"testing"

_ "perun.network/go-perun/backend/sim/wallet" // backend init
"perun.network/go-perun/channel"
)

func TestSetBackend(t *testing.T) {
channel.SetBackendTest(t)
}
29 changes: 0 additions & 29 deletions channel/backendtest.go

This file was deleted.