Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
932f1c9
Implement TransparentAddress encoding and decoding
str4d May 24, 2019
6e53cf3
group: Take scalar by reference in CurveProjective::recommended_wnaf_…
str4d Mar 26, 2020
69c6053
group: Rewrite wNAF to remove dependency on ff::PrimeFieldRepr
str4d Mar 26, 2020
b6457a9
ff: Move pow_vartime into a trait that is generic over the limb size
str4d Mar 27, 2020
3ccadf3
Add binding signature only if needed
adityapk00 Apr 3, 2020
b82dac1
Merge pull request #221 from adityapk00/binding_sig
str4d Apr 16, 2020
fd79de5
ff: Add PrimeField: From<u64> constraint
str4d Mar 27, 2020
232f0a5
ff: Rework BitIterator to work with both u8 and u64 limb sizes
str4d Mar 27, 2020
1fdca39
ff: PrimeField::{is_even, is_odd}
str4d Apr 21, 2020
08500ee
ff: PrimeField: BitAnd<u64, Output = u64> + Shr<u32, Output = Self>
str4d Apr 21, 2020
1a40cfd
zcash_primitives: Make jubjub::Fs::invert constant time
str4d Apr 22, 2020
1fe3e37
ff: Add Ord bound to PrimeField
str4d Apr 23, 2020
49f119f
ff: Remove PrimeFieldRepr trait
str4d Apr 23, 2020
b02cf3b
Merge pull request #223 from str4d/remove-primefieldrepr
str4d Apr 30, 2020
1761ebf
ff: Remove SqrtField trait
str4d May 1, 2020
55568b4
ff: Remove frobenius_map from Field trait
str4d May 1, 2020
38f87c2
ff: Add PrimeField::ReprEndianness associated type
str4d May 1, 2020
fb31d09
ff: Remove Ord bound from PrimeField
str4d May 2, 2020
15e2295
ff: Move pow_vartime back into Field trait
str4d May 2, 2020
9114c36
ff_derive: Generate modulus representation with correct endianness
str4d May 2, 2020
c597db5
ff: Rename PrimeField::into_repr -> PrimeField::to_repr
str4d May 2, 2020
3727077
Merge pull request #228 from str4d/ff-more-trait-refactoring
str4d May 12, 2020
d480a38
Hard-code Sapling circuit hashes in zcash_proofs crate
May 13, 2020
6845154
Update zcash_proofs/src/lib.rs
May 14, 2020
f446b45
cargo fmt
str4d May 14, 2020
41d9f29
Merge pull request #229 from therealyingtong/106-hardcode-sapling-cir…
str4d May 14, 2020
d7d4928
Remove explicit std::marker from Sized bound
str4d Apr 24, 2020
4f2220f
group: Rename zero and one to identity and generator
str4d May 6, 2020
8add78a
Make CurveProjective::double take &self and return Self
str4d May 6, 2020
7203a7a
Remove Engine associated type from CurveAffine and CurveProjective
str4d May 6, 2020
69f53fe
group: Introduce Group and PrimeGroup traits
str4d May 14, 2020
5397d73
group: Define group operations on Group trait
str4d May 14, 2020
e3d8428
group: Sum + for<'a> Sum<&'a Self> bounds for Group
str4d May 14, 2020
d2aa87f
group: Move CurveProjective::double to Group
str4d May 14, 2020
0df950d
group: Add Group::Subgroup associated type
str4d May 14, 2020
ec88778
group: Add scalar multiplication bounds to Group
str4d May 14, 2020
669f2b4
group: Return subtle::Choice from Group::is_identity
str4d May 14, 2020
4969ad4
Merge pull request #230 from str4d/group-trait
str4d May 18, 2020
b94d567
group: Direct-to-affine CurveProjective::batch_normalize
str4d May 15, 2020
0941ddd
group: Return subtle::Choice from CurveAffine::is_identity
str4d May 15, 2020
b0a3713
group: Add mixed-addition scalar multiplication bounds to CurveAffine
str4d May 15, 2020
b77f8dd
group: Remove EncodedPoint::{into_affine, into_affine_unchecked}
str4d May 19, 2020
ceecd32
group: Remove EncodedPoint::from_affine
str4d May 19, 2020
5f1607c
group: Rename into_*(&self) -> to_*(&self)
str4d May 19, 2020
a22957b
Merge pull request #231 from str4d/group-remove-encodedpoint
str4d May 20, 2020
4edff96
Fix various lints
str4d May 22, 2020
2892cf9
Migrate to protobuf-codegen-pure 2.14
str4d May 22, 2020
c488732
Use text directive on sage script doc comment instead of norun
str4d May 22, 2020
8831150
Merge pull request #232 from str4d/lint-fixes
str4d May 22, 2020
1212311
Merge pull request #205 from str4d/taddr-encoding
str4d May 23, 2020
4b1d8e5
Add methods to get OutPoint n, hash
adityapk00 May 23, 2020
5ff8562
Merge pull request #222 from adityapk00/zecwallet_compat
str4d May 23, 2020
f208c49
bls12_381: Fix typo in Fp::from_bytes documentation
str4d May 2, 2020
463d72c
bls12_381: Implement ff traits for Scalar
str4d May 2, 2020
b0542dd
jubjub: Implement ff traits for Fr
str4d May 2, 2020
0b2293b
bellman: Replace E: ScalarEngine with Scalar: PrimeField
str4d May 30, 2020
0a0e513
ff: Remove ScalarEngine
str4d May 30, 2020
5a40a0f
group: Remove CurveProjective::Base and CurveAffine::Base
str4d May 20, 2020
534c993
pairing: Remove Engine::Fq and Engine::Fqe
str4d May 20, 2020
c8bf2e9
pairing: Separate associated types for MillerLoopResult and Gt
str4d May 30, 2020
57bb18c
pairing: Move final_exponentiation into a MillerLoopResult trait
str4d May 30, 2020
da2e638
pairing: Pass affine references to Engine::pairing
str4d May 30, 2020
b9d6df9
pairing: Extract Engine::miller_loop into a MultiMillerLoop trait
str4d May 30, 2020
03f0862
pairing: Move PairingCurveAffine::Prepared to MultiMillerLoop trait
str4d Jun 3, 2020
3779c12
Set activation heights for Heartwood network upgrade
str4d Jun 4, 2020
cf75dc5
Merge pull request #239 from str4d/heartwood-activation
str4d Jun 4, 2020
a4b010e
Placeholders for Canopy network upgrade
therealyingtong Jun 4, 2020
7b94622
Merge pull request #237 from str4d/bellman-scalar
str4d Jun 16, 2020
4e685a8
Merge branch 'pairing-refactor'
str4d Jun 16, 2020
ae2d2b5
group: Move uncompressed encodings to an UncompressedEncoding trait
str4d May 20, 2020
3759fc8
group: Default implementation of CurveProjective::batch_normalize
str4d May 20, 2020
7158691
group: Extract compressed encodings from CurveAffine trait
str4d May 29, 2020
df13cd7
group: Remove "compressed" notion from GroupEncoding
str4d May 29, 2020
d52053d
group: Renaming prior to trait refactor
str4d May 29, 2020
a105ad6
group: Separate prime and cofactor traits into modules
str4d May 29, 2020
ad96a38
group: Make Wnaf generic over Group
str4d Jun 5, 2020
dab44bc
Merge pull request #241 from str4d/new-group-traits
str4d Jun 17, 2020
9f0ee56
Merge pull request #227 from str4d/impl-ff-traits
str4d Jun 17, 2020
12f6ec1
pairing: Bound Engine::Gt on Group instead of Field
str4d Jun 23, 2020
5ff8104
Pin protobuf 2.14 until our MSRV passes 1.44.1
str4d Jun 24, 2020
7134ab8
Merge pull request #244 from str4d/pairing-gt-fix
str4d Jun 24, 2020
c0cf55c
SQLite database structure and initialisation
str4d Mar 9, 2019
c8b70e5
zcash_client_sqlite::query::get_address()
str4d Mar 9, 2019
72dd76e
zcash_client_sqlite::query::{get_balance, get_verified_balance}
str4d Mar 9, 2019
3ef03f2
zcash_client_sqlite::scan::scan_cached_blocks()
str4d Mar 9, 2019
34725df
zcash_client_sqlite::transact::create_to_address()
str4d Mar 9, 2019
02324fb
zcash_client_sqlite::query::get_*_memo_as_utf8()
str4d Mar 9, 2019
a2de5d7
Add security disclaimer to README
str4d Mar 13, 2019
f0ce0c5
Add mainnet support to zcash_client_sqlite via a feature flag
str4d Apr 8, 2019
380c2f7
Chain validity and reorg handling
str4d May 2, 2019
4cfdace
zcash_client_sqlite: Support sending to t-addrs
str4d May 24, 2019
c8074d4
zcash_client_sqlite: Store is_change as INTEGER instead of BOOLEAN
str4d Nov 26, 2019
9363ec3
Added a limit value for scanning.
Feb 4, 2020
3036064
zcash_client_sqlite: Update received note during scan if present
str4d Mar 5, 2020
b1a2e81
zcash_client_backend: Add account to DecryptedOutput
str4d Mar 5, 2020
131e00e
zcash_client_sqlite::scan::decrypt_and_store_transaction
str4d Mar 5, 2020
d71a599
Empty equihash crate
str4d Jun 26, 2020
5b2c71e
Move Equihash verification APIs into equihash crate
str4d Jun 26, 2020
0a61db0
Upgrade to rusqlite 0.23
str4d Jun 25, 2020
e910788
zcash_proofs: Extract default params folder logic
str4d Jun 25, 2020
9012672
zcash_proofs: Add API for downloading the Sapling parameters
str4d Jun 26, 2020
bbc3ec5
CI: Fetch and cache Sapling parameters for tests
str4d Jun 26, 2020
9768c71
Merge pull request #240 from therealyingtong/canopy-nu-parameters
str4d Jun 26, 2020
997657f
Move `error!` logs into proper error type (#14)
yaahc Jul 7, 2020
8759684
equihash: Add parameter validity checks
str4d Jul 7, 2020
bcd687c
equihash: Remove iterative and recursive APIs
str4d Jul 8, 2020
092ffc7
equihash: Crate documentation
str4d Jul 8, 2020
7740658
equihash: Add additional constraints on Params
str4d Jul 9, 2020
72fbd20
equihash: Clarify order of operations in indices_from_minimal
str4d Jul 9, 2020
1b059d4
equihash: Remove unnecessary log dependency
str4d Jul 9, 2020
8188fae
zcash_client_sqlite: Implement outgoing viewing key policies
str4d Jul 9, 2020
8c250ca
zcash_sqlite: Add an unreliability warning to query::get_balance docs
str4d Jul 9, 2020
d380a8c
Merge pull request #246 from str4d/zcash_client_sqlite
str4d Jul 9, 2020
b5bd52e
equihash 0.1.0
str4d Jul 9, 2020
f55f094
Merge pull request #248 from str4d/equihash-crate
str4d Jul 9, 2020
30fe588
equihash: Valid and invalid test vectors
str4d Jul 10, 2020
c89d1c8
equihash: Test that all bits of the solution matter
str4d Jul 10, 2020
20bb9a6
equihash: Test vectors for expand_array and indices_from_minimal
str4d Jul 10, 2020
c921cfc
zcash_proofs: Add LocalProver::bundled
str4d Jul 10, 2020
71d31ab
Set activation heights for Canopy
therealyingtong Jul 30, 2020
2cca23c
Merge pull request #257 from therealyingtong/canopy-activation-heights
str4d Jul 31, 2020
b537f0f
Pass height to methods which encrypt or decrypt Sapling outputs
therealyingtong Jul 30, 2020
65504d9
Add enum Rseed<E::Fs> to Note struct
therealyingtong Jul 30, 2020
eda00ec
Pass esk to SaplingNoteEncryption::new and add generate_or_derive_esk()
therealyingtong Jul 30, 2020
6904c8f
Implement plaintext_version_is_valid()
therealyingtong Jul 30, 2020
895e251
Fix tests
therealyingtong Jul 30, 2020
b1ddd55
Check derived esk against claimed epk when decrypting note
therealyingtong Jul 31, 2020
eba542c
Add activation heights as consts in consensus::Parameters
therealyingtong Aug 3, 2020
b34e8b9
Add invalid version byte tests for ZIP212
therealyingtong Aug 3, 2020
a224d82
Merge pull request #251 from str4d/bundled-prover
str4d Aug 3, 2020
0a47a9d
Pass rseed to Prover
therealyingtong Aug 4, 2020
74b2f0a
Pass height to decrypt_transaction()
therealyingtong Aug 4, 2020
a25348d
Revert passing Parameters to methods
therealyingtong Aug 5, 2020
d5f8061
Switch plaintext version on height in commit_to_address() in zcash_cl…
therealyingtong Aug 5, 2020
a3ae1b2
Switch plaintext version on height for dummy outputs in Builder
therealyingtong Aug 5, 2020
2ed9b6f
Refactor contextual random rseed generation into util method in zcash…
therealyingtong Aug 5, 2020
c8fcdeb
Minor changes in note_encryption.rs
therealyingtong Aug 5, 2020
d6deadd
Only query last_height when needed in decrypt_and_store_transaction()
therealyingtong Aug 5, 2020
139fc09
bellman: add VerificationError (#254)
hdevalence Aug 5, 2020
88072d6
Remove network cfg from zcash_client_backend and zcash_primitives
therealyingtong Aug 6, 2020
44f46e5
Add <P: consensus::Parameters> type parameter to Builder struct
therealyingtong Aug 6, 2020
b05e257
Fix database queries in scan.rs and transact.rs
therealyingtong Aug 6, 2020
9970a8a
Hard-code NetworkUpgrade::Canopy in generate_random_rseed
therealyingtong Aug 6, 2020
4f22077
Remove const activation heights from consensus.rs
therealyingtong Aug 6, 2020
c3d8964
Revert SaplingNoteEncryption::new() API to take rng instead of esk
therealyingtong Aug 6, 2020
8786468
Switch on leadbyte instead of tx height when decrypting outputs
therealyingtong Aug 6, 2020
8968547
Document pub enum Rseed<Fs> with link to ZIP 212
therealyingtong Aug 6, 2020
40a908e
Refactor leadbyte_array in note_encryption tests
therealyingtong Aug 6, 2020
0f8f1b3
Fix parsing of rseed in parse_note_plaintext_without_memo() and try_s…
therealyingtong Aug 6, 2020
7cee29b
Use <P: consensus::Parameters> type for Builder impl
therealyingtong Aug 6, 2020
5480a37
Extract derive_esk() into separate function
therealyingtong Aug 6, 2020
d54fd09
Add esk check in parse_note_plaintext_without_memo() and try_sapling_…
therealyingtong Aug 6, 2020
13f4d08
Avoid using unwrap() when calling derive_esk()
therealyingtong Aug 6, 2020
72cc8fc
Minor refactor of enumeration in tests in note_encryption.rs
therealyingtong Aug 7, 2020
e22e15a
CI: Build zcash_proofs against WASM targets
str4d Aug 7, 2020
663d4ee
CI: Measure code coverage for zkcrypto crates
str4d Nov 20, 2019
18b1ce7
Merge pull request #265 from str4d/wasm-ci
str4d Aug 7, 2020
94c22ed
CI: Fetch Zcash params for code coverage
str4d Aug 12, 2020
1e8fd4d
group: CofactorGroup::mul_by_cofactor -> CofactorGroup::clear_cofactor
str4d Aug 12, 2020
ed6b7ec
group: Hard-code a w-NAF window size of 4
str4d Aug 12, 2020
418cba0
group: Document that Group::random is non-deterministic
str4d Aug 12, 2020
0e9b6e6
Merge pull request #158 from zcash/codecov-tweaks
str4d Aug 12, 2020
81c3b54
Merge pull request #258 from therealyingtong/zip212-esk-plaintext-impl
daira Aug 12, 2020
a5a6f57
Squashed 'bls12_381/' changes from 1a2e9f3..d0ea5d4
str4d Aug 12, 2020
636db2a
Merge commit 'a5a6f57c5abcf47387d1c9e1ea2ee8ab01925734' into bls12_38…
str4d Aug 12, 2020
6831d59
Merge pull request #267 from str4d/bls12_381-subtree-update
str4d Aug 12, 2020
9e9bec8
group: Fix documentation of CofactorGroup::clear_cofactor
str4d Aug 12, 2020
6b1281e
Merge pull request #266 from str4d/group-trait-updates
str4d Aug 12, 2020
7a2235a
jubjub: Replace Choice::unwrap_u8 with bool::from
str4d Aug 12, 2020
a6f2172
bls12_381: Replace Choice::unwrap_u8 with bool::from
str4d Aug 12, 2020
7eaf649
pairing: Require G1 and G2 to be PrimeCurve
str4d Aug 13, 2020
964532e
Merge pull request #268 from str4d/refactor-fixes
str4d Aug 13, 2020
af9f5f2
bellman: Migrate to sha2 0.9
str4d Jun 25, 2020
0db22b1
bellman: Migrate to bit-vec 0.6
str4d Jun 25, 2020
5fe2d6a
zcash_primitives: ripemd160 0.9 and sha2 0.9
str4d Jun 25, 2020
bc8a839
Migrate to hex 0.4
str4d Jun 25, 2020
9ced89a
zcash_primitives: secp256k1 0.17
str4d Jun 25, 2020
751ddad
zcash_primitives: crypto_api_chachapoly 0.4
str4d Jun 25, 2020
f8e74af
zcash_history: quickcheck 0.9
str4d Jun 25, 2020
e210a80
zcash_proofs: directories 3
str4d Jun 25, 2020
3cc7d2b
Remove unused import
str4d Jun 25, 2020
7f9ee9d
ff_derive: addchain 0.2
str4d Aug 14, 2020
45a7861
zcash_primitives: fpe 0.3
str4d Aug 16, 2020
d11b600
bls12_381: Implement group traits
str4d May 20, 2020
eae5df0
jubjub: Implement group traits
str4d May 29, 2020
4b4a4ee
bls12_381: Implement pairing traits
str4d Jun 24, 2020
3a72f08
group: Exclude identity element from output of Group::random
str4d Aug 17, 2020
3200ffc
group: GroupEncoding::Repr: Default is not required to be a valid ele…
str4d Aug 18, 2020
3983243
Merge pull request #247 from str4d/update-deps
str4d Aug 18, 2020
b86558c
Decrypt sapling output description given OCK (#271)
enforser Aug 18, 2020
544d593
Merge pull request #245 from str4d/impl-group-pairing-traits
str4d Aug 19, 2020
10c571f
zcash_primitives: Define generator constants using new crates
str4d Jun 27, 2020
315f00d
zcash_proofs: Define generator constants using new crates
str4d Jul 1, 2020
fdf0603
s/{pairing::bls12_381, zcash_primitives::jubjub}/{bls12_381, jubjub}
str4d Jul 1, 2020
b9a8e1e
zcash_primitives: Remove Jubjub implementation
str4d Jul 2, 2020
f735e8b
pairing: Remove BLS12-381 implementation
str4d Jul 2, 2020
87475b9
Merge pull request #250 from str4d/equihash-tests
str4d Aug 20, 2020
ed3489a
zcash_primitives: Explicitly type zero-initialised arrays
str4d Aug 21, 2020
ca5bc6b
zcash_primitives: Fix names of some test vector macros
str4d Aug 21, 2020
7a62232
zcash_primitives: Remove redundant TODO
str4d Aug 21, 2020
d15acf8
zcash_primitives: Rename Note::cm to Note::cmu
str4d Aug 21, 2020
24c61f9
zcash_proofs: Remove unnecessary comment
str4d Aug 21, 2020
984d31d
Merge pull request #272 from str4d/migrate-to-bls12_381-jubjub-crates
str4d Aug 22, 2020
ee6c21f
Scripted diff:
daira Aug 21, 2020
20c5096
Fix remaining cases of cm -> cmu.
daira Aug 21, 2020
cfed47c
Rename ValueCommitment.cm() to .commitment() (because it's confusing …
daira Aug 21, 2020
9e0041c
Consistently use (u, v) for affine-ctEdwards coordinates.
daira Aug 22, 2020
74abb88
Fix some comments.
daira Aug 21, 2020
56da51f
Squashed 'jubjub/' changes from ec85333e..38d38af3
str4d Aug 22, 2020
33b0758
Merge commit '56da51f3ce79fa4e6144af5f986d3bb9e0838590' into jubjub-s…
str4d Aug 22, 2020
436717c
Merge pull request #277 from str4d/jubjub-subtree-update
str4d Aug 22, 2020
8b6c814
Merge pull request #276 from daira/edwards-naming-cleanups
str4d Aug 22, 2020
9de623e
jubjub: Fix intra-doc link in SubgroupPoint::from_raw_unchecked
str4d Aug 23, 2020
c3d36c9
bls12_381: Add feature flags to docs.rs documentation
str4d Aug 23, 2020
a3cb89d
zcash_primitives: Add feature flags to docs.rs documentation
str4d Aug 23, 2020
cda56ef
zcash_proofs: Add feature flags to docs.rs documentation
str4d Aug 23, 2020
9bfb935
Merge pull request #281 from str4d/pre-0.3.0-changes
str4d Aug 23, 2020
55fa366
ff 0.7.0
str4d Aug 22, 2020
ee3e8fb
group 0.7.0
str4d Aug 22, 2020
bdb42bc
pairing 0.17.0
str4d Aug 22, 2020
5f99c52
bls12_381 0.2.0
str4d Aug 22, 2020
d112add
jubjub 0.4.0
str4d Aug 22, 2020
1124eb3
bellman 0.7.0
str4d Aug 22, 2020
e25a7da
zcash_primitives 0.3.0
str4d Aug 22, 2020
9ce0994
zcash_proofs 0.3.0
str4d Aug 22, 2020
0a3752c
zcash_client_backend 0.3.0
str4d Aug 22, 2020
3cd8f64
zcash_client_sqlite 0.1.0
str4d Aug 22, 2020
50140c5
Merge pull request #278 from str4d/release-0.3.0
ebfull Aug 24, 2020
3f06d92
Depend on published versions of subtree crates
str4d Aug 27, 2020
3a4ea5d
Remove subtree crates
str4d Aug 27, 2020
288b3da
Merge pull request #283 from str4d/remove-subtrees
ebfull Sep 1, 2020
25634e9
Core TZE traits and structs
str4d Apr 24, 2020
c94f1ff
Add TZEs to transaction format
str4d Nov 7, 2019
2db7f6d
Demo TZE parsing and consensus logic
str4d Nov 7, 2019
6ab82cc
TZE consensus context and program sets
str4d Apr 24, 2020
ee4bf5a
Add transaction-builder suport for TZE-bearing transactions.
str4d May 6, 2020
edfdc44
Make error a type member of FromPayload trait rather than a type vari…
nuttycom May 19, 2020
225e05e
Add validation to demo transaction builder.
nuttycom May 26, 2020
1966a57
Add tests for transaction builder support.
nuttycom May 27, 2020
0195788
Check transparent input for correctness before modifying vin.
nuttycom Jun 2, 2020
a3e49b6
Keep transaction details private.
nuttycom Jun 3, 2020
fd16611
Change extension_id and mode types to u32
nuttycom Jun 4, 2020
a2d8b30
Add signature hash over TZE data.
nuttycom Jun 4, 2020
aee59f2
zcash_extensions: Only run demo builder test if we have parameters
str4d Jun 4, 2020
eaf4f28
Add test for tze txn parsing.
nuttycom Jun 5, 2020
0396dda
Update to non-yanked version of subtle crate.
nuttycom Jun 23, 2020
78bb15f
Formatter fix.
nuttycom Jun 26, 2020
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
61 changes: 58 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.39.0
toolchain: 1.40.0
override: true

# cargo fmt does not build the code, and running it in a fresh clone of
Expand Down Expand Up @@ -48,8 +48,23 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.39.0
toolchain: 1.40.0
override: true

- name: Fetch path to Zcash parameters
working-directory: ./zcash_proofs
run: echo "::set-env name=ZCASH_PARAMS::$(cargo run --release --example get-params-path --features directories)"
- name: Cache Zcash parameters
id: cache-params
uses: actions/cache@v2
with:
path: ${{ env.ZCASH_PARAMS }}
key: ${{ runner.os }}-params
- name: Fetch Zcash parameters
if: steps.cache-params.outputs.cache-hit != 'true'
working-directory: ./zcash_proofs
run: cargo run --release --example download-params --features download-params

- name: cargo fetch
uses: actions-rs/cargo@v1
with:
Expand All @@ -70,6 +85,31 @@ jobs:
command: test
args: --verbose --release --all -- --ignored

build:
name: Build target ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
target:
- wasm32-unknown-unknown
- wasm32-wasi

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.40.0
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
- name: cargo fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Build zcash_proofs for target
working-directory: ./zcash_proofs
run: cargo build --verbose --no-default-features --target ${{ matrix.target }}

codecov:
name: Code coverage
runs-on: ubuntu-latest
Expand All @@ -86,11 +126,26 @@ jobs:
with:
command: install
args: cargo-tarpaulin

- name: Fetch path to Zcash parameters
working-directory: ./zcash_proofs
run: echo "::set-env name=ZCASH_PARAMS::$(cargo run --release --example get-params-path --features directories)"
- name: Cache Zcash parameters
id: cache-params
uses: actions/cache@v2
with:
path: ${{ env.ZCASH_PARAMS }}
key: ${{ runner.os }}-params
- name: Fetch Zcash parameters
if: steps.cache-params.outputs.cache-hit != 'true'
working-directory: ./zcash_proofs
run: cargo run --release --example download-params --features download-params

- name: Generate coverage report
uses: actions-rs/cargo@v1
with:
command: tarpaulin
args: --release --timeout 600 --out Xml --packages "zcash_client_backend,zcash_primitives,zcash_proofs"
args: --release --timeout 600 --out Xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.3
with:
Expand Down
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[workspace]
members = [
"bellman",
"ff",
"group",
"pairing",
"components/equihash",
"zcash_client_backend",
"zcash_client_sqlite",
"zcash_extensions",
"zcash_history",
"zcash_primitives",
"zcash_proofs",
"jubjub",
"bls12_381",
]

[profile.release]
lto = true
panic = 'abort'
codegen-units = 1

[profile.dev]
debug = true
opt-level = 0
2 changes: 0 additions & 2 deletions bellman/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions bellman/COPYRIGHT

This file was deleted.

43 changes: 0 additions & 43 deletions bellman/Cargo.toml

This file was deleted.

Loading