Skip to content

Commit

Permalink
Remove unused db serializers
Browse files Browse the repository at this point in the history
  • Loading branch information
keyvank committed Jul 13, 2023
1 parent 270f005 commit 2071de0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/db/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pub mod keys;

use crate::blockchain::ZkCompressedStateChange;
use crate::core::{
hash::Hash, Amount, Block, ContractAccount, ContractId, Delegate, Hasher, Header, Ratio,
Staker, Token, Undelegation,
Expand All @@ -11,7 +10,7 @@ use crate::zk::{
};
use db_key::Key;
use serde::{Deserialize, Serialize};
use std::collections::{BTreeMap, HashMap};
use std::collections::BTreeMap;
use std::ops::Bound;
use thiserror::Error;

Expand Down Expand Up @@ -108,8 +107,6 @@ gen_try_into!(
ZkContract,
ZkCompressedState,
Vec<ContractId>,
HashMap<ContractId, ContractAccount>,
HashMap<ContractId, ZkCompressedStateChange>,
ZkState,
ZkStateModel,
ZkScalar,
Expand Down Expand Up @@ -138,8 +135,6 @@ gen_from!(
ZkContract,
ZkCompressedState,
Vec<ContractId>,
HashMap<ContractId, ContractAccount>,
HashMap<ContractId, ZkCompressedStateChange>,
&ZkState,
ZkStateModel,
ZkScalar,
Expand Down

0 comments on commit 2071de0

Please sign in to comment.