Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Mock band fixes #351

wants to merge 8 commits into from

Conversation

AustinWoetzel
Copy link
Contributor

Description

fix compile issues and move mock band contract back into the main contract folder

@AustinWoetzel
Copy link
Contributor Author

TODO: cosmwasm V1 upgrade, have to discuss requirements with @DrPresident

Copy link
Collaborator

@DrPresident DrPresident left a 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(
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants