Change log
- 2024-08-05 Created initial post
- 2024-08-08 Added JSON param message
- 2024-08-10 Updated to 75m
Summary
In v18 the hub added a new “feemarket” module from the Skip team. In the feemarket params, the max block utilization was set to just 30 million gas while the network allows up to 100 million gas per block.
This recently has led to many users questioning why their transactions have failed, at no fault to them. Leading to a desegregated user experience on the hub for interacting.
This proposal, if passed, updates the current feemarket max gas utilization to 75m (from 30m) per block, allowing for a buffer with current max gas of the network consensus params (100m).
Details
CosmosHub Upgrade handler setting to default max to 30m gas:
Example of some failed transactions:
Bank multi send:
IBC Ack:
unable to update fee market state: block utilization of 30000783 cannot exceed max block utilization of 30000000
You can verify current cosmoshub max_gas block params with
go install cosmossdk.io/tools/hubl/cmd/hubl@latest
hubl cosmoshub q consensus params
{
"params": {
"block": {
"max_bytes": "2000000",
"max_gas": "100000000"
},
"evidence": {
"max_age_num_blocks": "1000000",
"max_age_duration": "48h0m0s",
"max_bytes": "50000"
},
"validator": {
"pub_key_types": [
"ed25519"
]
}
}
}
and feemarket with
gaiad q feemarket params --output=json --node=https://cosmoshub.rpc.kjnodes.com:443 | jq '.max_block_utilization'
# "30000000"
Read more about the feenmarket spec here
Parameter and new value
Update Feemarket MaxBlockUtilization / max_block_utilization to 75000000 (75 million) while leaving all other current mainnet params the same.
{
"@type": "/feemarket.feemarket.v1.MsgParams",
"params": {
"alpha": "0.000000000000000000",
"beta": "1.000000000000000000",
"gamma": "0.000000000000000000",
"delta": "0.000000000000000000",
"min_base_gas_price": "0.005000000000000000",
"min_learning_rate": "0.125000000000000000",
"max_learning_rate": "0.125000000000000000",
"max_block_utilization": "75000000",
"window": "1",
"fee_denom": "uatom",
"enabled": true,
"distribute_fees": false
},
"authority": "cosmos10d07y265gmmuvt4z0w9aw880jnsr700j6zn9kn"
}
Forum post link
IPFS link
Governance votes
The following items summarize the voting options and what it means for this proposal:
YES - Agree with increasing the feemarket max gas utilization.
NO - Disagree with increasing the feemarket max gas utilization.
NO WITH VETO - A ‘NoWithVeto’ vote indicates a proposal either (1) is deemed to be spam, i.e., irrelevant to Cosmos Hub, (2) disproportionately infringes on minority interests, or (3) violates or encourages violation of the rules of engagement as currently set out by Cosmos Hub governance. If the number of ‘NoWithVeto’ votes is greater than a third of total votes, the proposal is rejected and the deposits are burned.
ABSTAIN - You wish to contribute to quorum but you formally decline to vote either for or against the proposal.