Merge pull request #863 from cosmos/upgrade-to-wasmd-0.18

Upgrade CosmWasm to wasmd 0.18
This commit is contained in:
Simon Warta
2021-08-04 16:54:25 +02:00
committed by GitHub
36 changed files with 176 additions and 379 deletions
-5
View File
@@ -23,15 +23,10 @@ async function main(hackatomWasmPath: string) {
// Upload contract
const wasm = fs.readFileSync(hackatomWasmPath);
const uploadFee = calculateFee(1_500_000, gasPrice);
const codeMeta = {
source: "https://crates.io/api/v1/crates/hackatom/not-yet-released/download",
builder: "cosmwasm/rust-optimizer:0.10.8",
};
const uploadReceipt = await client.upload(
alice.address0,
wasm,
uploadFee,
codeMeta,
"Upload hackatom contract",
);
console.info("Upload succeeded. Receipt:", uploadReceipt);
+1 -1
View File
@@ -54,7 +54,7 @@
"axios": "^0.21.1",
"babylon": "^6.18.0",
"colors": "^1.3.3",
"cosmjs-types": "^0.1.0",
"cosmjs-types": "^0.2.0",
"diff": "^4",
"recast": "^0.20",
"ts-node": "^8",