From e579091ffc080b033021b9c3d0521b8cf68e240d Mon Sep 17 00:00:00 2001 From: Gleb Karavatski Date: Thu, 31 Oct 2024 12:06:19 +0300 Subject: [PATCH 1/3] node slow sync potential reasons --- docs/v3/guidelines/nodes/nodes-troubleshooting.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/v3/guidelines/nodes/nodes-troubleshooting.md b/docs/v3/guidelines/nodes/nodes-troubleshooting.md index b65521fac9..3a8514a1ef 100644 --- a/docs/v3/guidelines/nodes/nodes-troubleshooting.md +++ b/docs/v3/guidelines/nodes/nodes-troubleshooting.md @@ -34,6 +34,11 @@ Try to perform following checks: Go through the checklist [from this section](/v3/guidelines/nodes/nodes-troubleshooting#about-no-progress-in-node-synchronization-within-3-hours). +## Slow sync potential reasons + +1. The disk is relatively weak. It's advisable to check the IOPS of the disk (though sometimes hosting providers exaggerate these numbers). +2. Updates coincided with network congestion. However, the slow synchronization is due to the load, not the updates. The full node cannot catch up with the network because there were about 100 million transactions. +3. Since the default value of keep history for a Full Node state has been reduced to one day, there are fewer Full Nodes in the network that can provide older states, may cause making it harder to sync with such a delay. ## Cannot apply external message to current state : External message was not accepted From c9eebf1f307fb6997b8c7eaf36735e306027a8f1 Mon Sep 17 00:00:00 2001 From: Aliaksandr Bahdanau Date: Thu, 31 Oct 2024 16:32:40 +0300 Subject: [PATCH 2/3] fix: fix build --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index f6b224bb3b..319ee631bc 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -8,7 +8,7 @@ const getEnvLangConfig = () => { const langArray = process.env.TARGET_LANGS ? process.env.TARGET_LANGS.split(",") - : []; // ["mandarin"]; TODO: uncomment when done + : ["mandarin"]; // : ["mandarin", "ru", "ko", "pl", "uk", "ja"]; const locales = Array.from(new Set([defaultLocale, ...langArray])); From 701894d81ea5b0da44a06958e94c95438293e423 Mon Sep 17 00:00:00 2001 From: Gleb Karavatski Date: Tue, 5 Nov 2024 11:12:47 +0300 Subject: [PATCH 3/3] fix literals identifiers --- cspell.json | 6 +++++- .../smart-contracts/func/docs/literals_identifiers.md | 8 ++++---- src/grammar/examples-dictionary.txt | 3 +++ 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 src/grammar/examples-dictionary.txt diff --git a/cspell.json b/cspell.json index be1ac66069..15fb295cc2 100644 --- a/cspell.json +++ b/cspell.json @@ -6,7 +6,7 @@ "**/*.md", "**/*.mdx", ], - "dictionaries": ["tvm-instructions", "names", "commands"], + "dictionaries": ["tvm-instructions", "names", "commands", "examples"], "dictionaryDefinitions": [ { "name":"tvm-instructions", @@ -20,6 +20,10 @@ "name":"commands", "path":"./src/grammar/commands-dictionary.txt" }, + { + "name":"examples", + "path":"./src/grammar/examples-dictionary.txt" + }, ], "words": [ "ADNL", diff --git a/docs/v3/documentation/smart-contracts/func/docs/literals_identifiers.md b/docs/v3/documentation/smart-contracts/func/docs/literals_identifiers.md index de62b6c8e1..7e9106618a 100644 --- a/docs/v3/documentation/smart-contracts/func/docs/literals_identifiers.md +++ b/docs/v3/documentation/smart-contracts/func/docs/literals_identifiers.md @@ -54,11 +54,11 @@ These are invalid identifiers: - `_` Some more uncommon examples of valid identifiers: -- `123valid` +- `123validname` - `2+2=2*2` -- `-valid` -- `0xdead` -- `{valid}` +- `-alsovalidname` +- `0xefefefhahaha` +- `{hehehe}` - ``pa{--}in"`aaa`"`` These are also invalid identifiers: diff --git a/src/grammar/examples-dictionary.txt b/src/grammar/examples-dictionary.txt new file mode 100644 index 0000000000..9a90a53d7b --- /dev/null +++ b/src/grammar/examples-dictionary.txt @@ -0,0 +1,3 @@ +validname +alsovalidname +xefefefhahaha \ No newline at end of file