From 8f71b1aa01b9ffa4619b4704de6003795eb91646 Mon Sep 17 00:00:00 2001 From: Erin Shaben Date: Wed, 13 Nov 2024 11:02:34 -0500 Subject: [PATCH] remove cached .vscode settings from repo (#165) --- .../make-custom-pallets/Cargo.toml | 20 +++++++++++-------- .../api-libraries/polkadot-js-sdk/send-txs.js | 3 +-- .../basics/chain-data/extrinsic-metadata.json | 2 +- .vscode/settings.json | 9 --------- 4 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.snippets/code/develop/blockchains/custom-blockchains/make-custom-pallets/Cargo.toml b/.snippets/code/develop/blockchains/custom-blockchains/make-custom-pallets/Cargo.toml index 0736930a0..c9baa573c 100644 --- a/.snippets/code/develop/blockchains/custom-blockchains/make-custom-pallets/Cargo.toml +++ b/.snippets/code/develop/blockchains/custom-blockchains/make-custom-pallets/Cargo.toml @@ -6,16 +6,20 @@ edition = "2021" [dependencies] frame-support = { version = "37.0.0", default-features = false } frame-system = { version = "37.0.0", default-features = false } -codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec", features = ["derive"] } -scale-info = { version = "2.11.1", default-features = false, features = ["derive"] } +codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec", features = [ + "derive", +] } +scale-info = { version = "2.11.1", default-features = false, features = [ + "derive", +] } sp-runtime = { version = "39.0.0", default-features = false } [features] default = ["std"] std = [ - "frame-support/std", - "frame-system/std", - "codec/std", - "scale-info/std", - "sp-runtime/std", -] \ No newline at end of file + "frame-support/std", + "frame-system/std", + "codec/std", + "scale-info/std", + "sp-runtime/std", +] diff --git a/.snippets/code/develop/toolkit/api-libraries/polkadot-js-sdk/send-txs.js b/.snippets/code/develop/toolkit/api-libraries/polkadot-js-sdk/send-txs.js index a411e2edd..9339129b9 100644 --- a/.snippets/code/develop/toolkit/api-libraries/polkadot-js-sdk/send-txs.js +++ b/.snippets/code/develop/toolkit/api-libraries/polkadot-js-sdk/send-txs.js @@ -3,8 +3,7 @@ const recipient = 'INSERT_RECIPIENT_ADDRESS'; const amount = 'INSERT_VALUE'; // Amount in the smallest unit (e.g., Planck for DOT) // Sign and send a transfer -const txHash = await api.tx - .balances +const txHash = await api.tx.balances .transfer(recipient, amount) .signAndSend(alice); diff --git a/.snippets/code/polkadot-protocol/basics/chain-data/extrinsic-metadata.json b/.snippets/code/polkadot-protocol/basics/chain-data/extrinsic-metadata.json index efbed5c7f..50f9e5db0 100644 --- a/.snippets/code/polkadot-protocol/basics/chain-data/extrinsic-metadata.json +++ b/.snippets/code/polkadot-protocol/basics/chain-data/extrinsic-metadata.json @@ -46,4 +46,4 @@ ] }, "ty": 141 -} \ No newline at end of file +} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 634910e8c..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "workbench.colorCustomizations": { - "terminalCursor.background": "#fff", - "terminalCursor.foreground": "#ffffff80", - "activityBar.background": "#6f1146", - "titleBar.activeBackground": "#d41b84", - "titleBar.activeForeground": "#FDFBFE" - } -} \ No newline at end of file