BCIP-6: Increase Block Capacity through Request Gas Parameter
Voting period
Vote distribution
Details
Description
Context
With the recent growth of usage from our partners (i.e. Mirror, Injective), there is an increase in requests that fills upto 80-90% of block’ capacity during peak periods. The proposed parameter per_validator_request_gas specifies the amount of gas required to process a request on BandChain per each validator that needs to report data. The parameter was originally initiated to the previous value to prevent spamming of requests to all validators. Now, with datasource fee activated on datasource ends, the parameter renders less necessary in preventing spamming and the protocol can take advantage of this to increase block capacity.
This proposal reduces per_validator_request_gas from 30000 to 0, decreasing the overall gas used per each request.
With each request using less gas, a block which has a gas limit of 8 million can take in more requests, allowing BandChain to process more requests in one block and increase capacity to serve growing data demand of partners. Specifically, this will increase BandChain capacity to process requests by approximately 25%.
Effects
Users: Faster requests and transactions on-chain.With less request size (by gas used), a block has more free capacity to process more requests and other types of transactions.
Votes