You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Lists all the proposals that have been cast in this
/// module.
#[returns(crate::query::ProposalListResponse)]
ListProposals{
/// The proposal ID to start listing proposals after. For
/// example, if this is set to 2 proposals with IDs 3 and
/// higher will be returned.
start_after:Option<u64>,
/// The maximum number of proposals to return as part of this
/// query. If no limit is set a max of 30 proposals will be
/// returned.
limit:Option<u64>,
},
Lists all the proposals
But, when I query /cosmwasm/wasm/v1/contract/neutron1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgshlt6zh/smart/eyJsaXN0X3Byb3Bvc2FscyI6IHt9fQ==
it returns only 30 early proposals.
As a side note, there's no way to figure out if /cosmwasm/wasm/v1/contract/neutron1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgshlt6zh/smart/eyJsaXN0X3Byb3Bvc2FscyI6IHt9fQ==
returned all props or just some of them.
If I look at the correct line, it says that it should return all proposals
dao-contracts/contracts/proposal/dao-proposal-single/src/msg.rs
Lines 158 to 170 in ef21c63
But, when I query
/cosmwasm/wasm/v1/contract/neutron1436kxs0w2es6xlqpp9rd35e3d0cjnw4sv8j3a7483sgks29jqwgshlt6zh/smart/eyJsaXN0X3Byb3Bvc2FscyI6IHt9fQ==
it returns only 30 early proposals.
This is unexpected.
The smart contract method is as following:
The text was updated successfully, but these errors were encountered: