-
Notifications
You must be signed in to change notification settings - Fork 3
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
Issue154 upgrade smart contracts to provwasm 2.0.0 #159
Conversation
@EasyEtHP4 / @kherzinger-figure FYI - relevant while you are still on the smart contract |
.mock_querier | ||
.update_balance("customer", vec![dcc]); | ||
|
||
// TODO - fix test since mock response returns same result no matter the input |
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.
waiting on resolution from provwasm team about mocking not considering the inputs of the query
@@ -1739,9 +2010,30 @@ mod tests { | |||
) | |||
.unwrap(); | |||
|
|||
// TODO - fix mock response so it is only returnable for checking bank2 and not bank1 |
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.
waiting on resolution from provwasm team about mocking not considering the inputs of the query
smart-contract-sale/Cargo.toml
Outdated
cw2 = "1.0.1" | ||
provwasm-std = { version = "1.1.2" } | ||
provwasm-std = { version = "2.0.0-rc1" } |
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.
looks like 2.0.0
has been released - https://github.com/provenance-io/provwasm/releases/tag/v2.0.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.
for some reason they never published it on crate...
Migration guide: https://github.com/provenance-io/provwasm/blob/main/MIGRATION.md
There are a couple broken tests right now that are waiting on this discussion: https://discord.com/channels/897185242182484029/1115703566737342474/1128040123989242008