Skip to content

Conversation

sophia1ch
Copy link

This PR extends hyperledger-labs#54 and includes adjustments to match hyperledger-labs/perun-eth-contracts#41 and hyperledger-labs/go-perun#413 by changing the channelID map in State to a singular channelID.

fix(all): Adjust code to use singular channelID instead of map

Signed-off-by: Sophia Koehler <[email protected]>
Signed-off-by: Sophia Koehler <[email protected]>
Signed-off-by: Sophia Koehler <[email protected]>
Signed-off-by: Sophia Koehler <[email protected]>
@sophia1ch sophia1ch merged commit 86a48df into adjust-to-stellar Feb 19, 2025
4 checks passed
sophia1ch added a commit that referenced this pull request Apr 8, 2025
* chore: Update to latest multi-backend commit in go-perun.
fix(All): Adjust to usage of Address maps instead of singular addresses.

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Update to latest multi-backend commit in go-perun.
fix(All): Adjust to usage of BackendID in AddressMaps.
feat: Latest cross-chain changes in eth-contract.

Signed-off-by: Sophia Koehler <[email protected]>

* feat(asset): Change to multi.Asset implementation.
chore: Update to latest go-perun version.

Signed-off-by: Sophia Koehler <[email protected]>

* feat(asset): Change to multi.Asset implementation.
chore: Update to latest go-perun version.

Signed-off-by: Sophia Koehler <[email protected]>

* feat(all): Adjust to mutli.AssetID implementation & specify backendID in tests
chore: Update to latest go-perun version

Signed-off-by: Sophia Koehler <[email protected]>

* feat(asset): Change to multi.Asset implementation.
chore: Update to latest go-perun version.

Signed-off-by: Sophia Koehler <[email protected]>

* chore(go.mod): Update go-perun version
fix(all): adjust Address() return type to []byte, add backendID argument for sign calls
fix(backend.go): handle ccAddresses in participant conversion
fix(conclude.go): Use own StateMap implementation to handle subscriptions to only eth channelIDs
fix(funder.go): Sort out Assets that do not fit EthAsset before funding

Signed-off-by: Sophia Koehler <[email protected]>

* fix(adjudicator.go, test, contractbackend.go): Use chainID.MapKey as key in shared nonce map
chore: Update dependency, remove logging

Signed-off-by: Sophia Koehler <[email protected]>

* feat(bindings): Add latest compiled contract

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Add Maintainers file

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): update go-perun dependency and gofmt files

Signed-off-by: Sophia Koehler <[email protected]>

* fix: delete toolchain directive

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Add comments

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Add comments

Signed-off-by: Sophia Koehler <[email protected]>

* fix: increase test timeout

Signed-off-by: Sophia Koehler <[email protected]>

* Remove channel id array (#2)

* chore: Update go-perun dependency and contract bindings
fix(all): Adjust code to use singular channelID instead of map

Signed-off-by: Sophia Koehler <[email protected]>

* fix: remove unwanted linters

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Use named BackendID and update license date

Signed-off-by: Sophia Koehler <[email protected]>

* chore(channel): go fmt files

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Add comments

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Update go-perun dependency

Signed-off-by: Sophia Koehler <[email protected]>

---------

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Refactoring and remove unnecessary logs

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Update license date
fix(ci): revert change in timeout
chore(address, backend): change named backendID occurrences

Signed-off-by: Sophia Koehler <[email protected]>

* fix(golangci): allow 2025 in license header

Signed-off-by: Sophia Koehler <[email protected]>

---------

Signed-off-by: Sophia Koehler <[email protected]>
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