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

Use auth.From for getting the Nonce in NewTransactor #31

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

cryptphil
Copy link
Member

This allows clients to let other clients with a different account to send transactions to the adjudicator for them because now it will fetch the nonce from the address returned by the transactor which is in control of the client.
This is especially useful in the case of multi-ledger channels where a client might not be able to send transactions on a different chain s.t. a hub undertakes these transactions for the client.

cryptphil and others added 2 commits August 12, 2022 16:14
…ansactor

Signed-off-by: Philipp-Florens Lehwalder <philipp@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Copy link
Contributor

@matthiasgeihs matthiasgeihs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a commit that resolved an inconsistency introduced through your change.

Please have a look and feel free to merge. @cryptphil

channel/contractbackend.go Outdated Show resolved Hide resolved
@cryptphil cryptphil merged commit 4eb194c into hyperledger-labs:main Aug 24, 2022
@cryptphil cryptphil deleted the allow-relaying-adj-tx branch August 24, 2022 07:34
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.

2 participants