Export ed25519 zebra (#445)

And use that one, and our similar redjubjub export, everywhere.

Fixes #405

* Move PRs to 'In Progress' column on project board when created
This commit is contained in:
Deirdre Connolly 2020-06-06 18:10:32 -04:00 committed by GitHub
parent 123ba3674f
commit b263489af6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -11,7 +11,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: alex-page/github-project-automation-plus@v0.2.4 - uses: alex-page/github-project-automation-plus@v0.2.4
if: github.event_name == 'issues' && github.event.action == 'opened'
with: with:
project: Zebra project: Zebra
column: To Do column: To Do
repo-token: ${{ secrets.PROJECT_AUTOMATION }} repo-token: ${{ secrets.PROJECT_AUTOMATION }}
- uses: alex-page/github-project-automation-plus@v0.2.4
if: github.event_name == 'pull_request' && github.event.action == 'opened'
with:
project: Zebra
column: In progress
repo-token: ${{ secrets.PROJECT_AUTOMATION }}

View File

@ -23,12 +23,12 @@ use std::{
use bech32::{self, FromBase32, ToBase32}; use bech32::{self, FromBase32, ToBase32};
use rand_core::{CryptoRng, RngCore}; use rand_core::{CryptoRng, RngCore};
use redjubjub::{self, SpendAuth};
#[cfg(test)] #[cfg(test)]
use proptest_derive::Arbitrary; use proptest_derive::Arbitrary;
use crate::{ use crate::{
redjubjub::{self, SpendAuth},
serialization::{ReadZcashExt, SerializationError}, serialization::{ReadZcashExt, SerializationError},
Network, Network,
}; };

View File

@ -21,6 +21,7 @@ pub mod serialization;
pub mod transaction; pub mod transaction;
pub mod types; pub mod types;
pub use ed25519_zebra;
pub use redjubjub; pub use redjubjub;
#[cfg(test)] #[cfg(test)]

View File

@ -1,7 +1,7 @@
#[cfg(test)] #[cfg(test)]
use proptest::{array, collection::vec, prelude::*}; use proptest::{array, collection::vec, prelude::*};
use crate::{notes::sprout, proofs::ZkSnarkProof}; use crate::{ed25519_zebra, notes::sprout, proofs::ZkSnarkProof};
/// A _JoinSplit Description_, as described in [protocol specification §7.2][ps]. /// A _JoinSplit Description_, as described in [protocol specification §7.2][ps].
/// ///