Skip to content
Cosmopediaby Unity Nodes
DiscussionsParameter Change[PROPOSAL #50][ACCEPTED] Governance Proposal for block_size Parameter ChangesForum ↗

[PROPOSAL #50][ACCEPTED] Governance Proposal for block_size Parameter Changes

Parameter Change3 posts1,394 views6 likesLast activity Jun 2021
BH
bharvestOP
Jun 2021 5

• Moderator edit to add link to on-chain proposal: Mintscan This document is a parameter governance proposal that asks Atom delegators to allow the changes of block_size parameter values to extend the block capacity of the Cosmos Hub so that it can mitigate reasonable amount of transactions processed within a block. The parameters will be immediately updated when this governance proposal passes. Introduction With the userbase growth of Gravity DEX on Cosmos Hub, it is expected that in average, the network will face much more transactions to be processed per each block. However, the network currently does not have enough block_size parameter values to incorporate such significant growth of number of transactions. Therefore, it is necessary to adjust such block_size parameters to handle enough transactions within each block. But, if we adjust too high, it will open the risk of network outage caused by average low validator server specs. Hence, it is important to find the adequate level of the parameter values to allow good amount of transaction processed within a block, but also to limit the risk of computational burden of the validator nodes. Parameters There…

Excerpt (1193 of 3498 characters). Read the whole post on the forum ↗

ZI
Zippo
Jun 2021

Resource usage at 500 TPB looks good!

Given an increase in max_gas and no increase in max_bytes, there shouldn’t be an acceleration in state growth, right?

BH
bharvest
Jun 2021 1

Orders in batches are removed when it is processed. Therefore, if node is not pruning-nothing, states will not grow significantly because the state only stores orders in current batch, which is refreshed for every batch.

Current cosmoshub uses much under the bytes limit. So even though it will not grow continuously, it should grow some.

I observe that Osmosis is experiencing lack of gas in a block(I remember the limit is only several million), which result in tx failures. Hence, it is good to be ready with larger gas limit to mitigate hundreds of swap transactions coming into a block.

Also for every message, gas is much more efficient in gravity dex than osmosis, so it should handle more txs within a block than osmosis.

← Back to Discussions