Update and re-enable erc20 contract

This commit is contained in:
Simon Warta
2020-10-15 11:35:29 +02:00
parent 12a36d9086
commit 4dd356c7e4
7 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
0f14abcc6fed08f2dd06896db974989db97dbcc6e8e30188b73fe5ab427c7785 cw-erc20.wasm
ebc2b11e2afa50d5dcd4234840cd581e948a59d888bb8d651598bba3732cd8ee cw-nameservice.wasm
d04368320ad55089384adb171aaea39e43d710d7608829adba0300ed30aa2988 cw_erc20.wasm
3defc33a41f58c71d38b176d521c411d8e74d26403fde7660486930c7579a016 hackatom.wasm
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -22,8 +22,8 @@ const guest = {
};
const codeMeta = {
source: "https://crates.io/api/v1/crates/cw-erc20/not-yet-released/download",
builder: "cosmwasm/rust-optimizer:0.9.0",
source: "https://crates.io/api/v1/crates/cw-erc20/0.7.0/download",
builder: "cosmwasm/rust-optimizer:0.10.4",
};
const initDataHash = {
@@ -137,7 +137,7 @@ async function main() {
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic);
const client = new SigningCosmWasmClient(httpUrl, alice.address0, wallet);
const wasm = fs.readFileSync(__dirname + "/contracts/cw-erc20.wasm");
const wasm = fs.readFileSync(__dirname + "/contracts/cw_erc20.wasm");
const uploadReceipt = await client.upload(wasm, codeMeta, "Upload ERC20 contract");
console.info(`Upload succeeded. Receipt: ${JSON.stringify(uploadReceipt)}`);
+1 -1
View File
@@ -25,5 +25,5 @@ SCRIPT_DIR="$(realpath "$(dirname "$0")")"
sha256sum --check checksums.sha256
)
"$SCRIPT_DIR/deploy_hackatom.js"
# "$SCRIPT_DIR/deploy_erc20.js"
"$SCRIPT_DIR/deploy_erc20.js"
# "$SCRIPT_DIR/deploy_nameservice.js"