-
Notifications
You must be signed in to change notification settings - Fork 96
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
v5.0.2 upgrade handler #770
Conversation
}{ | ||
{ | ||
name: "sending tokenfactory denom from module to module with infinite contract should panic", | ||
wasmFile: "./testdata/infinite_track_beforesend.wasm", |
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.
Links to contracts source code would be helpful.
}, | ||
{ | ||
name: "Try using no 100", | ||
wasmFile: "./testdata/no100.wasm", |
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.
Not sure i understand, what the contract does, could you give a brief description?
go.mod
Outdated
@@ -218,6 +218,7 @@ require ( | |||
) | |||
|
|||
replace ( | |||
cosmossdk.io/math => cosmossdk.io/math v1.4.0 |
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.
It's already 1.4.0, if you don't want to prevent future updates, i think it's not necessarily to set a replacement
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.
Doesn't this replace force for v1.4.0 to be used in all dependencies?
} | ||
|
||
// set beforesend hook to the new denom | ||
// we register infinite loop contract here to test if we are gas metering properly |
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.
As far as i can see, no100 in the list of testcases and it's not infinite loop
. Comment misleading?
tokenToSend = tc.tokenToSend | ||
} | ||
|
||
// send the mint module tokenToSend |
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.
mint?
Co-authored-by: swelf19 <62722506+swelf19@users.noreply.github.com>
v5.0.2 upgrade handler + tokenfactory tests + increasage of tf gas limit call
Related PR: