Skip to content

Commit

Permalink
fixed some bug in v0.11.2 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
leobragaz committed Nov 11, 2020
1 parent e135dd4 commit 54f5e16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const bonsaiCW = (client: SigningCosmWasmClient) : BonsaiContract => {
const upload = async (): Promise<number> => {
const meta = {
source: "https://github.com/bragaz/wasm-test-contract/tree/v0.1.1",
builder: "cosmwasm/rust-optimizer:0.10.3"
builder: "cosmwasm/rust-optimizer:0.10.4"
};
const sourceUrl = "https://github.com/bragaz/wasm-test-contract/releases/download/v0.1.1/my_first_contract.wasm";
const wasm = await downloadWasm(sourceUrl);
Expand Down
2 changes: 2 additions & 0 deletions src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use crate::state::{
pub fn init<S: Storage, A: Api, Q: Querier>(
deps: &mut Extern<S, A, Q>,
env: Env,
_info: MessageInfo,
msg: InitMsg,
) -> Result<InitResponse, MyCustomError> {
// set_contract_version(&mut deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?;
Expand Down Expand Up @@ -223,6 +224,7 @@ pub fn handle_cut_bonsai<S: Storage, A: Api, Q: Querier>(

pub fn query<S: Storage, A: Api, Q: Querier>(
deps: &Extern<S, A, Q>,
_env: Env,
msg: QueryMsg,
) -> StdResult<Binary> {
match msg {
Expand Down

0 comments on commit 54f5e16

Please sign in to comment.