Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
05da69c
Update Node API
martindale Feb 10, 2023
7a5f7fe
Passthrough Node events
martindale Feb 10, 2023
cb8dcfa
Re-enable UPNP
martindale Feb 10, 2023
bff28f8
Pin nat-upnp version
martindale Feb 10, 2023
164b0b3
Remove stale code from Peer
martindale Feb 10, 2023
a13c454
Update TODO report
martindale Feb 10, 2023
4b41147
Add peer announcements
martindale Feb 10, 2023
8ebe296
Update message format, use BIP340
martindale Feb 12, 2023
75db419
Add various tooling, cleanup preimage in Signer
martindale Feb 15, 2023
d00e859
General cleanup of Peer
martindale Feb 15, 2023
e33164e
Snapshot changes to Peer, Node APIs
martindale Feb 21, 2023
4f72b7f
Error handling pass
martindale Feb 22, 2023
89f99d2
Restore Peer and Remote in Fabric API
martindale Feb 26, 2023
09bc2fc
Merge branch 'master' of github.com:FabricLabs/fabric into feature/docs
martindale Feb 28, 2023
c6ca374
Update documentation to latest API
martindale Feb 28, 2023
9d594c2
Update to jsdoc 4.0.2
martindale Feb 28, 2023
61238d3
Merge branch 'master' of github.com:FabricLabs/fabric into feature/js…
martindale Feb 28, 2023
ae2c1f8
Remove aliases directory
martindale Mar 1, 2023
387516f
Cleanup Capability, Peer
martindale Mar 12, 2023
c44277b
Enable persistence, peer scoring
martindale Mar 16, 2023
6480f29
Add missing _registerPeer method
martindale Mar 16, 2023
ee692a3
Remove old methods from Peer, add debug to settings
martindale Mar 17, 2023
4d8014e
Specify Contract store, semantics
martindale Mar 21, 2023
d4a7c57
Begin handling browser case in Actor
martindale Mar 23, 2023
9cd1046
Update .nvmrc
martindale Mar 23, 2023
cf977ae
Update API, package-lock.json, some Contract fixes
martindale Mar 23, 2023
0fbbf60
Finalize Contract deploy signing
martindale Mar 23, 2023
d919ca3
Enable Contract state monitoring
martindale Mar 23, 2023
675d4d9
Cleanup contract AST importer
martindale Mar 23, 2023
74adab4
Cleanup log events
martindale Mar 23, 2023
b89b661
Add INSTALL.md, update install report
martindale Mar 24, 2023
c263309
Update OWNERS
martindale Mar 24, 2023
8b82700
Add Codecov to GitHub Actions
martindale Mar 28, 2023
7b8e5ba
Generate static coverage report in GitHub Test workflow
martindale Mar 28, 2023
e038487
Disable a number of obsolete tests, fix Peer close() issue
martindale Mar 28, 2023
b185beb
Disable Bitcoin fullnode, rely on Bitcoin Core
martindale Mar 28, 2023
7773bb4
Clean up Federation tests
martindale Mar 28, 2023
2ce7997
Remove components, resources
martindale Mar 28, 2023
95b5ddc
Consolidate `tools` to `scripts`
martindale Mar 28, 2023
17e7326
Refine test workflow, begin rework of Bitcoin tests
martindale Mar 30, 2023
93382c7
Update various tests, run recursively
martindale Mar 30, 2023
fcbaf7b
Enhance Key tests
martindale Mar 30, 2023
d0fe715
Add Bitcoin Transaction test origin
martindale Mar 30, 2023
8cf7014
Add Capability test skeleton
martindale Mar 30, 2023
8e4dcc3
Add basic capability tokens
martindale Mar 30, 2023
f51c896
Add Bitcoin Block test
martindale Mar 30, 2023
2366761
Cleanup test workflow, update Bitcoin class inheritances
martindale Mar 30, 2023
a83b8e6
Fix dependency paths
martindale Mar 30, 2023
b0e8b01
Call super() in Block constructor
martindale Mar 30, 2023
058f2d6
Test Contract#deploy()
martindale Mar 30, 2023
678f9c6
Test address generation
martindale Mar 30, 2023
42be2ca
Extend Service tests
martindale Mar 30, 2023
d3bbb35
Update App tests
martindale Mar 30, 2023
7513826
Introduce verify() to Environment
martindale Mar 30, 2023
73e3043
Test Service persistent mode
martindale Mar 30, 2023
fb0a6f9
Re-enable channel registration test
martindale Mar 30, 2023
a9cad8b
Restore Remote test (rewrite)
martindale Mar 30, 2023
b29c8fd
Add Filesystem#delete() test
martindale Mar 30, 2023
71bc714
Re-enable Peer test
martindale Mar 30, 2023
a42feb0
Add various method tests to Remote
martindale Mar 30, 2023
3b5ca97
Test Contract start and stop
martindale Mar 30, 2023
88361e3
Add Federation start and stop tests
martindale Mar 30, 2023
d516af0
Extend Actor, Bitcoin Transaction tests
martindale Mar 30, 2023
ef3cbcb
Add various methods to Remote tests
martindale Mar 30, 2023
92159ee
Contract Semantics (#130)
martindale Mar 30, 2023
532cbbf
Merge branch 'master' into feature/cleanup
martindale Mar 30, 2023
7e563b4
Update various documentation
martindale Mar 30, 2023
0949c62
Remove Travis badge
martindale Mar 30, 2023
f321f6d
Remove samples
martindale Mar 30, 2023
e912b75
Move validators to functions
martindale Mar 30, 2023
c7d1086
Move test document to fixtures
martindale Mar 30, 2023
6cc58b1
General Cleanup (#131)
martindale Mar 30, 2023
e01e00e
Merge branch 'master' of github.com:FabricLabs/fabric into eric/develop
martindale Mar 30, 2023
3dc206c
Import updates from storytelling pass
martindale Mar 30, 2023
c1c63c0
Merge branch 'master' into feature/v0.1.0-RC1
martindale Mar 30, 2023
034422e
Remove old NOISE definition
martindale Mar 30, 2023
da93465
Merge branch 'develop' of github.com:FabricLabs/fabric into feature/v…
martindale Mar 30, 2023
a90b211
Add push workflow
martindale Mar 30, 2023
0546958
Merge branch 'master' into feature/v0.1.0-RC1
martindale Mar 30, 2023
6e407fa
Merge branch 'feature/cleanup' of github.com:FabricLabs/fabric into f…
martindale Mar 30, 2023
1774e95
Remove Layer definition
martindale Mar 30, 2023
8d32de9
Disable Layer in Channel
martindale Mar 30, 2023
81c69c8
Add fund and add methods to Channel tests
martindale Mar 30, 2023
326f5fd
Security update
martindale Apr 1, 2023
a0ca209
Re-work Remote props
martindale Apr 1, 2023
9ec0478
Update Remote tests
martindale Apr 1, 2023
b46dd73
Report production install
martindale Apr 1, 2023
fb890cd
Begin work on validation
martindale Apr 2, 2023
ec96388
Disable default message signer
martindale Apr 8, 2023
5c962d5
Update Message tests
martindale Apr 8, 2023
f8a7329
Update test workflow
martindale Apr 8, 2023
09bbf87
Add validate() test
martindale Apr 8, 2023
dada192
Remove crypto from constants
martindale Apr 8, 2023
f1893d7
Add bn.js
martindale Apr 8, 2023
3e8dc02
Add `spendable` property to Actor
martindale Apr 9, 2023
5a16beb
Add Fabric Labs logo
martindale Apr 9, 2023
25fc0de
Replace UPNP implementation, improve Key portability
martindale Apr 12, 2023
cc3d90a
Prune deprecations
martindale Apr 12, 2023
1c9a537
Add 'buffer' to dependencies
martindale Apr 12, 2023
ab169e4
Add sync() to Service, CLI updates
martindale Apr 12, 2023
011a007
Cover _defineResource in Service tests
martindale Apr 13, 2023
44dca44
Add ACCESSIBILITY.md, update test workflow
martindale Apr 14, 2023
c3776e6
Increase Key test limit to 15 seconds
martindale Apr 16, 2023
bb9365f
Add index.html asset
martindale Apr 16, 2023
e74e45c
Add build, browser scripts
martindale Apr 16, 2023
02ff4bb
Remove .travis.yml
martindale Apr 16, 2023
53c245e
v0.1.0-RC1 (#133)
martindale Apr 16, 2023
e47f972
Merge branch 'master' into feature/v0.1.0-RC1
martindale Apr 16, 2023
0a3aaba
Merge branch 'feature/v0.1.0-RC1' of github.com:FabricLabs/fabric int…
martindale Apr 18, 2023
3f753fb
Refactor Hash256 for browser
martindale Apr 18, 2023
0ce1c59
Re-work Hash256 API
martindale Apr 18, 2023
b418038
Add Hash256.compute() test
martindale Apr 18, 2023
f68bd32
Remove wallet from Peer, update docs, various changes
martindale May 14, 2023
6bf4fd6
General update; package re-check, scripts for federations
martindale Jun 14, 2023
72c434f
Merge pull request #132 from FabricLabs/feature/clean-install
martindale Jun 14, 2023
9c67c3b
Improve Hash256 portability
martindale Jul 15, 2023
49217c7
Unlock Service settings, migrate to Noble
martindale Sep 12, 2023
1d0c7cc
Update package-lock.json
martindale Dec 20, 2023
f67bf14
Amend Service definition
martindale Dec 27, 2023
9463dbd
Update package-lock.json
martindale Dec 27, 2023
7c8f857
Add explicit Python installation
martindale Dec 27, 2023
fbf49a2
Add Token tests
martindale Dec 27, 2023
e9436d6
Update to Node 18 in package.json, update install report
martindale Dec 27, 2023
47aa98b
Fix 2 critical security issues
martindale Dec 27, 2023
9c8ce67
Update .nvmrc
martindale Dec 27, 2023
1a10466
Update package-lock.json
martindale Jan 1, 2024
eb4c07c
Merge pull request #142 from FabricLabs/feature/node-18
martindale Jan 1, 2024
1e4e186
Merge pull request #141 from FabricLabs/feature/v0.1.0-RC1
martindale Jan 2, 2024
2288a5f
Documentation update
martindale Jan 20, 2024
7212c99
Update Actor documentation
martindale Jan 24, 2024
d5db2dc
Update documentation, add tests
martindale Jan 25, 2024
c90ef83
Migrate to ZeroMQ.js @ 6
martindale Jan 28, 2024
d20c589
Update INSTALL.md, QUICKSTART.md
martindale Feb 8, 2024
647203e
Introduce new environment tests
martindale Feb 8, 2024
843038f
Update Environment tests
martindale Feb 8, 2024
59b7d26
Merge pull request #146 from FabricLabs/feature/zmq-cleanup
martindale Feb 20, 2024
72a058d
Update NAT, fix GHSA-x3cc-x39p-42qx, GHSA-78xj-cgh5-2h22
martindale Feb 20, 2024
f6b6e0c
Merge pull request #147 from FabricLabs/feature/nat-cleanup
martindale Feb 20, 2024
bd487ee
Align README
martindale Feb 20, 2024
0724660
Merge branch 'feature/v0.1.0-RC1' of github.com:FabricLabs/fabric int…
martindale Feb 20, 2024
6392762
Remove UPNP
martindale Feb 20, 2024
14e416c
Update package-lock.json, fix version in example
martindale Feb 26, 2024
5a97e5b
Safely reduce verbosity (famous last words)
martindale Feb 26, 2024
9c742be
Add various missing files, update install report
martindale Feb 26, 2024
868a653
Update package-lock.json
martindale Mar 4, 2024
ecac597
Update package-lock.json, install report
martindale May 15, 2024
d44f6c4
Merge pull request #145 from FabricLabs/feature/v0.1.0-RC1
martindale May 15, 2024
2318fb0
Update package-lock.json, install report
martindale Jun 5, 2024
123fd5d
Upgrade various dependencies; esp. math primitives
martindale Jun 26, 2024
d2799b2
Update package-lock.json, install report
martindale Jul 11, 2024
0b919b7
Update package-lock.json
martindale Sep 24, 2024
0267f11
Update API documentation, packages, downstream additions
martindale Oct 21, 2024
164cb22
Fix 2 vulnerabilities
martindale Oct 21, 2024
c26da37
Update package-lock, install report, audit report
martindale Oct 21, 2024
d10d68d
Correct package.json entry
martindale Oct 21, 2024
2fe661a
Fix `elliptic` failing to validate some signatures
martindale Oct 28, 2024
5e6a4e3
Upgrade zeromq, jayson dependencies
martindale Nov 3, 2024
4e46437
General sweep of package updates
martindale Nov 3, 2024
1ded412
Update package-lock.json, package.json
martindale Nov 3, 2024
96b90e3
Strip various deprecated APIs
martindale Nov 5, 2024
753f69a
Update to Node 18.19.1
martindale Dec 3, 2024
4febaf4
Update documentation, improve logging
martindale Dec 5, 2024
8b2b120
Update docs
martindale Dec 6, 2024
def4885
Use latest dependencies
martindale Dec 9, 2024
554fb78
typo-Update DEVELOPERS.md
romashka-btc Dec 30, 2024
407576d
Add local Bitcoin node configuration
martindale Jan 3, 2025
bd3d052
Disable Filesystem tests, harden Bitcoin node
martindale Jan 3, 2025
8f13c15
Merge pull request #151 from romashka-btc/fix/err
martindale Jan 17, 2025
5cd58d0
Add bitcoind to GitHub workflow
martindale Jan 17, 2025
cd19fdb
Update install report, add bitcoin PPA to test
martindale Jan 17, 2025
9003173
Merge branch 'master' of github.com:FabricLabs/fabric into feature/v0…
martindale Jan 17, 2025
1a2913a
Use direct download for bitcoind
martindale Jan 17, 2025
b85abbf
Switch to bitcoind 27
martindale Jan 17, 2025
65335a6
Update node-env.nix
crStiv Jan 14, 2025
a2af82f
Update package-lock.json, install report
martindale Jan 25, 2025
be5ca77
General sweep of updated packages
martindale Jan 25, 2025
b64c252
Extend "many key" test time limit to 30s
martindale Jan 25, 2025
ecaa431
Increase key test to 60s
martindale Jan 25, 2025
791ad1e
Merge pull request #149 from FabricLabs/feature/v0.1.0-RC1
martindale Jan 25, 2025
43bb852
Update API.md, package-lock.json with recent hotfixes
martindale Mar 23, 2025
a28dda2
Add mock verify, update packages
martindale Apr 17, 2025
adeb17d
Migrate to Node 22
martindale Apr 17, 2025
467b633
Update documentation
martindale Apr 17, 2025
1b008e8
Add BITCOIN_GENESIS_HASH as new constant
martindale Apr 18, 2025
24e9486
Switch to setup-node 4.x in GitHub actions
martindale Apr 18, 2025
a26429a
Extend "many key" test timeout to 120s
martindale Apr 18, 2025
b46f019
Extend many Key test to 180 seconds
martindale Apr 18, 2025
868a087
Increase application test to 10s
martindale Apr 18, 2025
63d7683
Improve Bitcoin failure modes, add managed `lightningd`
martindale Apr 25, 2025
b577b86
Update GitHub test configuration to support MacOS
martindale Apr 25, 2025
83435d7
Add Lightning install to GitHub test action
martindale Apr 25, 2025
11d90ce
Compile Lightning from source on Ubuntu for GitHub tests
martindale Apr 25, 2025
ff40a91
Add Mako to Lightning install process in GitHub tests
martindale Apr 25, 2025
23fa48b
Re-work Lightning install to follow official instructions
martindale Apr 25, 2025
62fbdef
Re-add Mako to GitHub tests
martindale Apr 25, 2025
b68f7f9
Add `grpcio-tools` to Lightning install action
martindale Apr 25, 2025
e25ff7b
Disable "generate block" test
martindale Apr 25, 2025
8a5dbf0
Add local logfile for Lightning tests
martindale Apr 25, 2025
e1a5eeb
Add logfile to lightningd service
martindale Apr 25, 2025
0882f18
Specify new test ports for Peer, Bitcoin
martindale Apr 25, 2025
6997448
Run tests in serial, begin Lightning re-work
martindale Apr 25, 2025
fdd7926
Add `protobuf-compiler` to GitHub test setup
martindale Apr 25, 2025
eb1978b
Add Rust setup to GitHub test action
martindale Apr 25, 2025
c48224c
Change $GITHUB_PATH to $PATH for Rust setup in GitHub test action
martindale Apr 25, 2025
3a400f1
Improve Bitcoin service management, update GitHub test action
martindale Apr 25, 2025
b60c383
Add GitHub-specific Cargo for test action
martindale Apr 26, 2025
47372fa
Add `rustfmt` and `clippy` to GitHub test action for Lightning
martindale Apr 26, 2025
b5282c3
Remove GRPC step in Lightning build during GitHub test action
martindale Apr 26, 2025
5fe41c5
Feature/federation taproot (#157)
martindale Apr 29, 2025
0989873
Merge branch 'master' into feature/v0.1.0-RC1
martindale Apr 29, 2025
e35f58a
Clean up root directory by introducing `guides`
martindale Apr 29, 2025
d8940c2
Remove Rust from GitHub test action
martindale Apr 29, 2025
757cfdd
Update documentation
martindale Apr 30, 2025
66d42de
Remove old tests, migrate images to assets
martindale May 14, 2025
870d24e
Disable generateblocks test
martindale May 14, 2025
bdbae7e
Update package-lock.json, Bitcoin tests
martindale May 14, 2025
51f2e14
Use random directory for Bitcoin tests
martindale May 14, 2025
d4b745e
Allow datadir to be specified
martindale May 14, 2025
903d758
Allow Bitcoin tests 60s
martindale May 14, 2025
009f337
Remove a variety of internal methods
martindale May 15, 2025
e29c715
Double the timeout for Bitcoin tests
martindale May 15, 2025
241df45
Use debug in Bitcoin tests
martindale May 15, 2025
60d1acb
Remove wallet from expectations
martindale May 15, 2025
69e59fa
Use descriptor wallet in tests
martindale May 15, 2025
321f830
Disable wallet loading in Bitcoin service
martindale May 15, 2025
3420614
Improve ZMQ resilience
martindale May 15, 2025
60b79e3
Sync Balances on Bitcoin start
martindale May 15, 2025
a731497
Add debug to Bitcoin test
martindale May 15, 2025
1e94bb7
Remove deterministic IV for encrypt/decrypt
martindale May 24, 2025
9a0ecb5
General re-work of RPC connections, service management
martindale May 28, 2025
04cb546
Add some timeouts for wallet loading tests
martindale May 28, 2025
1840adb
Add JSONCall message type, fix Filesystem on Linux
martindale May 30, 2025
a56befa
Disable Filesystem watch
martindale May 30, 2025
298ffc9
Add _unloadWallet to Bitcoin service
martindale May 30, 2025
58fc3f8
Add WIF support to Key
martindale May 30, 2025
7bc5799
Add core WIF methods to Key
martindale May 30, 2025
ddebbbe
Only invalidate block when chain height > 0 (regtest)
martindale May 30, 2025
24cbc30
General improvements to PSBT construction
martindale May 31, 2025
cf6a2e8
Add try/catch to one test
martindale May 31, 2025
3b44cb6
Begin debugging tests
martindale May 31, 2025
e8a86fd
Further debug tests
martindale May 31, 2025
5bf8125
Add further guards to loadWallet
martindale May 31, 2025
bedbd44
Further rework tests
martindale May 31, 2025
5006688
Update tests further
martindale May 31, 2025
8a49575
Assign rpcport and datadir for standalone Bitcoin test
martindale Jun 1, 2025
06f8ad6
Set defaults for broadcast test
martindale Jun 1, 2025
48fbe51
Switch tests to Bitcoin Core 28
martindale Jun 1, 2025
ed82b5c
Place Bitcoin RPC errors behind debug setting, update package-lock.json
martindale Jun 10, 2025
5b3dc79
Merge branch 'feature/v0.1.0-RC1' of github.com:FabricLabs/fabric int…
martindale Jun 17, 2025
077a68a
General package update
martindale Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export FABRIC_NETWORK=playnet
48 changes: 30 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
name: Test

name: npm test
on:
pull_request:
branches:
#- master # To be enabled once swaps-develop is merged
- feature/node-16 # To be removed once it is ready and merged

- '**'
push:
branches:
- master
jobs:
test:
name: Test
name: Run tests
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- macos-latest
- ubuntu-latest

steps:
- name: checkout branch
- name: Checkout branch
uses: actions/checkout@v3

- name: setup node.js on ${{ matrix.os }}
uses: actions/setup-node@v2
- name: Install Node.js on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json

- name: install dependencies
run: npm ci

- name: run tests with coverage
run: npm run coverage
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: npm run report:install
- name: Download and install bitcoind
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
wget https://bitcoin.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz
tar -xzf bitcoin-28.0-x86_64-linux-gnu.tar.gz
sudo mv bitcoin-28.0/bin/bitcoind /usr/local/bin/
else
brew install bitcoin
fi
- name: Generate coverage report
run: npm run report:coverage
- name: Send coverage report
uses: codecov/[email protected]
with:
directory: ./reports/
Empty file removed .gitmodules
Empty file.
4 changes: 2 additions & 2 deletions .nix/node-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ let
''}
'';

# Recursively traverses all dependencies of a package and pinpoints all
# Recursively traverses all package dependencies and pinpoints all
# dependencies in the package.json file to the versions that are actually
# being used.

Expand Down Expand Up @@ -362,7 +362,7 @@ let
${lib.optionalString reconstructLock ''
if [ -f package-lock.json ]
then
echo "WARNING: Reconstruct lock option enabled, but a lock file already exists!"
echo "WARNING: The reconstruct lock option is enabled, but a lock file already exists!"
echo "This will most likely result in version mismatches! We will remove the lock file and regenerate it!"
rm package-lock.json
else
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.15.0
v22.14.0
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

Loading
Loading