zero-chain icon indicating copy to clipboard operation
zero-chain copied to clipboard

Add `TryFrom` traits to convert original types to zerochain primitive types

Open osuketh opened this issue 6 years ago • 0 comments

Add TryFrom traits to convert original types to zerochain primitive types in proofs crate. Use Bls12 type instead of JubjubEngine trait in original types in order to avoid recursive definitions.

https://github.com/LayerXcom/zero-chain/blob/553e7e0f0b386964d22ff074126aa78367477bec/core/proofs/src/transaction.rs#L68

osuketh avatar Aug 10 '19 14:08 osuketh