From 113799c88658384ee527cc896c49ce1d21546bdd Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 7 May 2020 12:26:36 +0200 Subject: [PATCH] Format .js files with prettier 2 --- scripts/wasmd/deploy_erc20.js | 4 ++-- scripts/wasmd/deploy_nameservice.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/wasmd/deploy_erc20.js b/scripts/wasmd/deploy_erc20.js index 91ab3010..84e8b6cc 100755 --- a/scripts/wasmd/deploy_erc20.js +++ b/scripts/wasmd/deploy_erc20.js @@ -74,7 +74,7 @@ const initMsgJade = { async function main() { const pen = await Secp256k1Pen.fromMnemonic(faucet.mnemonic); - const client = new SigningCosmWasmClient(httpUrl, faucet.address, signBytes => pen.sign(signBytes)); + const client = new SigningCosmWasmClient(httpUrl, faucet.address, (signBytes) => pen.sign(signBytes)); const wasm = fs.readFileSync(__dirname + "/contracts/cw-erc20.wasm"); const uploadReceipt = await client.upload(wasm, codeMeta, "Upload ERC20 contract"); @@ -92,7 +92,7 @@ main().then( console.info("All done, let the coins flow."); process.exit(0); }, - error => { + (error) => { console.error(error); process.exit(1); }, diff --git a/scripts/wasmd/deploy_nameservice.js b/scripts/wasmd/deploy_nameservice.js index e835d4e4..12e52b1c 100755 --- a/scripts/wasmd/deploy_nameservice.js +++ b/scripts/wasmd/deploy_nameservice.js @@ -37,7 +37,7 @@ const luxury = { async function main() { const pen = await Secp256k1Pen.fromMnemonic(faucet.mnemonic); - const client = new SigningCosmWasmClient(httpUrl, faucet.address, signBytes => pen.sign(signBytes)); + const client = new SigningCosmWasmClient(httpUrl, faucet.address, (signBytes) => pen.sign(signBytes)); const wasm = fs.readFileSync(__dirname + "/contracts/cw-nameservice.wasm"); const uploadReceipt = await client.upload(wasm, codeMeta, "Upload Name Service code"); @@ -55,7 +55,7 @@ main().then( console.info("Done deploying nameservice instances."); process.exit(0); }, - error => { + (error) => { console.error(error); process.exit(1); },