-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor bypass-min-fee-msg-types
#2213
Comments
Hi @jtremback, the reason I propose to move |
@MSalopek , do we need to fix the extra
|
Hi @ancazamfir , thank you for the thoughtful input and discussion ! ❤️ anyway, like discussed, writing both |
Who is "we"? How is this different than operator preference to have gas fee configurable? I am trying to understand and as I mentioned I don't know why some params are in There might be some justification in this particular case but having a hardcoded param is generally not a good idea imho. |
I discussed with @MSalopek.
do you mean setup |
Hi @mmulji-ic, for software design related feedback from node operators (like above), what is the best channel to ask, validator-verified ? thanks! |
I slacked you some channels, if you don't get enough feedback, I can reach out to validators via telegram. IBC devrel would be good to get some input also. |
Hi @ancazamfir, just to correct what i said, changing gas is state-breaking. please check here #2218 (comment) so |
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
bypass-min-fee-msg-types
closed by pr #2218 |
Summary
Presently, gaia allows certain message free of fee charge, the default setup in
app.toml
is:Nodes created using Gaiad v7.0.2 or later will have the above
bypass-min-fee-msg-types
as defaults inapp.toml
. Nodes with bypass-min-fee-msg-types = [] or missing this field in app.toml also use default bypass message types.Bypass-msgs should not exceed gas usage of
uint64(len(bypassMsgs))*MaxBypassMinFeeMsgGasUsage
.MaxBypassMinFeeMsgGasUsage = 200,000
.Type
Impact
There will be more msgs from relayers free of fee charges.
Proposed Solution
The following changes are proposed:
bypass-min-fee-msg-types = []
, will not bypass any message, node withbypass-min-fee-msg-types
missing in app.toml will use defaultbypass-min-fee-msg-types
change bypass-min-fee-types parsing; change defaults #2092, corresponding docs need to be updated.["/ibc.core.channel.v1.MsgTimeout", "/ibc.core.channel.v1.MsgTimeoutOnClose"]
to defaultypass-min-fee-msg-types
MaxTotalBypassMinFeeMsgGasUsage
, thisMaxTotalBypassMinFeeMsgGasUsage
should be smaller than half of a block'smax_gas
so that other messages can also get into the block. WithMaxTotalBypassMinFeeMsgGasUsage
, relayers can arrange the bypass-msgs to utilize the bypass setup.from cosmoshub-4 genesis, we can get
so the
MaxTotalBypassMinFeeMsgGasUsage
can be 1,000,000Discussion
in the future, shall we write
bypass-min-fee-msg-types
andMaxTotalBypassMinFeeMsgGasUsage
to the store ?there are difference voices also if we write
MaxTotalBypassMinFeeMsgGasUsage
to app.toml together withbypass-min-fee-msg-types
For Admin Use
The text was updated successfully, but these errors were encountered: