Skip to content

Commit

Permalink
fix(cognitarium): use btree instead of hashmap for select results
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Apr 20, 2023
1 parent 59387f7 commit 01a052d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/okp4-cognitarium/src/msg.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cosmwasm_schema::{cw_serde, QueryResponses};
use cosmwasm_std::{Binary, Uint128};
use std::collections::HashMap;
use std::collections::BTreeMap;

/// Instantiate message
#[cw_serde]
Expand Down Expand Up @@ -121,7 +121,7 @@ pub struct Head {
#[cw_serde]
pub struct Results {
/// The bindings of the results.
pub bindings: Vec<HashMap<String, Value>>,
pub bindings: Vec<BTreeMap<String, Value>>,
}

/// # Value
Expand Down

0 comments on commit 01a052d

Please sign in to comment.