-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add warning to feegrant documentation v0.45 and before #12419
Comments
v0.44 and v0.45 actually don't include documentation for the Considering that v0.46 is not yet released, should the latest version of the docs include a warning describing that previous versions are affected by the bug and will behave differently? |
Considering that cosmos-sdk/x/feegrant/spec/01_concepts.md Lines 53 to 61 in 0cc82cf
I believe an So perhaps this warning message can be generalized a bit, maybe something like:
Are there any examples of this type of warning in the sdk documentation? If so I'm happy to start a PR for this. |
45 and before is no longer maintained we can close this |
Summary
The feegrant module was introduced in v0.44 with a bug when using
AllowedMsgAllowance
in which case the fee is not subtracted from the spend limit (#10563). This issue has been resolved in #10564 and the changes will be included in v0.46.Applications using the feegrant module with v0.44 and v0.45 are still affected by the bug meaning spend limit is not updated when using
AllowedMsgAllowance
and therefore spend limit only limits spending on a per transaction basis and not overall.This bug should be clearly documented with a warning in the v0.44 and v0.45 feegrant documentation.
Version
v0.44
andv0.45
For Admin Use
The text was updated successfully, but these errors were encountered: