-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat(rollapp params): remove maxgas from rollappparams #524
Conversation
2a41c3c
to
eb82a2c
Compare
25502fb
to
bd46997
Compare
5c86ff0
to
2c2849b
Compare
bd46997
to
671bbf9
Compare
671bbf9
to
831a733
Compare
expectedErr: true, | ||
}, | ||
{ | ||
name: "block max size too small", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we remove the max size test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no reason for that, it was by mistake. tests readded
x/rollappparams/keeper/keeper.go
Outdated
@@ -56,3 +46,8 @@ func (k Keeper) Version(ctx sdk.Context) (res string) { | |||
k.paramSpace.Get(ctx, types.KeyVersion, &res) | |||
return | |||
} | |||
|
|||
func (k Keeper) BlockMaxSize(ctx sdk.Context) (res uint32) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we name it BlockMaxBytes
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Description
Closes #525
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
godoc
commentsSDK Checklist
map
time.Now()
sendCoin
and notSendCoins
Full security checklist here
For Reviewer:
After reviewer approval: