diff --git a/src/libs/fetch.js b/src/libs/fetch.js index d4cf1e21..5e200f87 100644 --- a/src/libs/fetch.js +++ b/src/libs/fetch.js @@ -352,10 +352,9 @@ export default class ChainFetch { async getGovernanceList(next = '', chain = null) { const key = next || '' const url = this.config.chain_name === 'shentu' - ? `/shentu/gov/v1alpha1/proposals?pagination.limit=50&pagination.reverse=true&pagination.key=${key}` - : `/cosmos/gov/v1beta1/proposals?pagination.limit=50&pagination.reverse=true&pagination.key=${key}` + ? `/shentu/gov/v1alpha1/proposals?pagination.limit=20&pagination.reverse=true&pagination.key=${key}` + : `/cosmos/gov/v1beta1/proposals?pagination.limit=20&pagination.reverse=true&pagination.key=${key}` return this.get(url, chain).then(data => { - // const pool = new StakingPool().init(commonProcess(data[1])) let proposals = commonProcess(data) if (Array.isArray(proposals.proposals)) { proposals = proposals.proposals