Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cursor/commands/create-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _Note_ in the command output, format all URLs as clickable Markdown links: `[Lin
- If found, fetch the issue details using `gh issue view [issue_number]`
- Include "Resolves #[issue_number]" at the very beginning of the description (in the "Description and Related Issue(s)" section)
- Summarize the changes clearly and concisely, using no more than two paragraphs. If necessary, use bullet points to highlight the main changes in the codebase. Be precise, this description should not be very long.
- List any changes in the enviroment variables (look at the `./docs/ENVS.md` file) in a separate section, describe purpose of each variable change
- List any changes in the environment variables (look at the `./docs/ENVS.md` file) in a separate section, describe purpose of each variable change
- Bad example: "Added `NEXT_PUBLIC_VIEWS_TX_GROUPED_FEES` environment variable to the documentation"
- Good example: "Added `NEXT_PUBLIC_VIEWS_TX_GROUPED_FEES` to group transaction fees into one section on the transaction page"
- Good example: "Extended possible values for `NEXT_PUBLIC_VIEWS_TX_ADDITIONAL_FIELDS` with set_max_gas_limit to display the maximum gas price set by the transaction sender"
Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/typescript.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type FetchingState<TData> =

Do not introduce new enums into the codebase. Retain existing enums.

If you require enum-like behaviour, use an `as const` object:
If you require enum-like behavior, use an `as const` object:

```ts
const backendToFrontendEnum = {
Expand Down Expand Up @@ -267,7 +267,7 @@ interface C extends A, B {

Use JSDoc comments to annotate functions and types.

Be concise in JSDoc comments, and only provide JSDoc comments if the function's behaviour is not self-evident.
Be concise in JSDoc comments, and only provide JSDoc comments if the function's behavior is not self-evident.

Use the JSDoc inline `@link` tag to link to other functions and types within the same file.

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
- name: Check licenses
run: yarn lint:license:check

- name: Check spelling
run: yarn lint:cspell --no-progress

toolkit_build_check:
name: Toolkit build check
needs: [ code_quality ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
project_name: ${{ vars.PROJECT_NAME }}
field_name: Status
field_value: Ready For Realease
field_value: Ready For Release
issues: "[${{ github.event.issue.number }}]"
secrets: inherit
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
echo 🧿 Running file linter...
npx lint-staged

echo 🧿 Running spelling checker...
git diff --diff-filter=ACMRT --cached --name-only | npx cspell --config cspell.jsonc --file-list stdin

# format svg
echo 🧿 Running svg formatter...
for file in `git diff --diff-filter=ACMRT --cached --name-only | grep ".svg\$"`
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"command": "yarn dev:preset:sync --name=${input:dev_config_preset}",
"problemMatcher": [],
"label": "dev preset sync",
"detail": "syncronize dev preset",
"detail": "synchronize dev preset",
"presentation": {
"reveal": "always",
"panel": "shared",
Expand Down
285 changes: 285 additions & 0 deletions cspell.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,285 @@
{
// Version of the setting file. Always 0.2
"version": "0.2",
// language - current active spelling language
"language": "en",
"useGitignore": true,
"ignorePaths": [
"**/*.svg",
"**/*.sfd",
".git",
"mocks/zetaChain/zetaChainCCTX.ts",
"mocks/metadata/address.ts",
"playwright/mocks/file_mock_with_very_long_name.json",
"playwright/fixtures/rewards.ts",
"public/static/capybara/index.js",
"ui/showcases/utils.ts",
"ui/tx/TxExternalTxs.pw.tsx"
],
"enableGlobDot": true,
"ignoreRandomStrings": true,
"allowCompoundWords": true,
"ignoreRegExpList": [
// Ignore filecoin f410f-like native addresses
"f410f[a-z2-7]{39}",
// Specify publisher key
"spk_\\w+",
// Posthog project key
"phc_\\w+"
],
// words - list of words to be always considered correct
"words": [
"aatx",
"abfnrtv",
"abitype",
"abkw",
"ACMRT",
"adbutler",
"addrs",
"adsbyslise",
"aeiou",
"Ahrefs",
"airtable",
"Alexa",
"alfajores",
"andb",
"anyblock",
"anytrust",
"apng",
"apos",
"appkit",
"Applebot",
"Arianee",
"ARTIS",
"astar",
"asymp",
"autoscout",
"Baiduspider",
"barooumba",
"basehead",
"bech",
"bedag",
"bingbot",
"bitquery",
"blackfort",
"blockie",
"blockies",
"blockscout",
"buildx",
"callvalue",
"campnetwork",
"CCIP",
"cctx",
"cctxs",
"celenium",
"celestia",
"CERC",
"cfasync",
"chainid",
"chainscout",
"chakra",
"clstr",
"coinzilla",
"coinzillatag",
"Computor",
"contentscript",
"contractname",
"convictional",
"Couldn",
"crios",
"dappscout",
"dbaeumer",
"deepdao",
"defi",
"devnet",
"didn",
"doesn",
"dotenv",
"DRPC",
"DTEND",
"duckduckgo",
"eamodio",
"Eigenda",
"Emelyanov",
"Enkrypt",
"explorable",
"facebookexternalhit",
"favicons",
"fedoseev",
"filecoin",
"flashblock",
"flashblocks",
"foos",
"fxios",
"geas",
"giga",
"gitpoap",
"Googlebot",
"goriunov",
"gotmpl",
"grecaptcha",
"growthbook",
"gstatic",
"hairsp",
"healthz",
"helia",
"hyfi",
"identicons",
"IERC",
"Ihnatsyeu",
"Inde",
"inpage",
"internaltx",
"ipfs",
"isstuev",
"iszero",
"jazzicon",
"jfif",
"jumpdest",
"jumpi",
"keccak",
"Kiryl",
"labelable",
"laquo",
"libc",
"libp",
"Liquality",
"llms",
"lokijs",
"LUKSO",
"mainnets",
"megaeth",
"merkle",
"metasuites",
"mgas",
"mload",
"mmss",
"msize",
"mulmod",
"multiarch",
"multicall",
"multichain",
"multisend",
"nbdash",
"NCAABB",
"ndash",
"negb",
"nextjs",
"noopener",
"noreferrer",
"noves",
"nums",
"okex",
"okhttp",
"opblock",
"opengraph",
"paych",
"peekers",
"pino",
"pjpeg",
"posthog",
"PWDEBUG",
"pwstory",
"pyftsubset",
"qrcode",
"rabby",
"raleway",
"randao",
"raquo",
"rari",
"Rarible",
"RBTC",
"rdns",
"rdparty",
"regcred",
"remasc",
"reown",
"resizer",
"rgba",
"RIPEMD",
"rlespinasse",
"rogerbot",
"rollbar",
"ROLLUP",
"rollups",
"rubic",
"Sastana",
"schnorr",
"screencasts",
"scure",
"sdiv",
"SEMRESATTRS",
"Semrush",
"servedbyadbutler",
"Shavuha",
"Shavukha",
"shibarium",
"shibariumscan",
"SHVKH",
"sidechain",
"Signatur",
"simonsiefke",
"siwe",
"slise",
"sload",
"smartmuv",
"smod",
"smol",
"sokol",
"solidityscan",
"Sourcify",
"Succ",
"superchain",
"tabler",
"TBXN",
"testnetv",
"thinsp",
"Tokenary",
"tokenpocket",
"tokentxns",
"tonumber",
"trustwallet",
"Twitterbot",
"txns",
"typegen",
"uidotdev",
"unfinalized",
"UNKN",
"unparse",
"unstaked",
"usehooks",
"utia",
"utka",
"utko",
"UUPS",
"vbaranov",
"VCALENDAR",
"vercel",
"verifreg",
"VEVENT",
"viem",
"vitalik",
"vitest",
"wagmi",
"warpcast",
"watchlist",
"webacy",
"Winky",
"WOWG",
"WPOA",
"xdai",
"XDEFI",
"xname",
"xstar",
"yatki",
"zerion",
"zerossl",
"zetachain",
"zetavaloper",
"zilliqa",
"zkevm",
"zksolc",
"zksync",
"zora"
]
}
1 change: 0 additions & 1 deletion deploy/tools/affected-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "affected-tests",
"version": "1.0.0",
"main": "index.js",
"author": "Vasilii (tom) Goriunov <tom@ohhhh.me>",
"license": "MIT",
"dependencies": {
"dependency-tree": "10.0.9"
Expand Down
4 changes: 2 additions & 2 deletions docs/ENVS.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Also, be aware that if you customize the name of the currency or any of its deno
| NEXT_PUBLIC_NETWORK_RPC_URL | `string \| Array<string>` | Chain public RPC server url, see [https://chainlist.org](https://chainlist.org) for the reference. Can contain a single string value, or an array of urls. | - | - | `https://core.poa.network` | v1.0.x+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_NAME | `string` | Network currency name | - | - | `Ether` | v1.0.x+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_WEI_NAME | `string` | Name of the smallest unit of the native currency (e.g., 'wei' for Ethereum, where 1 ETH = 10^18 wei). Used for displaying gas prices and transaction fees in the smallest denomination. | - | `wei` | `duck` | v1.23.0+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_GWEI_NAME | `string` | Name of the giga-unit of the native currency (e.g., 'gwei' for Ethereum, where 1 gwei = 10^9 of the smallest unit). Used for displaying gas prices in a more readable format throughout the UI. | - | `gwei` | `gduck` | v2.5.0+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_GWEI_NAME | `string` | Name of the giga-unit of the native currency (e.g., 'gwei' for Ethereum, where 1 gwei = 10^9 of the smallest unit). Used for displaying gas prices in a more readable format throughout the UI. | - | `gwei` | `gDuck` | v2.5.0+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL | `string` | Network currency symbol | - | - | `ETH` | v1.0.x+ |
| NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS | `string` | Network currency decimals | - | `18` | `6` | v1.0.x+ |
| NEXT_PUBLIC_NETWORK_SECONDARY_COIN_SYMBOL | `string` | Network secondary coin symbol. | - | - | `GNO` | v1.29.0+ |
Expand Down Expand Up @@ -537,7 +537,7 @@ Ads are enabled by default on all self-hosted instances. If you would like to di
| NEXT_PUBLIC_ROLLUP_HOMEPAGE_SHOW_LATEST_BLOCKS | `boolean` | Set to `true` to display "Latest blocks" widget instead of "Latest batches" on the home page | - | - | `true` | v1.36.0+ |
| NEXT_PUBLIC_ROLLUP_OUTPUT_ROOTS_ENABLED | `boolean` | Enables "Output roots" page (Optimistic stack only) | - | `false` | `true` | v1.37.0+ |
| NEXT_PUBLIC_ROLLUP_PARENT_CHAIN | `ParentChain`, see details [below](#parent-chain-configuration-properties) | Configuration parameters for the parent chain. | - | - | `{'baseUrl':'https://explorer.duckchain.io'}` | v1.38.0+ |
| NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE | `string` | Hex-string for creating a link to the transaction batch on the Seleneium explorer. "0x"-format and 60 symbol length. Available only for Arbitrum roll-ups. | - | - | `0x00000000000000000000000000000000000000ca1de12a9905be97beaf` | v1.38.0+ |
| NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE | `string` | Hex-string for creating a link to the transaction batch on the [Celenium explorer](https://celenium.io). "0x"-format and 60 symbol length. Available only for Arbitrum roll-ups. | - | - | `0x00000000000000000000000000000000000000ca1de12a9905be97beaf` | v1.38.0+ |
| NEXT_PUBLIC_ROLLUP_DA_CELESTIA_CELENIUM_URL | `string` | URL for the Selenium explorer. It is used to create links to the Data Availability Blobs page. The URL should contain the full path without any search parameters related to the blob, as these will be constructed at runtime for each blob separately. Available only for Optimistic or Arbitrum roll-ups. | - | - | `https://mocha.celenium.io/blob` | v2.0.2+ |

#### Parent chain configuration properties
Expand Down
Loading
Loading