Skip to content

Commit

Permalink
Use u32 for pagination limit
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jun 9, 2023
1 parent ef25419 commit 2e3f091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/std/src/pagination.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::{Binary, Uint64};
use crate::Binary;

/// Simplified version of the PageRequest type for pagination from the cosmos-sdk
#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq, JsonSchema)]
pub struct PageRequest {
pub key: Option<Binary>,
pub limit: Uint64,
pub limit: u32,
pub reverse: bool,
}

0 comments on commit 2e3f091

Please sign in to comment.