From 1a6fecb2919c87b1dfc677fd3345abe5b10a67a9 Mon Sep 17 00:00:00 2001 From: Sabrina Ferguson Date: Wed, 15 May 2024 20:47:36 -0400 Subject: [PATCH] chore: fix lint --- README.md | 4 +- .../dapp-nft-paymaster/20.smart-contracts.md | 2 +- .../guide-dipdup-indexer/10.index.md | 8 +- .../tutorials/native-aa-multisig/10.index.md | 2 +- cspell-config/cspell-blockchain.txt | 69 ++++++++++++ cspell-config/cspell-misc.txt | 103 +++++++++++++++++- cspell-config/cspell-zksync.txt | 5 + cspell.json | 8 +- 8 files changed, 191 insertions(+), 10 deletions(-) create mode 100644 cspell-config/cspell-blockchain.txt diff --git a/README.md b/README.md index aaf6ac5a..0ecd9849 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Community Code -Welcome to the ZKsync Community Code repository. This project serves as the community hub for ZKsync, providing comprehensive +Welcome to the zkSync Community Code repository. This project serves as the community hub for zkSync, providing comprehensive documentation for developers written by developers. -Whether you're a beginner looking to get started with ZKsync or an experienced developer +Whether you're a beginner looking to get started with zkSync or an experienced developer seeking advanced guides, you'll find the resources you need here. ## Tools used diff --git a/content/tutorials/dapp-nft-paymaster/20.smart-contracts.md b/content/tutorials/dapp-nft-paymaster/20.smart-contracts.md index 9c65bf7b..6729b6b2 100644 --- a/content/tutorials/dapp-nft-paymaster/20.smart-contracts.md +++ b/content/tutorials/dapp-nft-paymaster/20.smart-contracts.md @@ -346,7 +346,7 @@ of the paymaster. But before we deploy the contracts we first need to compile th 1. Deploy the contracts to %%zk_testnet_name%%. This will also programmatically verify the contracts on %%zk_testnet_name%%. - ``bash + ```bash yarn deploy:contracts ``` diff --git a/content/tutorials/guide-dipdup-indexer/10.index.md b/content/tutorials/guide-dipdup-indexer/10.index.md index f601ad73..436a594c 100644 --- a/content/tutorials/guide-dipdup-indexer/10.index.md +++ b/content/tutorials/guide-dipdup-indexer/10.index.md @@ -199,10 +199,12 @@ steps to deploy stack in Docker environment in a few simple steps: 1. Generate and set `HASURA_SECRET` and `POSTGRES_PASSWORD` in `deploy/.env` file, Hasura secret will be used later to access Hasura. 1. Build and start Docker containers: `docker compose --env-file deploy/.env -f deploy/compose.yaml up -d`. -1. Run `docker ps` to check that all containers are running. Locate the URL of the Hasura console in the PORTS column [compose.yml documentation](https://docs.docker.com/compose/compose-file/compose-file-v3/#ports). If the container isn't accessible via `0.0.0.0:PORT`, it may be accessible via `localhost:PORT` in certain environments. - ![docker ps](/images/dipdup/dockerps.png) +1. Run `docker ps` to check that all containers are running. Locate the URL of the Hasura console in the PORTS column + [compose.yml documentation](https://docs.docker.com/compose/compose-file/compose-file-v3/#ports). + If the container isn't accessible via `0.0.0.0:PORT`, it may be accessible via `localhost:PORT` in certain environments. + ![docker ps](/images/dipdup/dockerps.png) 1. As an example, let's query the first 10 addresses with a positive balance: - ![hasura request](/images/dipdup/hasurarequest.png) + ![hasura request](/images/dipdup/hasurarequest.png) ## Explore DipDup diff --git a/content/tutorials/native-aa-multisig/10.index.md b/content/tutorials/native-aa-multisig/10.index.md index 3a2a761b..597ff643 100644 --- a/content/tutorials/native-aa-multisig/10.index.md +++ b/content/tutorials/native-aa-multisig/10.index.md @@ -1,5 +1,5 @@ --- -title: Native mulstisig smart account +title: Native multisig smart account description: Build a native smart contract account that requires multiple signatures. --- diff --git a/cspell-config/cspell-blockchain.txt b/cspell-config/cspell-blockchain.txt new file mode 100644 index 00000000..9e1a7974 --- /dev/null +++ b/cspell-config/cspell-blockchain.txt @@ -0,0 +1,69 @@ +Aave +abis +arithmetization +BoxUups +Buterin +dapp +Dappradar +DRPC +Echoo +Eigen +Enkrypt +ethereum +EVM +evmla +geth +graphcli +gwei +!HardHat +hasura +Hasura +IERC +IPFS +ISTN +inversed +keccak +Kreatorland +merkle +Merklized +mload +nfts +nomicfoundation +nomiclabs +Omnibtc +omnichain +ONFT +Owlto +Plonky +poseidon +PREVRANDAO +Pyth +Pythnet +Rabby +regenesis +satoshi +sepolia +Sepolia +solc +subql +Tevaera +Unifra +Upgradability +usdt +uups +UUPS +validium +validiums +viem +Vitalik +vyper +wagmi +Wagmi +Weth +YaspFi +Yul +Zaverucha +Zeeve +Zerion +Zetta +Zonic diff --git a/cspell-config/cspell-misc.txt b/cspell-config/cspell-misc.txt index 5dce9b5f..e7e1ff16 100644 --- a/cspell-config/cspell-misc.txt +++ b/cspell-config/cspell-misc.txt @@ -1,4 +1,103 @@ +Ankr +binop +blake2s +blake2s256 +cccond +ccret +CHAINID +debian +decommit +decommits +decommitter +decommitting +decommittment +decommitment +decommitments +decommittments +deduplicator +demultiplex +Demuxer +Dockerized +dockerized +Diataxis +ewasm +fontaine +.getu128 +incentivized +.interm +inttoptr +iszero +jemalloc +JUMPI +legendre +librocksdb +mload +MontInvbEEA +montgomery +mstore +noalias +nocallback +nocapture +noprofile +nosync Nuxt -nuxt -nuxthq nuxi +nuxt +nuxtdotjs +nuxtjs +!NuxtUI +!NuxtContent +NVMe +NVME +OTLP +plux +porco +postgres +postgresql +preds +prode +prodeh +prodh +prodm +prodl +psql +ptrtoint +recid. +REDC +rocksdb +rodata +rosso +rustc +rustup +secp +signv +sload +smod +sstore +sqlx-cli +syncvm +tlsv1 +tokio +.uadd. +.umin. +Vue +vue +zext +zksolc +zkvyper +ZKEVM +zkout +nomicfoundation +Viem +viem +Zerion +Rabby +!tesnet +devs +hexlify +insize +ecadd +ecmul + +// devs +dutterbutter diff --git a/cspell-config/cspell-zksync.txt b/cspell-config/cspell-zksync.txt index 1cee5f54..06c86fab 100644 --- a/cspell-config/cspell-zksync.txt +++ b/cspell-config/cspell-zksync.txt @@ -2,6 +2,7 @@ boojum MatterLabs Zeek +Zeeks zkcast ZKEVM zkevm @@ -11,5 +12,9 @@ zksolc zkstack zkSync zksync +!ZKsync zksync-cli zkvyper + +// developers +itsacoyote diff --git a/cspell.json b/cspell.json index 72ddaa53..f60f83c8 100644 --- a/cspell.json +++ b/cspell.json @@ -43,7 +43,8 @@ "swift", "typescript", "dict-zksync", - "dict-misc" + "dict-misc", + "dict-blockchain" ], "dictionaryDefinitions": [ { @@ -55,6 +56,11 @@ "name": "dict-misc", "addWords": true, "path": "./cspell-config/cspell-misc.txt" + }, + { + "name": "dict-blockchain", + "addWords": true, + "path": "./cspell-config/cspell-blockchain.txt" } ], "allowCompoundWords": true,