Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
892eba4
fix is_positive()
Hakkush-07 Sep 5, 2024
6b5170d
fix N_WINDOW
Hakkush-07 Sep 5, 2024
22929e8
better limb_add_with_carry_prevent_overflow and limb_double_with_carr…
Hakkush-07 Sep 6, 2024
2bf2a78
feat: hinted mul integration
FatihSolak Sep 9, 2024
61badf8
Fq.hinted_square
Hakkush-07 Sep 9, 2024
a817f1b
Fq2.hinted_square
Hakkush-07 Sep 9, 2024
6d2b4de
feat: hinted mul by const
FatihSolak Sep 9, 2024
c1dcea1
test
FatihSolak Sep 9, 2024
3692776
Merge branch 'BitVM:main' into test
FatihSolak Sep 9, 2024
e133ca3
Fq6.hinted_square
Hakkush-07 Sep 9, 2024
9b318bd
feat: fq2 hinted mul by const
FatihSolak Sep 9, 2024
25e4216
Fq12.hinted_square
Hakkush-07 Sep 9, 2024
8080454
feat: hinted line utils
FatihSolak Sep 9, 2024
3ade7fa
hinted_frobenius functions
Hakkush-07 Sep 9, 2024
31becf7
G1Projective.hinted_double
Hakkush-07 Sep 9, 2024
af74327
feat: hinted g1 projective add
FatihSolak Sep 10, 2024
042b2c8
feat: hinted scalar mul by const g1
FatihSolak Sep 11, 2024
f12087b
fix: hinted scalar mul
FatihSolak Sep 11, 2024
b95c78b
feat: hinted g1p equal verify
FatihSolak Sep 11, 2024
dc26fc6
hinted_quad_miller_with_c_wi but test can not be run
Hakkush-07 Sep 11, 2024
75c85dd
fix: memory issues
FatihSolak Sep 12, 2024
7f1b22b
fix: curves.rs memory issues
FatihSolak Sep 12, 2024
fe8cd23
fix: utils.rs memory issues
FatihSolak Sep 12, 2024
68f9852
change the hinted scripts for Fq12, Fq6, Fq2
Hakkush-07 Sep 12, 2024
9d11b24
fix: quad miller memory issue
FatihSolak Sep 12, 2024
af79500
fix: quad miller loop test
FatihSolak Sep 12, 2024
e80c8af
G1Projective.hinted_into_affine
Hakkush-07 Sep 12, 2024
21aba99
feat: hinted msm
FatihSolak Sep 12, 2024
d42ef0c
hinted_groth16_verifier done
Hakkush-07 Sep 12, 2024
152b86c
uncomment lines that push hints
Hakkush-07 Sep 12, 2024
aa9a823
add push_not_montgomery functions
Hakkush-07 Sep 13, 2024
3e022e9
get rid of some warnings unused imports
Hakkush-07 Sep 13, 2024
8e12a80
fix is_one tests and Fq12::hinted_mul
Hakkush-07 Sep 13, 2024
82afae2
test: hinted f1 equal verify
FatihSolak Sep 13, 2024
8661467
Merge branch 'main' into test
Hakkush-07 Sep 13, 2024
929f997
fix double BigInt import
Hakkush-07 Sep 13, 2024
6fdda46
Integrate Stack Analyzer (#94)
lucidLuckylee Sep 14, 2024
66a1efb
Use run() instead of execute_script()
lucidLuckylee Sep 14, 2024
4e5dd90
Merge branch 'main' into 93_tmul
lucidLuckylee Sep 14, 2024
1567ec0
[FIX] Fix running tests procedure (#97)
ostadgeorge Sep 15, 2024
e387a95
Merge into_projective fix from #92
chickenblock Sep 12, 2024
72f10e6
TMUL Optimization (#99)
FatihSolak Sep 18, 2024
9d1f530
Fix inv stack hint
lucidLuckylee Sep 21, 2024
ef713da
Fix batched_scalar_mul stack hint
lucidLuckylee Sep 21, 2024
3dd3b0f
Fix: Non constant program flow in scalar_mul (#101)
lucidLuckylee Sep 21, 2024
ad7457f
Revert changes to add and double
lucidLuckylee Sep 22, 2024
4129212
Optimize "limb_add_with_carry_prevent_overflow" and "limb_lshift_with…
just-erray Sep 25, 2024
bee0c12
Tests: Refactor and print stack info
lucidLuckylee Oct 1, 2024
8362df2
Add `u32x8.rs`
stillsaiko Oct 4, 2024
5c78471
feat: On-demand serialization in blake3 (#105)
fiamma-dev Oct 4, 2024
8f9599f
optimize u32_add_carry from 145 to 90 bytes (#106)
Hakkush-07 Oct 4, 2024
1ffef09
Add `u32_sub_noborrow`
stillsaiko Oct 5, 2024
2bf0aaf
Affine versioned MSM (#114)
PayneJoe Oct 11, 2024
98b564b
fix G2 element subgroup membership check (#115)
dylanCai9 Oct 11, 2024
8cbdb88
Optimize Fq2 mul (hinted) to use 2 lc2 instead of 3 lc1 tmuls & Fix F…
Hakkush-07 Oct 11, 2024
ce9ec09
Update `u32x8.rs`
stillsaiko Oct 13, 2024
7f39a22
Hint msm affine (#117)
dylanCai9 Oct 14, 2024
43aa8f9
Add `blake3_var_length_copy`
stillsaiko Oct 17, 2024
df6999a
Update `blake3_u32.rs`
stillsaiko Oct 19, 2024
d5a5826
Create LICENSE
lucidLuckylee Oct 22, 2024
99929dc
Fix `u32_compress`/`u32_uncompress`
stillsaiko Oct 25, 2024
7f81cf5
feat: optimize winternitz (#121)
sander2 Oct 29, 2024
3eb8fea
feat: Add helper functions to use signatures as witness (#123)
archidoge0 Oct 29, 2024
f0b9ca2
change algebra dependency to the version with new ATE_LOOP_COUNT (#124)
Hakkush-07 Oct 30, 2024
a9fa187
feat: implement the g2_subgroup check (#125)
fiamma-dev Nov 1, 2024
27e6290
helper to dry-run transaction scripts (#130)
sander2 Nov 6, 2024
14bb44b
chunker of the Groth16 verifier program (#129)
freddi8e Nov 11, 2024
2f2d94e
Winternitz Improvements in Generic Format (#127)
just-erray Nov 11, 2024
5d0ad06
optimize sha; use structuredScript (#132)
stillsaiko Nov 12, 2024
61b9545
Remove automatic chunker
lucidLuckylee Nov 17, 2024
830bc51
Fix `bitcoin-script-stack` dependecy
lucidLuckylee Nov 17, 2024
be4674b
Add `Cargo.lock`
lucidLuckylee Nov 17, 2024
0f23ebb
Create CI.yml
stillsaiko Nov 18, 2024
d3cc1f7
Move CI.yml to `workflows`
stillsaiko Nov 18, 2024
d5e50cd
Skip `bridge::` tests
stillsaiko Nov 22, 2024
dfe1103
Update `Cargo.lock`
lucidLuckylee Nov 25, 2024
1c3f649
Update `Cargo.lock`
lucidLuckylee Nov 26, 2024
fbae95f
New Blake3 Optimization (#136)
jonasmartin Nov 26, 2024
5d31f3e
Integrate CLI and Winternitz Commit Logic to Client based on #131 + #…
justin-elementlabs Nov 27, 2024
af1ffe9
Rustfmt
franklynot Nov 29, 2024
7a600b5
Add local regtest faucet support
aristotleee Dec 1, 2024
38d5186
fix peg out confirm broadcast in musig2 peg out test cases
aristotleee Dec 2, 2024
0fb195d
fix e2e bugs & features & rustfmt
aristotleee Dec 2, 2024
105a207
fix hint for pairing result (#140)
freddi8e Dec 2, 2024
d93d10a
Update Esplora URLs to point to Alpen signet
franklynot Dec 2, 2024
9332a09
Affine infinity fix (#139)
Hakkush-07 Dec 2, 2024
e460c41
add e2e test case
aristotleee Dec 3, 2024
53ba5b2
allow f (miller loop output) to be cubic residue (#141)
Hakkush-07 Dec 3, 2024
f2a859f
typo
aristotleee Dec 5, 2024
45c1bf4
can now define local data file suffix in env file
aristotleee Dec 5, 2024
4dfd04d
Fix start time tx signing
StarDumpling Dec 5, 2024
2d7b201
Fix kick off 1 tx signing
StarDumpling Dec 5, 2024
6da9379
Fix txs relative timelock
StarDumpling Dec 6, 2024
7eb7617
Fix disprove chain tx tests
StarDumpling Dec 6, 2024
cd3ca4d
Fix disprove tx tests
StarDumpling Dec 6, 2024
9f3bf85
Fix challenge tx tests
StarDumpling Dec 6, 2024
b084406
test cases for end2end test
aristotleee Dec 9, 2024
3382a54
cargo lock
aristotleee Dec 9, 2024
3904c58
Fix take_1 tx integration test
StarDumpling Dec 9, 2024
51e9924
Update default suffix
justin-elementlabs Dec 9, 2024
49f2d9d
Add scripts for easy regtest use
justin-elementlabs Dec 9, 2024
cd37fc1
Merge pull request #5 from elementlabs42/add-regtest-sh
justin-elementlabs Dec 10, 2024
eeee594
Implement taproot key spend path for take 2 tx
StarDumpling Dec 10, 2024
271e9f6
Fix integration tests
StarDumpling Dec 10, 2024
cbfdd60
Disprove execution (#142)
wz14 Dec 10, 2024
0ddc472
construct peg-out graph
aristotleee Dec 11, 2024
4700bf0
Merge branch 'peg_out_e2e' into construct-pegout
aristotleee Dec 11, 2024
f3b0a4b
Merge pull request #2 from elementlabs42/peg_out_e2e
aristotleee Dec 11, 2024
410289b
Fix test_peg_in_graph_automatic_verifier with new faucet
aristotleee Dec 11, 2024
cb78882
auto faucet on test cases
aristotleee Dec 12, 2024
6044618
Change G1Affine hinted check functions (#147)
Hakkush-07 Dec 12, 2024
9ef9d19
Merge branch 'rc' into fix-winternitz-signing
aristotleee Dec 12, 2024
9fefa65
fmt
aristotleee Dec 12, 2024
17249fe
Merge branch 'fix-winternitz-signing' into test-cases-refactor
aristotleee Dec 12, 2024
b5e5b8a
Run `clippy` on all targets (#145)
lucidLuckylee Dec 12, 2024
b76dd8d
Fix test build
lucidLuckylee Dec 12, 2024
b6971f0
Remove fflonk (#151)
lucidLuckylee Dec 12, 2024
55a7f5d
use universal wait time
aristotleee Dec 12, 2024
7ab5038
Merge branch 'BitVM:main' into main
stillsaiko Dec 12, 2024
68ca2d7
Test `bridge::` regtest mode
stillsaiko Dec 12, 2024
9566da0
Improve comments
justin-elementlabs Dec 13, 2024
02b6ce3
Add .env sample
justin-elementlabs Dec 13, 2024
a8c8acb
Remove code duplication in test
franklynot Dec 13, 2024
107daad
Merge pull request #3 from elementlabs42/fix-winternitz-signing
franklynot Dec 13, 2024
7238c5a
Merge pull request #8 from elementlabs42/fix-comments
justin-elementlabs Dec 16, 2024
be9cf2b
fix(blake3_u4): issue with insufficient size of precompute table (#154)
manishbista28 Dec 16, 2024
b5dfc4b
fix: issue where precompute p function bakes runtime input (#155)
manishbista28 Dec 16, 2024
5f290b6
Merge 'rc' in
aristotleee Dec 16, 2024
2e8a2d4
Merge branch 'test-cases-refactor' into construct-pegout
aristotleee Dec 16, 2024
3514578
Merge pull request #7 from elementlabs42/test-cases-refactor
aristotleee Dec 16, 2024
016bada
Merge branch 'rc' into construct-pegout
aristotleee Dec 16, 2024
61be8d7
typo
aristotleee Dec 16, 2024
0ee1c99
fmt
aristotleee Dec 16, 2024
546ba32
Chore clippy (#159)
stillsaiko Dec 16, 2024
0350e87
fix println
aristotleee Dec 17, 2024
efc578c
Merge pull request #6 from elementlabs42/construct-pegout
aristotleee Dec 17, 2024
16da6a1
Merge branch 'main' into rc-merge
justin-elementlabs Dec 17, 2024
0338a5e
Fixes
justin-elementlabs Dec 17, 2024
c9f2577
Reapply clippy
justin-elementlabs Dec 17, 2024
3f9856f
Fix rc merge
StarDumpling Dec 17, 2024
12451b6
Run clippy
StarDumpling Dec 17, 2024
b72c0fb
Include previous changes
StarDumpling Dec 17, 2024
2e82aac
Run clippy
StarDumpling Dec 17, 2024
f031ffb
Merge pull request #12 from elementlabs42/fix-rc-merge
justin-elementlabs Dec 18, 2024
fca3170
Merge pull request #11 from elementlabs42/rc-merge
justin-elementlabs Dec 18, 2024
f4a0689
chore(deps): bump to rust-bitcoin 0.32.5 (#158)
storopoli Dec 18, 2024
1032339
chore(deps): bump to rust-bitcoin 0.32.5 (#158)
storopoli Dec 18, 2024
f9cb29e
Merge branch 'elementlabs42-rc'
lucidLuckylee Dec 18, 2024
9fc8e15
Merge branch 'BitVM:main' into main
stillsaiko Dec 18, 2024
ebfec01
feat: add hinted fp12 inverse (#153)
manishbista28 Dec 20, 2024
1c9bef8
feat(curves): add hinted is_on_curve check (#156)
manishbista28 Jan 2, 2025
c2f79dc
fix: issues with g2 affine dbl and add (#162)
manishbista28 Jan 2, 2025
6701657
Use `LazyLock` to reduce dependencies (#167)
AaronFeickert Jan 2, 2025
4905cda
doc: Informative README (#152)
storopoli Jan 6, 2025
7f8a98e
Update README.md
RobinLinus Jan 6, 2025
ab1a15a
Update readme
lucidLuckylee Jan 6, 2025
95802df
Update CI.yml
stillsaiko Jan 6, 2025
986b4a8
feat: add hinted fp12 inverse (#153)
manishbista28 Dec 20, 2024
85fbcf4
feat(curves): add hinted is_on_curve check (#156)
manishbista28 Jan 2, 2025
bb9f341
fix: issues with g2 affine dbl and add (#162)
manishbista28 Jan 2, 2025
41b6c8a
Use `LazyLock` to reduce dependencies (#167)
AaronFeickert Jan 2, 2025
7d354a3
doc: Informative README (#152)
storopoli Jan 6, 2025
05f1b40
Update README.md
RobinLinus Jan 6, 2025
2af2b7c
Update readme
lucidLuckylee Jan 6, 2025
bb51c9c
Fix mod test; exclude test from CI
lucidLuckylee Jan 6, 2025
a8b466f
Merge branch 'stillsaiko-ci'
lucidLuckylee Jan 6, 2025
8e9bd29
Add Chunker to Bridge (#175)
justin-elementlabs Jan 7, 2025
834199a
Refactor: Convert project to Cargo workspace (#176)
ekrembal Jan 7, 2025
893f6c3
fix issue 157 (#163)
freddi8e Jan 8, 2025
2bd8a71
Update CI.yml (#186)
stillsaiko Jan 11, 2025
9afa5cd
Refactor - BN254 G1 and G2 curve operations (#177)
Hakkush-07 Jan 12, 2025
901d1d7
Bridge use global secp256k1 context (#185)
eyusufatik Jan 13, 2025
9932943
Refactor - Remove montgomery functions (#188)
Hakkush-07 Jan 13, 2025
4ee66fe
feat(msm): add hinted w-windowed glv msm (#166)
manishbista28 Jan 14, 2025
71491cf
feat: optimize g2 subgroup membership check (#173)
manishbista28 Jan 14, 2025
4be96ba
feat(utils): add g2 affine point endomorphism methods (#170)
manishbista28 Jan 14, 2025
dbbc60f
CI: Use self hosted runner (#189)
lucidLuckylee Jan 14, 2025
02157f6
Fix failing tests (#196)
sevkett12 Jan 16, 2025
8a04162
chore: fix some typos in comment (#199)
davidwoood Jan 20, 2025
ca0166f
Refactor u4 and u32 (#201)
just-erray Jan 21, 2025
b435ff6
Add header chain circuit and its host with ELFs (#178)
ozankaymak Jan 23, 2025
4e54bf2
Revert "Add header chain circuit and its host with ELFs (#178)" (#203)
lucidLuckylee Jan 23, 2025
fcdc24d
CI: Add regtest bridge tests and compilation cache (#200)
lucidLuckylee Jan 23, 2025
b291f58
Feat/transform bigint limbsize (#198)
mukeshdroid Jan 23, 2025
eaab427
Remove stack_hints and analyzer overhead (#204)
lucidLuckylee Jan 23, 2025
47a4f4c
Use rust-bitcoin-script (and -stack) main branch
lucidLuckylee Jan 23, 2025
438f3a1
Refactor and reorder (#206)
Hakkush-07 Jan 27, 2025
6de8a81
Add Groth16 proof verification in Disprove transaction (#207)
franklynot Jan 30, 2025
b0cc1b5
CI: Increase timeout
lucidLuckylee Jan 30, 2025
89558b3
Feat/blake3 u4 input compact representation (#165)
mukeshdroid Jan 30, 2025
1e5b762
sepearte panic test to ensure all panics are reachable. fixes issue-2…
mukeshdroid Feb 5, 2025
0390369
Merge pull request #13 from BitVM/main
KSlashh Feb 8, 2025
2365a9f
chore: remove redundant word in comment (#214)
zoupingshi Feb 9, 2025
df6232a
Constant Pairing (#210)
Hakkush-07 Feb 13, 2025
ece70a4
End to End Tests + CLI Fixes + On-Disk Caching (#219)
justin-elementlabs Feb 18, 2025
1de8321
Merge pull request #14 from BitVM/main
KSlashh Feb 20, 2025
2a18bb1
Refactor Signatures and Hash (#217)
just-erray Feb 23, 2025
0fd74a2
chore: correct links (#223)
pranjalpokharel7 Feb 23, 2025
cd4c4ed
BitVM Bridge CLI Ready for Demo (#224)
franklynot Feb 25, 2025
6c17b2d
add oat bridge
KSlashh Feb 25, 2025
8afdc6a
Merge pull request #15 from BitVM/main
KSlashh Feb 25, 2025
178540a
fix: typos in documentation files (#225)
leopardracer Feb 25, 2025
ac0ee1a
Update rust-bitcoin-script
lucidLuckylee Feb 25, 2025
c7f42c9
Feat/213 chunked verifier with folded fp12 (#215)
manishbista28 Feb 25, 2025
ea3dc34
chore: Fix blake3 comment typos (#227)
maximevtush Feb 26, 2025
58f539f
change network to bitvm signet (#228)
wz14 Feb 26, 2025
3f7d91e
Feat/integrate bridge with chunk verifier (#226)
manishbista28 Feb 26, 2025
030cd73
Add header chain circuit and its host with ELFs (#205)
ozankaymak Feb 28, 2025
e0566a8
chore: fix some typos (#230)
looklose Feb 28, 2025
872202d
chore: fix typos (#232)
kilavvy Feb 28, 2025
b757ea8
Refactor squaring test for clarity (#236)
AaronFeickert Feb 28, 2025
ababb3f
Update README.md (#238)
oxbau Feb 28, 2025
36aec60
CI: increase timeouts
lucidLuckylee Feb 28, 2025
a65a1c4
Resolve merge conflict
KSlashh Mar 3, 2025
e666062
sync
KSlashh Mar 3, 2025
630cbd2
feat: refactor g1 msm (#234)
manishbista28 Mar 4, 2025
d61a493
Remove patches, bump risc0 to v1.2.5, ark to 0.5.0 (#241)
ozankaymak Mar 4, 2025
de5345d
zkm2-groth16
KSlashh Mar 5, 2025
ffba079
Merge remote-tracking branch 'upstream/main'
KSlashh Mar 5, 2025
185a1e3
sync
KSlashh Mar 5, 2025
a095b47
refactor/cleanup old chunked verifier module (#235)
manishbista28 Mar 6, 2025
f5e24c0
Merge pull request #17 from BitVM/main
KSlashh Mar 6, 2025
b1f70c8
goat-bridge cli-tools
KSlashh Mar 10, 2025
22bbe48
cli update
KSlashh Mar 14, 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
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export BRIDGE_DATA_STORE_CLIENT_DATA_SUFFIX=-"bridge-client-data.json"

export BRIDGE_AWS_ACCESS_KEY_ID=""
export BRIDGE_AWS_SECRET_ACCESS_KEY=""
export BRIDGE_AWS_REGION=""
export BRIDGE_AWS_BUCKET=""
export KEY_DIR=""
export VERIFIERS=""
export ENVIRONMENT=""

# export BRIDGE_SFTP_HOST=""
# export BRIDGE_SFTP_PORT="22"
# export BRIDGE_SFTP_USERNAME=""
# export BRIDGE_SFTP_KEYFILE_PATH=""
# export BRIDGE_SFTP_BASE_PATH="/bitvm"

# export BRIDGE_FTP_HOST=""
# export BRIDGE_FTP_PORT="21"
# export BRIDGE_FTP_USERNAME=""
# export BRIDGE_FTP_PASSWORD=""
# export BRIDGE_FTP_BASE_PATH="/bitvm"

# export BRIDGE_FTPS_HOST=""
# export BRIDGE_FTPS_PORT="21"
# export BRIDGE_FTPS_USERNAME=""
# export BRIDGE_FTPS_PASSWORD=""
# export BRIDGE_FTPS_BASE_PATH="/bitvm"
2 changes: 2 additions & 0 deletions .env.test.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Desired block time in seconds for the regtest network
REGTEST_BLOCK_TIME=5
115 changes: 115 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: BitVM CI

on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: ["*"]

env:
CARGO_TERM_COLOR: always

jobs:
clippy:
if: github.event.pull_request.draft == false
timeout-minutes: 60
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Run clippy (no guests)
run: cargo clippy --workspace --exclude header-chain-circuit --exclude final-spv-circuit

guest:
if: github.event.pull_request.draft == false
timeout-minutes: 60
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Build guests
run: |
REPR_GUEST_BUILD=1 BITCOIN_NETWORK=mainnet cargo build -p header-chain-circuit --release
REPR_GUEST_BUILD=1 BITCOIN_NETWORK=mainnet cargo build -p final-spv-circuit --release

build:
if: github.event.pull_request.draft == false
timeout-minutes: 60
runs-on: self-hosted
steps:
- uses: actions/checkout@v4

- name: Cache Build Artifacts
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: cargo build

test_script:
if: github.event.pull_request.draft == false
timeout-minutes: 120
needs: build
runs-on: self-hosted
steps:
- uses: actions/checkout@v4

- name: Cache Build Artifacts
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: cargo build

- name: Run tests
run: |
cargo test -- --skip bridge:: --skip tests::test_final_circuit

# test_bridge:
# if: github.event.pull_request.draft == false
# timeout-minutes: 200
# needs: build
# runs-on: self-hosted
# steps:
# - uses: actions/checkout@v4
#
# - name: Cache Build Artifacts
# uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# target/
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#
# - name: Build
# run: cargo build
#
# - name: Run bridge tests
# env:
# BRIDGE_DATA_STORE_CLIENT_DATA_SUFFIX: bridge-client-data.json
# BRIDGE_AWS_ACCESS_KEY_ID: ${{ secrets.BRIDGE_AWS_ACCESS_KEY_ID }}
# BRIDGE_AWS_SECRET_ACCESS_KEY: ${{ secrets.BRIDGE_AWS_SECRET_ACCESS_KEY }}
# BRIDGE_AWS_REGION: ap-southeast-1
# BRIDGE_AWS_BUCKET: bitvm
# run: |
# cp .env.test.sample .env.test
# cd regtest
# ./install.sh <<< "."
# ./start.sh
# cargo test -- --test bridge::
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
#Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
Expand All @@ -15,6 +15,7 @@ Cargo.lock

# Ignore .env files
.env
.env.test

# Added by cargo

Expand All @@ -25,7 +26,15 @@ Cargo.lock

.DS_Store

tmp

# Bridge public and private files
bridge_data/

chunk_stats.txt
# Esplora regtest data
nohup.out
data_path
esplora-bitcoin-regtest-data

# test cache
test_cache/
Loading
Loading