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

Adapt to go-perun v0.11.0 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

iljabvh
Copy link

@iljabvh iljabvh commented Aug 22, 2024

This PR updates the code for compatibility with go-perun v0.11.0. In particular, we introduce the new AppID type and update the code accordingly.

* chore(go.mod, go.sum): Change dependency to go-perun v0.11.0
* refactor(channel/app.go): Add AppID struct type fulfilling the AppID interface from go-perun
* refactor(channel/backend.go): Add NewAppID function to generate an AppID for app channels
* refactor(channel/channel.go): Remove AppID type, as it is now defined in app.go
* refactor(channel/encoding.go): Adapt NewParams function to the new AppID type
* refactor(AdjudicatorSub): Adapt event generation to the new AppID type
* test(client/appchannel_test.go): Adjust to new AppID type.
* refactor(wallet/.../wallet.go): Add NewRandomAddress function.
@iljabvh iljabvh requested a review from NhoxxKienn August 22, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant