diff --git a/docker/README.md b/docker/README.md index b19563540..9d573faa6 100644 --- a/docker/README.md +++ b/docker/README.md @@ -160,6 +160,7 @@ Replace `` with the desired Eclair version (ex: `0.3.3`). ### Tags +- `0.5.0-alpha.rc1` ([tap/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/tapd/Dockerfile)) - `0.4.1-alpha` ([tap/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/tapd/Dockerfile)) - `0.4.0-alpha` ([tap/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/tapd/Dockerfile)) - `0.3.3-alpha` ([tap/Dockerfile](https://github.com/jamaljsr/polar/blob/master/docker/tapd/Dockerfile)) diff --git a/src/store/models/designer.spec.ts b/src/store/models/designer.spec.ts index ce0291159..fa5446acf 100644 --- a/src/store/models/designer.spec.ts +++ b/src/store/models/designer.spec.ts @@ -627,7 +627,7 @@ describe('Designer model', () => { expect.objectContaining({ message: 'Failed to add node', error: new Error( - 'This network does not contain a LND v0.18.0-beta (or higher) ' + + 'This network does not contain a LND v0.18.4-beta.rc1 (or higher) ' + `node which is required for tapd v${tapdLatest}`, ), }), diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 4bbff8c23..44e0cb3ff 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -377,11 +377,18 @@ export const defaultRepoState: DockerRepoState = { versions: [], }, tapd: { - latest: '0.4.1-alpha', - versions: ['0.4.1-alpha', '0.4.0-alpha', '0.3.3-alpha', '0.3.2-alpha'], + latest: '0.5.0-alpha.rc1', + versions: [ + '0.5.0-alpha.rc1', + '0.4.1-alpha', + '0.4.0-alpha', + '0.3.3-alpha', + '0.3.2-alpha', + ], // Not all tapd versions are compatible with all LND versions. // This mapping specifies the minimum compatible LND for each tapd version compatibility: { + '0.5.0-alpha.rc1': '0.18.4-beta.rc1', '0.4.1-alpha': '0.18.0-beta', '0.4.0-alpha': '0.18.0-beta', '0.3.3-alpha': '0.16.0-beta', diff --git a/src/utils/network.spec.ts b/src/utils/network.spec.ts index 5161e5706..278b8d977 100644 --- a/src/utils/network.spec.ts +++ b/src/utils/network.spec.ts @@ -324,7 +324,7 @@ describe('Network Utils', () => { it('should add a tap node linked to the exact minimum LND version', async () => { const lnd = createLndNetworkNode( network, - '0.18.0-beta', + '0.18.4-beta.rc1', defaultRepoState.images.LND.compatibility, { image: '', command: '' }, Status.Stopped, diff --git a/src/utils/tests/helpers.ts b/src/utils/tests/helpers.ts index 524657283..f5ef584f6 100644 --- a/src/utils/tests/helpers.ts +++ b/src/utils/tests/helpers.ts @@ -62,8 +62,10 @@ export const testRepoState: DockerRepoState = { version: 50, images: { LND: { - latest: '0.18.2-beta', + latest: '0.18.4-beta.rc1', versions: [ + '0.18.4-beta.rc1', + '0.18.3-beta', '0.18.2-beta', '0.18.1-beta', '0.18.0-beta', @@ -104,6 +106,8 @@ export const testRepoState: DockerRepoState = { // not all LND versions are compatible with all bitcoind versions. // this mapping specifies the highest compatible bitcoind for each LND version compatibility: { + '0.18.4-beta.rc1': '27.0', + '0.18.3-beta': '27.0', '0.18.2-beta': '27.0', '0.18.1-beta': '27.0', '0.18.0-beta': '27.0', @@ -171,11 +175,18 @@ export const testRepoState: DockerRepoState = { versions: [], }, tapd: { - latest: '0.4.1-alpha', - versions: ['0.4.1-alpha', '0.4.0-alpha', '0.3.3-alpha', '0.3.2-alpha'], + latest: '0.5.0-alpha.rc1', + versions: [ + '0.5.0-alpha.rc1', + '0.4.1-alpha', + '0.4.0-alpha', + '0.3.3-alpha', + '0.3.2-alpha', + ], // Not all tapd versions are compatible with all LND versions. // This mapping specifies the minimum compatible LND for each tapd version compatibility: { + '0.5.0-alpha.rc1': '0.18.4-beta.rc1', '0.4.1-alpha': '0.18.0-beta', '0.4.0-alpha': '0.18.0-beta', '0.3.3-alpha': '0.16.0-beta', @@ -183,11 +194,10 @@ export const testRepoState: DockerRepoState = { }, }, litd: { - latest: '0.13.991-exp', - versions: ['0.13.991-exp', '0.13.99-exp'], + latest: '0.14.0-alpha.rc1', + versions: ['0.14.0-alpha.rc1'], compatibility: { - '0.13.991-exp': '27.0', - '0.13.99-exp': '27.0', + '0.14.0-alpha.rc1': '27.0', }, }, },