Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

SignaturesCollector + KeysCollector #1

Merged
merged 275 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
d9d39ac
[no ci] WIP
Sajjon Jun 25, 2024
78c63c0
[no ci] WIP
Sajjon Jun 25, 2024
abd04ac
[no ci] WIP
CyonAlexRDX Jun 25, 2024
3854b9f
[no ci] WIP
Sajjon Jun 25, 2024
e5e7aa8
[no ci] WIP
Sajjon Jun 25, 2024
8e7409f
add precommit
Sajjon Jun 25, 2024
92d7b36
try to enable CI
Sajjon Jun 25, 2024
3367e57
add codecove to readme and try fix CI
Sajjon Jun 25, 2024
cf95fd2
remove cargo check
Sajjon Jun 25, 2024
9907055
rename CODECOV token
Sajjon Jun 25, 2024
6eff99c
switch CI runners to ubuntu
Sajjon Jun 25, 2024
bdb8b1a
fixes, clippy and fmt
Sajjon Jun 25, 2024
466bf00
Merge pull request #1 from Sajjon/enable_ci
Sajjon Jun 25, 2024
5847b80
update tarpaulin to 0.30.0
Sajjon Jun 25, 2024
04b7e95
chore - CI: remove codecov flag 'rust'.
Sajjon Jun 25, 2024
4131979
Merge pull request #2 from Sajjon/update_tarpaulin
Sajjon Jun 25, 2024
c08a758
change badge
Sajjon Jun 25, 2024
3d38a3e
add codecov.yml file
Sajjon Jun 25, 2024
c6c857b
add tarpaulin and move sargon
Sajjon Jun 25, 2024
25a5664
chore Cov: tweak tarpaulin file
Sajjon Jun 25, 2024
f8c2a5d
chore CI & Cov: Tweak tarpaulin settings; Use HTML for local use, bas…
Sajjon Jun 25, 2024
ed58280
splitting files and clean up
Sajjon Jun 25, 2024
5303ba5
remove prints
Sajjon Jun 25, 2024
59c2060
Merge pull request #3 from Sajjon/infra
Sajjon Jun 25, 2024
138f0e3
split out SignWithFactorSourceOrSourcesOutcome and add constructors
Sajjon Jun 25, 2024
bfec81d
add check for success in tests
Sajjon Jun 25, 2024
460b5c0
remove unused code
Sajjon Jun 25, 2024
8acf652
add documentation
Sajjon Jun 25, 2024
d183967
get rid of derivatives, add derive_getters.
Sajjon Jun 25, 2024
609011b
restructure introduce integration tests
Sajjon Jun 26, 2024
314f340
try nudge tarpaulin to ignore sargon_types file
Sajjon Jun 26, 2024
c78c644
more tests
Sajjon Jun 26, 2024
003b486
split files, add HasSampleValues add test and validation - need to fi…
Sajjon Jun 26, 2024
f41a3b4
split files and add more tests
Sajjon Jun 26, 2024
8c1fa3d
Move coordinator one level up; change so that sign on coordinator doe…
Sajjon Jun 26, 2024
a6128e3
Merge pull request #4 from Sajjon/split_files_and_clean_up
Sajjon Jun 26, 2024
f202f3b
split
Sajjon Jun 28, 2024
fd047e3
Merge pull request #5 from Sajjon/split_all_files
Sajjon Jun 28, 2024
42789a0
prepare cleanup of coordinator and drivers
Sajjon Jun 30, 2024
db9d6fa
rename coordinator
Sajjon Jun 30, 2024
67eb42f
rename
Sajjon Jun 30, 2024
5f39b2c
trying to simplify drivers
Sajjon Jun 30, 2024
c64d401
simplifying serial single driver
Sajjon Jun 30, 2024
ae4fafd
[no ci] FAIL: but making good progress is retry
Sajjon Jul 1, 2024
3c14e17
simulate failures
Sajjon Jul 2, 2024
91548ca
fix tests
Sajjon Jul 2, 2024
1ec0640
retry works.
Sajjon Jul 3, 2024
1044932
make it possible to read out skipped factor sources from outcome
Sajjon Jul 3, 2024
7ff8d3f
fix tarpaulin config
Sajjon Jul 3, 2024
6d919f5
removed unused type src/owned_types/owned_matrix_of_factor_instances.rs
Sajjon Jul 3, 2024
aed806b
removed unused code
Sajjon Jul 3, 2024
e4daa7f
Merge pull request #6 from Sajjon/simplify
Sajjon Jul 3, 2024
594c269
Remove retry (but leave simulated failures) since retry ought to be m…
CyonAlexRDX Aug 14, 2024
d92ca1f
Merge pull request #10 from Sajjon/remove_retry
Sajjon Aug 14, 2024
5bd7bbf
Rename to SignaturesCollector
Sajjon Aug 14, 2024
00363ac
Merge pull request #11 from Sajjon/rename_signatures_collecting_coord…
CyonAlexRDX Aug 14, 2024
589c99f
Split Collector into State and Dependencies
CyonAlexRDX Aug 14, 2024
5d3412b
major renaming
Sajjon Aug 14, 2024
6b29231
cleanup
Sajjon Aug 14, 2024
04ea0ef
[no ci] WIP
Sajjon Aug 14, 2024
2a033a3
[no ci] WIP
CyonAlexRDX Aug 14, 2024
e8d9a1f
Move init logic to preprocessor
Sajjon Aug 14, 2024
ba7a69b
split petition of transaction into file
Sajjon Aug 14, 2024
d09e2db
rename builder types
Sajjon Aug 14, 2024
20f4922
doc
Sajjon Aug 14, 2024
59b10ce
Merge pull request #12 from Sajjon/modularize
Sajjon Aug 14, 2024
46e5155
add more tests
CyonAlexRDX Aug 15, 2024
45d388f
remove unused code and add docs.
Sajjon Aug 15, 2024
cd7e3cd
tarpaulin ignore sargon types and testing
Sajjon Aug 15, 2024
0101c15
more tests
Sajjon Aug 15, 2024
9ad15c2
clean up PetitionEntity
Sajjon Aug 15, 2024
9a856a4
Merge pull request #13 from Sajjon/code_coverage
Sajjon Aug 15, 2024
2073900
break instead of return
CyonAlexRDX Aug 15, 2024
99924d9
more tests
CyonAlexRDX Aug 15, 2024
e107e9e
more tests
CyonAlexRDX Aug 15, 2024
21c8c88
Merge pull request #14 from Sajjon/even_more_code_cov
CyonAlexRDX Aug 15, 2024
2ac1d6c
more tests
Sajjon Aug 15, 2024
e2cd6d8
Merge pull request #15 from Sajjon/further_more_coverage
Sajjon Aug 15, 2024
e0421fb
separate module for signing
CyonAlexRDX Aug 15, 2024
b51238a
integration test rename module
CyonAlexRDX Aug 15, 2024
3712c1b
[no ci] WIP
CyonAlexRDX Aug 16, 2024
c6a9a0c
[no ci] WIP
Sajjon Aug 16, 2024
fe2b5cc
[no ci] WIP
CyonAlexRDX Aug 19, 2024
d7d3d82
[no ci] WIP
CyonAlexRDX Aug 19, 2024
4009b84
[no ci] WIP
CyonAlexRDX Aug 19, 2024
875db74
[no ci] WIP
CyonAlexRDX Aug 19, 2024
8608366
[no ci] WIP
CyonAlexRDX Aug 19, 2024
b27710a
[no ci] WIP
CyonAlexRDX Aug 19, 2024
9487241
[no ci] WIP
CyonAlexRDX Aug 19, 2024
5e214f4
[no ci] WIP
Sajjon Aug 19, 2024
e5d74c7
[no ci] WIP
Sajjon Aug 19, 2024
59420df
[no ci] WIP
CyonAlexRDX Aug 19, 2024
b43d13d
[no ci] WIP
CyonAlexRDX Aug 19, 2024
d8d691a
first passing KeysCollector test
CyonAlexRDX Aug 19, 2024
ae9c2ef
vis
CyonAlexRDX Aug 19, 2024
ad4700c
WIP
CyonAlexRDX Aug 19, 2024
815f2d7
doc
CyonAlexRDX Aug 19, 2024
0b0456a
more tests
CyonAlexRDX Aug 20, 2024
65e842c
cleanup tests
CyonAlexRDX Aug 20, 2024
59ce739
rename package to 'use_factor'
CyonAlexRDX Aug 20, 2024
7a91ec7
more tests
CyonAlexRDX Aug 20, 2024
7cd8ce3
different indices
CyonAlexRDX Aug 20, 2024
6b4dae9
multi factor sources
CyonAlexRDX Aug 20, 2024
d07a2c7
remove unused KeysCollection types
CyonAlexRDX Aug 20, 2024
bce9d88
multi path multi factor
CyonAlexRDX Aug 21, 2024
ec6d67f
many many derivation paths
CyonAlexRDX Aug 21, 2024
ecc4060
YAGNI
CyonAlexRDX Aug 21, 2024
bfbca3b
YAGNI
CyonAlexRDX Aug 21, 2024
50a68ce
test with keyscollecting interactors failing
CyonAlexRDX Aug 21, 2024
f46fcdf
Merge pull request #16 from Sajjon/keys_collector
Sajjon Aug 21, 2024
f2022e7
rename to CAP26KeyKind
CyonAlexRDX Aug 21, 2024
0492c6a
rename fn kind -> factor_source_kind
Sajjon Aug 21, 2024
86925f6
rename enum -> CAP26EntityKind
Sajjon Aug 21, 2024
6d72bfe
hide field id add pub fn factor_source_id
Sajjon Aug 21, 2024
b063089
[no ci] WIP
Sajjon Aug 21, 2024
8c9463a
[no ci] WIP
Sajjon Aug 21, 2024
39d874b
entities and addresses
CyonAlexRDX Aug 21, 2024
b6cc797
rename FactorInstance -> HierarchicalDeterministicFactorInstance
CyonAlexRDX Aug 21, 2024
e362d39
rename properties and fn on HDFactorInstance, e.g. path -> derivation…
CyonAlexRDX Aug 21, 2024
e00bfca
[no ci] WIP
CyonAlexRDX Aug 21, 2024
1540159
Update README
Sajjon Aug 22, 2024
05fb502
Update README (no-verify)
Sajjon Aug 22, 2024
a418bf8
Doc README
CyonAlexRDX Aug 22, 2024
a34ae25
TXToSign
CyonAlexRDX Aug 22, 2024
a1b4af7
[no ci] WIP
CyonAlexRDX Aug 22, 2024
2bf41ef
[no ci] WIP
CyonAlexRDX Aug 22, 2024
43e00ce
[no ci] WIP
CyonAlexRDX Aug 22, 2024
ac7a948
[no ci] WIP
CyonAlexRDX Aug 22, 2024
66efde7
[no ci] WIP
CyonAlexRDX Aug 22, 2024
678a2b6
[no ci] WIP
CyonAlexRDX Aug 22, 2024
c2b277c
debug
Sajjon Aug 22, 2024
3a2ab4b
abstract entity reuse test data, prepare for personas
Sajjon Aug 23, 2024
aa5af8f
generalize accounts tests
Sajjon Aug 23, 2024
76bdc6f
Add persona tests
Sajjon Aug 23, 2024
e770ae8
test profile
Sajjon Aug 23, 2024
92e41cf
more tests
Sajjon Aug 23, 2024
3da9983
more tests
Sajjon Aug 23, 2024
e72a791
Merge pull request #17 from Sajjon/prepare_integration
Sajjon Aug 23, 2024
d5c161b
multi
Sajjon Aug 23, 2024
f0bdd6f
[no ci] WIP
Sajjon Aug 23, 2024
335d62f
fix multi key multi tx?
CyonAlexRDX Aug 23, 2024
800a23e
remove prints
Sajjon Aug 23, 2024
9874511
[no ci] WIP
Sajjon Aug 23, 2024
9c2a3be
add more tests
CyonAlexRDX Aug 23, 2024
2bab747
more asserts
Sajjon Aug 23, 2024
167e18f
even more asserts
Sajjon Aug 23, 2024
669eacf
multi_securified_entities
Sajjon Aug 23, 2024
6cef7ee
more tests
CyonAlexRDX Aug 23, 2024
f8e1b67
more tests
CyonAlexRDX Aug 23, 2024
ad3f74b
more tests
CyonAlexRDX Aug 23, 2024
68d6258
more tests
CyonAlexRDX Aug 23, 2024
0afcb65
Merge pull request #18 from Sajjon/fix_multi_entity_multi_tx
Sajjon Aug 23, 2024
6a8299d
more tests
Sajjon Aug 26, 2024
870b996
more tests
Sajjon Aug 26, 2024
141644e
failing tx
Sajjon Aug 26, 2024
ffb1eba
Merge pull request #19 from Sajjon/more_tests
Sajjon Aug 26, 2024
7959876
async trait
CyonAlexRDX Aug 26, 2024
ef6fd71
Rename DerivationIndex -> HDPathComponent
CyonAlexRDX Aug 26, 2024
ce072e4
Replace 'FactorSourceID' -> 'FactorSourceIDFromHash' and 'FactorSourc…
CyonAlexRDX Aug 26, 2024
c66a239
Merge pull request #20 from Sajjon/easier_integration
Sajjon Aug 26, 2024
a477b85
Merge 'Keyrings' into KeysCollectorState. Break out 'Keyring' type in…
CyonAlexRDX Aug 27, 2024
4a4d0fe
KeysCollector: Throw, dont panic, for unknown factor source
CyonAlexRDX Aug 27, 2024
994f491
less force unwrap
CyonAlexRDX Aug 27, 2024
2b8a5e9
remove one force unwrap more
CyonAlexRDX Aug 27, 2024
07d1622
Update CodeCov badge URL in README
CyonAlexRDX Aug 27, 2024
f22f933
use RDX works actions
CyonAlexRDX Aug 27, 2024
4b7844c
updated README
CyonAlexRDX Aug 27, 2024
956db6b
remove KeysCollectingClient
CyonAlexRDX Aug 27, 2024
1aad0fd
Remove SignWithFactorClient
CyonAlexRDX Aug 27, 2024
55d37c1
method visibility on SignaturesCollector
CyonAlexRDX Aug 27, 2024
998d710
Simplify KeysCollector
CyonAlexRDX Aug 27, 2024
d4f157e
[no ci] add one more device factor source -> fails
CyonAlexRDX Aug 27, 2024
88f600a
[no ci] WIP parallel factors
CyonAlexRDX Aug 27, 2024
6fb4e44
[no ci] WIP
CyonAlexRDX Aug 27, 2024
883caca
Fix calculation of skipping with many factor sources
Sajjon Aug 28, 2024
2aca988
make it possible to don't stop early when all tx are valid.
Sajjon Aug 28, 2024
5a63ad8
Merge pull request #2 from radixdlt/fix_parallell
CyonAlexRDX Aug 28, 2024
8d9418b
simplify method
CyonAlexRDX Aug 28, 2024
aac37a4
finish early strategy
Sajjon Aug 28, 2024
b4aab61
fix typo
Sajjon Aug 28, 2024
efc1ea1
flow
Sajjon Aug 28, 2024
046847b
add continue when all valid test
Sajjon Aug 28, 2024
1d0e142
Merge pull request #3 from radixdlt/finish_early_strategy
CyonAlexRDX Aug 28, 2024
5b1d6d9
Update src/signing/collector/signatures_collector.rs
CyonAlexRDX Aug 28, 2024
a1d0cdc
drop drop
CyonAlexRDX Aug 28, 2024
422fb1b
neglected
CyonAlexRDX Aug 28, 2024
f0d4e84
add _typos.toml
CyonAlexRDX Aug 28, 2024
c9e465d
naming
CyonAlexRDX Aug 28, 2024
08783c6
Documentation
CyonAlexRDX Aug 28, 2024
1e5768d
fix bug and added more tests.
Sajjon Aug 29, 2024
20fec99
cleanup
CyonAlexRDX Aug 29, 2024
5340aec
Merge pull request #4 from radixdlt/neglected
CyonAlexRDX Aug 29, 2024
3094df9
default to Continue if invalid tX
CyonAlexRDX Aug 29, 2024
25cc21c
neglect factors if irrelevant
CyonAlexRDX Aug 29, 2024
af2bd1a
[no ci] WIP
Sajjon Aug 29, 2024
c242175
[no ci] WIP
CyonAlexRDX Aug 29, 2024
d8876bd
[no ci] WIP
CyonAlexRDX Aug 29, 2024
58929c1
wip
CyonAlexRDX Aug 29, 2024
0c8423e
[no ci] WIP
CyonAlexRDX Aug 29, 2024
def4650
dont produce irrelevant signatures
Sajjon Aug 29, 2024
d785900
ensure already failed tx are not displayed twice
Sajjon Aug 29, 2024
6adad4c
[no ci] WIP
Sajjon Aug 29, 2024
2a3a729
[no ci] WIP
Sajjon Aug 29, 2024
9262b6c
[no ci] WIP
CyonAlexRDX Aug 29, 2024
0aaebc1
[no ci] WIP
CyonAlexRDX Aug 29, 2024
aaaa791
[no ci] WIP
CyonAlexRDX Aug 29, 2024
200acc2
unsafe mark SimulatedUesr Send
CyonAlexRDX Aug 29, 2024
2613f37
Add test for failed threshold then sucessful override
CyonAlexRDX Aug 29, 2024
9cf2188
Merge pull request #5 from radixdlt/dynamic_factors
CyonAlexRDX Aug 29, 2024
6f3c354
rename petition types with 'ForX'
CyonAlexRDX Aug 29, 2024
015d85f
make ctor of PetitionForEntity 'private'
CyonAlexRDX Aug 29, 2024
40f253c
rename map_factor_list
CyonAlexRDX Aug 29, 2024
7aa57fa
rename union_of to map_list_then_form_union
CyonAlexRDX Aug 29, 2024
0a98cf3
rename arg map -> do
CyonAlexRDX Aug 29, 2024
b72ca86
invalid_transactions -> invalid_transaction and Option.
CyonAlexRDX Aug 29, 2024
33ba110
remove Result and unwrap
CyonAlexRDX Aug 29, 2024
7426b33
use 'both' in 'status'.
CyonAlexRDX Aug 29, 2024
bea8ef0
'Parallel' -> 'PolyFactor' and 'Serial' -> 'MonoFactor'
CyonAlexRDX Aug 29, 2024
3ee7ed4
Merge pull request #6 from radixdlt/rectify_review_suggestions
CyonAlexRDX Aug 30, 2024
76d9a15
rename and doc
CyonAlexRDX Aug 30, 2024
64140b7
remove unused types
CyonAlexRDX Aug 30, 2024
67ba48d
replace 'unwrap' with 'expect'
CyonAlexRDX Aug 30, 2024
e76f200
reuse each_petiton
CyonAlexRDX Aug 30, 2024
fa5b54b
[no ci] WIP
CyonAlexRDX Aug 30, 2024
4b45965
more functional
Sajjon Aug 30, 2024
ae54353
reuse each_petition
Sajjon Aug 30, 2024
15d731c
remove last unwrap
Sajjon Aug 30, 2024
4960f2c
rename petiition for factor types to include FOR.
CyonAlexRDX Aug 30, 2024
790395c
rename -> get_finished_with
CyonAlexRDX Aug 30, 2024
865ce35
Merge pull request #7 from radixdlt/func
CyonAlexRDX Aug 30, 2024
8d9c730
more tests
CyonAlexRDX Aug 30, 2024
e72717e
rename to factor_source_to_intent_hashes
CyonAlexRDX Aug 30, 2024
9032e72
rename functional helpers in petition_for_entity
CyonAlexRDX Aug 30, 2024
d7037c8
remove two methods on petition_for_entity
CyonAlexRDX Aug 30, 2024
45b5565
simplify generic signature
CyonAlexRDX Aug 30, 2024
aeef293
simplify generic signatures even more
CyonAlexRDX Aug 30, 2024
c7666ff
doc
CyonAlexRDX Aug 30, 2024
4180cad
doc
CyonAlexRDX Aug 30, 2024
9f3d692
clean up invalid_transactions_if_neglected_factors
CyonAlexRDX Aug 30, 2024
9f2fdeb
Merge pull request #8 from radixdlt/final_polish
CyonAlexRDX Aug 30, 2024
216629b
clean up generic signature
CyonAlexRDX Aug 30, 2024
6f6adc9
vis
CyonAlexRDX Aug 30, 2024
a253b54
Move sample data to samples, cfg(test) all test code.
CyonAlexRDX Sep 2, 2024
ee144a7
port signign tests
CyonAlexRDX Sep 2, 2024
7794090
[no ci] WIP
CyonAlexRDX Sep 2, 2024
0f4f5fc
integration tests of SigningCollector
CyonAlexRDX Sep 2, 2024
327afca
Integration test for keys collector
CyonAlexRDX Sep 2, 2024
6b9099f
tarpaulin ignore samples
CyonAlexRDX Sep 2, 2024
b8b0f41
more tests
CyonAlexRDX Sep 2, 2024
1105c1f
Merge pull request #9 from radixdlt/private_types_and_methods
CyonAlexRDX Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUST_LOG=error
91 changes: 91 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Testing CI - Runs on each PR and Push

name: Test
on:
pull_request:
push:
branches:
- main

permissions:
id-token: write
contents: read
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: nightly-2024-01-11
RUST_COMPONENTS: "rust-std"
jobs:
# cargo fmt check
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
default: true
components: rustfmt

- name: Check formatting
run: cargo fmt --check

# clippy
check-clippy:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
default: true
components: clippy

- name: Clippy Check
run: cargo clippy --all

# Rust unit, doc and integration
test-rust:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
default: true

- name: Run rust tests
run: cargo test

# Code Coverage uses Tarpaulin and uploads to CodeCov.io
code-coverage:
runs-on: ubuntu-latest
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install Rust Toolchain
uses: RDXWorks-actions/toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
default: true

- name: Install cargo tarpaulin
uses: RDXWorks-actions/cargo-install@main
with:
crate: cargo-tarpaulin
tag: 0.30.0
locked: true

- name: Code Coverage - Generate
run: cargo tarpaulin --out xml

- name: Code Coverage - Upload to CodeCov.io
uses: RDXWorks-actions/codecov-action@main
with:
token: ${{ secrets.CODECOV }}
fail_ci_if_error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
tarpaulin-report.*
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
fail_fast: true

repos:
- repo: https://github.com/crate-ci/typos
rev: v1.24.1
hooks:
- id: typos
- repo: local
hooks:
- id: fmt
name: fmt
language: system
types: [file, rust]
entry: cargo fmt -- --check
pass_filenames: false

- id: clippy
name: clippy
language: system
types: [file, rust]
entry: cargo clippy --all -- -D warnings # Use -D warnings option to ensure the job fails when encountering warnings
pass_filenames: false

- id: unit tests
name: unit tests
language: system
types: [file, rust]
entry: cargo test --lib
pass_filenames: false
9 changes: 9 additions & 0 deletions .tarpaulin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[all]
exclude-files = ["src/types/sargon_types.rs", "src/testing/*", "src/samples/*"]
verbose = false
force-clean = true
timeout = "2m"
locked = true
all-features = true
jobs = 1
out = ["Html"]
46 changes: 46 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'signing'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=signing"
],
"filter": {
"name": "signing",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration test 'main'",
"cargo": {
"args": [
"test",
"--no-run",
"--test=main",
"--package=signing"
],
"filter": {
"name": "main",
"kind": "test"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"cSpell.words": [
"Caprese",
"FACTORINSTANCE",
"FACTORSOURCE",
"interactor",
"Interactors",
"Keyrings",
"preprocess",
"Quartier",
"Rémy",
"substate",
"txid",
"txids",
"unsecurified",
"Yubikey"
]
}
Loading
Loading