gno
gno copied to clipboard
Increase tm2 max_block limits
Description
tm2 has certain limit for each block https://github.com/gnolang/gno/blob/01e91be7bbde8e9cfc2069f66f24bc83d677103a/tm2/pkg/bft/types/params.go#L10-L31
I was wondering if we can adjust those limits and did some scraping and found CosmosSDK has some limits too.
Specially, MaxBlockMaxGas int64 = 10000000 // 10M gas size limit is too restrictive comparing cosmos had infinite(-1).
For example, deploying u256 almost spends 9M gas which is close to our current limit.
Deploying more complex realm(such as pool from gnoswap) needs about 13M gas => always fail due to max gax is 10M
Are there any reasonable basis for above limits? If not can we increase it??