ignite/cli

How to set TxSizeCostPerByte

fborello-lambda opened this issue · 2 comments

Describe the bug
sending a custom message:

ignite scaffold message --module verification verify1 proof

And then

appd tx verification verify1 \
  --from alice\
  --chain-id app \
  $(cat proof.base64)

i made it work by passing a specific gas amount with --gas.

Is there a way to lower the TxSizeCostPerByte with ignite. Cosmos sdk docs says it can be done with the x/auth module

What version are you using?
Ignite CLI version: v28.2.0
Cosmos SDK version: v0.50.3
Your OS: darwin
Your arch: arm64
Your go version: go version go1.22.0 darwin/arm64

You can set it in the configuration file, which will be added directly to the genesis file. Look at this example:

https://github.com/tendermint/spn/blob/main/config.yml#L50-L69

Thanks, simple solution and extremely helpful !