-
Notifications
You must be signed in to change notification settings - Fork 31
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
chore: remove MaxGas const #253
Conversation
6351ea8
to
5c8e5fd
Compare
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.
The PR adds unused consts and vars to alias.go
.
Except this, LGTM.
5c8e5fd
to
177f0c9
Compare
@whylee259 I changed the branch rebasing to. Sorry for using force push. |
x/wasm/internal/keeper/relay_test.go
Outdated
@@ -32,7 +32,7 @@ func TestOnOpenChannel(t *testing.T) { | |||
}, | |||
"consume max gas": { | |||
contractAddr: example.Contract, | |||
contractGas: MaxGas, | |||
contractGas: math.MaxUint64 / DefaultGasMultiplier, |
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.
contractGas: math.MaxUint64 / DefaultGasMultiplier, | |
contractGas: math.MaxUint64 / types.DefaultGasMultiplier, |
and
math
should be also imported.
Description
closes: #252
merge original #529 and part of #533
docs/
) or specification (x/<module>/spec/
) (Not Needed)godoc
comments. (Not Needed)Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes