Skip to content

Commit

Permalink
Merge pull request #540 from CosmWasm/530-refactor-indexes-into-files
Browse files Browse the repository at this point in the history
Refactor indexes into files
  • Loading branch information
maurolacy authored Nov 15, 2021
2 parents 067fb5f + a89228a commit 30affd4
Show file tree
Hide file tree
Showing 6 changed files with 605 additions and 579 deletions.
4 changes: 2 additions & 2 deletions packages/storage-plus/src/indexed_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ where
mod test {
use super::*;

use crate::indexes::{index_string_tuple, index_triple, MultiIndex, UniqueIndex};
use crate::U32Key;
use crate::indexes::{index_string_tuple, index_triple};
use crate::{MultiIndex, U32Key, UniqueIndex};
use cosmwasm_std::testing::MockStorage;
use cosmwasm_std::{MemoryStorage, Order};
use serde::{Deserialize, Serialize};
Expand Down
4 changes: 2 additions & 2 deletions packages/storage-plus/src/indexed_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ where
mod test {
use super::*;

use crate::indexes::{index_string_tuple, index_triple, MultiIndex, UniqueIndex};
use crate::{Index, U32Key};
use crate::indexes::{index_string_tuple, index_triple};
use crate::{Index, MultiIndex, U32Key, UniqueIndex};
use cosmwasm_std::testing::MockStorage;
use cosmwasm_std::{MemoryStorage, Order};
use serde::{Deserialize, Serialize};
Expand Down
Loading

0 comments on commit 30affd4

Please sign in to comment.