-
Notifications
You must be signed in to change notification settings - Fork 22
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
Mock band fixes #351
base: main
Are you sure you want to change the base?
Mock band fixes #351
Conversation
TODO: cosmwasm V1 upgrade, have to discuss requirements with @DrPresident |
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.
Change all
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[serde(rename_all = "snake_case")]
to
#[cw_serde]
Upgrade bucket
storage to Map
from storage-plus
rename handle
to execute
@@ -27,7 +25,7 @@ pub fn price_w(storage: &mut dyn Storage) -> Bucket<Uint128> { | |||
bucket(storage, PRICE) | |||
} | |||
|
|||
pub fn init( | |||
pub fn instantiate( |
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.
add #[shd_entry_point]
to this, execute
& query
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
fix compile issues and move mock band contract back into the main contract folder