-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(wallet, channel): Change backend to map of backends feat(Asset, Adjudicator): Add AssetID struct to identify assets with LedgerID and BackendID feat(persistence, wire): Use map[int]Address to identify clients Signed-off-by: Sophia Koehler <[email protected]> * fix(multi): Add AssetIDKey struct to fix the map lookups for funders and adjudicators. fix(randomizer): Lookup backend opts to correctly initialize address maps. fix(test): Generalize tests to be used in other backends. Signed-off-by: Sophia Koehler <[email protected]> * fix(all): Use map[int]ID instead of id for each backend. Signed-off-by: Sophia Koehler <[email protected]> * fix(all): Add map of IDs Signed-off-by: Sophia Koehler <[email protected]> * fix(channel/backend): Revert change in verify. fix(wallet/wallet, wallet/account): Revert changed definition. feat(client): Add wallet map to client for each backend. Signed-off-by: Sophia Koehler <[email protected]> * fix(Adjudicator): Change to singular channel ID in events. Signed-off-by: Sophia Koehler <[email protected]> * fix(client/test): Generalize role test. Signed-off-by: Sophia Koehler <[email protected]> * feat(channel): Add backend field check. feat(client/test, wire): Add backendID arguments. Signed-off-by: Sophia Koehler <[email protected]> * fix(subchannel_dispute): Generalize event watcher. Signed-off-by: Sophia Koehler <[email protected]> * feat: Asset Address function to handle encoding in backends. Signed-off-by: Sophia Koehler <[email protected]> * feat(apps/payment, backend/sim, channel/test, client/test, log, wallet, ): Specify backend for randomizers feat(channel/multi): Change AssetID to interface feat(channel/persistence, client/test): Generalize test for backends Signed-off-by: Sophia Koehler <[email protected]> * fix(asset.go, allocation.go): Adjust Address() to return byte[] instead of string. fix(params.go): Change IDKey to encode map entries sorted by keys. fix(backend.go): Use BackendID in argument to sign depending on backend. fix(address.go): Sort Addresses by keys before adding them to Keys. Signed-off-by: Sophia Koehler <[email protected]> * chore: Remove unnecessary logs Signed-off-by: Sophia Koehler <[email protected]> * fix: Remove repeated assetIDs in LedgerID array Signed-off-by: Sophia Koehler <[email protected]> * chore: update go.sum, gofmt some files Signed-off-by: Sophia Koehler <[email protected]> * fix(wallet/backend.go): Return just one error instead of concatenation of errors chore(All): Run gofmt and sort imports Signed-off-by: Sophia Koehler <[email protected]> * fix(golangci.yml): Exclude generated file from linter chore: Refactor for linter Signed-off-by: Sophia Koehler <[email protected]> * fix(ci): Use go1.18 for the any type in proto fix(golangci): Fix structure Signed-off-by: Sophia Koehler <[email protected]> * fix(ci): Use glinter 1.45 which supports go1.18 Signed-off-by: Sophia Koehler <[email protected]> * chore(all): Add nolint flags for conversions Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): remove unnecessary flags Signed-off-by: Sophia Koehler <[email protected]> * chore(all): Rename and add comments to exported functions Signed-off-by: Sophia Koehler <[email protected]> * chore: Rename variables Signed-off-by: Sophia Koehler <[email protected]> * fix(params, address): Fix index allocation Signed-off-by: Sophia Koehler <[email protected]> * refactor(/apps/payment, /sim/wallet, /channel, /client, /wallet, /wire): Name test backend ID in tests refactor(/multi, /client/test): Rename AssetID to MultiLedgerID Signed-off-by: Sophia Koehler <[email protected]> * refactor: Name TestBackendID, rename multiLedgerID to LedgerBackendID Signed-off-by: Sophia Koehler <[email protected]> * refactor: Fix comment on exported function Signed-off-by: Sophia Koehler <[email protected]> * chore(all): Update license dates Signed-off-by: Sophia Koehler <[email protected]> * chore(backendtest): Rename to fix import issues Signed-off-by: Sophia Koehler <[email protected]> * chore: Update license date fix: revert increased timeouts Signed-off-by: Sophia Koehler <[email protected]> --------- Signed-off-by: Sophia Koehler <[email protected]>
- Loading branch information
Showing
152 changed files
with
3,610 additions
and
1,961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
release: | ||
|
||
env: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
|
||
jobs: | ||
check-copyright: | ||
|
@@ -39,7 +39,7 @@ jobs: | |
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.43 | ||
version: v1.45 | ||
|
||
- name: Lint proto files | ||
uses: plexsystems/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.