mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 22:03:06 +00:00
warnings
This commit is contained in:
parent
45cb6b21a2
commit
e808422320
@ -8,15 +8,10 @@ use k256::elliptic_curve::group::GroupEncoding;
|
||||
|
||||
use ::storage::transaction::{Transaction, TransactionPayload, TxKind};
|
||||
use accounts::account_core::{Account, AccountAddress};
|
||||
use anyhow::{anyhow, Result};
|
||||
use anyhow::Result;
|
||||
use config::NodeConfig;
|
||||
use executions::{
|
||||
private_exec::{generate_commitments, generate_nullifiers},
|
||||
se::{commit, tag_random},
|
||||
};
|
||||
use executions::private_exec::{generate_commitments, generate_nullifiers};
|
||||
use log::info;
|
||||
use rand::thread_rng;
|
||||
use secp256k1_zkp::{CommitmentSecrets, Tweak};
|
||||
use sequencer_client::{json::SendTxResponse, SequencerClient};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use storage::NodeChainStore;
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
use ark_bn254::Fr;
|
||||
use ark_ff::{BigInteger, PrimeField};
|
||||
use light_poseidon::{parameters::bn254_x5, Poseidon, PoseidonBytesHasher};
|
||||
// use ark_ff::{BigInteger, PrimeField};
|
||||
use light_poseidon::{Poseidon, PoseidonBytesHasher};
|
||||
|
||||
#[allow(unused)]
|
||||
fn poseidon_hash(inputs: &[&[u8]]) -> anyhow::Result<[u8; 32]> {
|
||||
let mut poseidon = Poseidon::<Fr>::new_circom(2).unwrap();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user