Skip to content

Commit

Permalink
use AMP payments
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Jun 2, 2023
1 parent b055f76 commit 887e2f1
Show file tree
Hide file tree
Showing 18 changed files with 394 additions and 88 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
'deleteMessages',
'boostFail',
'sphinxAuth',
'ampPayment',
]
node: [16]
steps:
Expand All @@ -65,16 +66,14 @@ jobs:
run: |
npm install && npm run build && docker build -t sphinxlightning/sphinx-relay .
- name: Checkout stack
run: |
git clone -b update/proxy-tag https://github.com/stakwork/sphinx-stack.git stack
uses: actions/checkout@v3
with:
repository: antonilol/sphinx-stack
ref: amp
path: stack
- name: give permissions
working-directory: ./stack
run: |
chmod 777 ./bitcoind;
chmod 777 -R ./relay;
chmod 777 -R ./lnd;
chmod 777 -R ./proxy;
chmod 777 -R ./cln;
run: chmod 777 -R bitcoind relay lnd proxy cln
- name: Check for NODES.json
uses: nick-fields/retry@v2
with:
Expand All @@ -88,11 +87,8 @@ jobs:
docker logs dave.sphinx
docker wait stack_relaysetup_1
cat stack/relay/NODES.json;
- name: copy file
uses: canastro/copy-file-action@master
with:
source: 'stack/relay/NODES.json'
target: 'relay/src/tests/configs/nodes.json'
- name: Copy nodes.json
run: cp stack/relay/NODES.json relay/src/tests/configs/nodes.json
- name: Run tests
working-directory: ./relay
run: npx ava src/tests/controllers/${{matrix.test-name}}.test.ts --verbose --serial --timeout=2m
2 changes: 1 addition & 1 deletion dist/src/grpc/interfaces.js.map

Large diffs are not rendered by default.

88 changes: 59 additions & 29 deletions dist/src/grpc/lightning.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/grpc/lightning.js.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion dist/src/grpc/subscribe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/grpc/subscribe.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 887e2f1

Please sign in to comment.