Skip to content

Commit

Permalink
use AMP payments
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Apr 6, 2023
1 parent 0eb1def commit 561dbbe
Show file tree
Hide file tree
Showing 21 changed files with 398 additions and 91 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
'actionHistory',
'silentTribeBotMsg',
'kickBot',
'ampPayment',
]
node: [16]
steps:
Expand All @@ -60,15 +61,14 @@ jobs:
run: |
npm install && npm run build && docker build -t sphinxlightning/sphinx-relay .
- name: Checkout stack
run: |
git clone https://github.com/stakwork/sphinx-stack.git stack
- name: give permissions
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;
run: chmod 777 -R bitcoind relay lnd proxy
- name: Check for NODES.json
uses: nick-fields/retry@v2
with:
Expand All @@ -82,11 +82,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 561dbbe

Please sign in to comment.