Proposal #23

Double the block gas limits

Exec Legacy Content
passed
Expected result
Rejected
Turnout / Quorum
7.89% / 20.00%

Voting period

Voting ended100.0%
Voting start 2021.08.19 at 01:44:14
Voting end 2021.08.22 at 01:44:14

Vote distribution

99.47%
16 278 028 osmo
Yes
0.31%
50 298 osmo
No
0.00%
80 osmo
Veto
0.22%
36 548 osmo
Abstain

Details

logo
Proposer
-
Total deposit
500 osmo
Submit time
2021.08.18 at 23:04:34
Deposit end time
2021.09.01 at 23:04:34

Description

This proposal increases the block gas limit to 120M, from the existing 60M.

We are currently frequently hitting block gas limits, even though the native execution times remain quite low. We see that we're frequently getting 10-20 trades per block, with block's nearing the gas limit. (Due to several affects, not just low gas limit, but the gas limit is still a part of it)

Furthermore, the bonding & unbonding of LP shares for yield farming still takes a lot of gas, even though its fixed in the subsequent chain software version. Bonding of LP shares is nearing 30M gas per tx (until the next upgrade). For unbonding it depends on how many locks its trying to unbond at once. (~25M each atm) Increasing the limit should improve UX, without notably increasing the block times. In the future, if we find that we're getting into execution time limits per block, we should start tuning per-tx gas parameters and optimizing the code to improve these speeds. The chain should absolutely be able to support 100+ trades per block, and we need our gas limits to be able to reflect this. I propose that only if the chain starts seeing too high of an execution time per block, and a software patch would take too long, do we start tuning down the block gas limit.

Votes

Voter
Answer