Skip to content

Commit

Permalink
rename errors.rs to error.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
colmazia committed Sep 30, 2022
1 parent d79068f commit 7a62a4f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/crypto/src/ecvrf.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::errors::{CryptoError, CryptoResult};
use crate::error::{CryptoError, CryptoResult};
use gmp::mpz::Mpz;
use hex::decode;
use sha2::{Digest, Sha512};
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
extern crate lazy_static;

pub mod ecvrf;
pub mod errors;
pub mod error;
2 changes: 1 addition & 1 deletion packages/vm/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::vm::{Environment, Querier};
use wasmer::{imports, Function, ImportObject, Store};

use owasm_crypto::ecvrf;
use owasm_crypto::errors::CryptoError;
use owasm_crypto::error::CryptoError;

const IMPORTED_FUNCTION_GAS: u64 = 750_000_000;
const ECVRF_VERIFY_GAS: u64 = 7_500_000_000_000;
Expand Down

0 comments on commit 7a62a4f

Please sign in to comment.