feat: implemented the Bls381-12 builtins and types
also implemented Keccak256 and Blake2b_224 TODO: cost model, flat serialization, pretty Co-authored-by: rvcas <x@rvcas.dev>
This commit is contained in:
@@ -50,6 +50,10 @@ pub enum Error {
|
||||
DeserialisationError(String, Value),
|
||||
#[error("Integer overflow")]
|
||||
OverflowError,
|
||||
#[error("blst")]
|
||||
Blst(blst::BLST_ERROR),
|
||||
#[error("blst::hashToGroup")]
|
||||
HashToCurveDstTooBig,
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
#[error(transparent)]
|
||||
Secp256k1(#[from] secp256k1::Error),
|
||||
|
||||
Reference in New Issue
Block a user