From 3d20baceb8b510454793c388d7a42e9ff075a5c3 Mon Sep 17 00:00:00 2001 From: Cypher Pepe <125112044+cypherpepe@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:16:55 +0300 Subject: [PATCH 1/4] typo corr DocSearch.js --- website/src/theme/SearchBar/DocSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/theme/SearchBar/DocSearch.js b/website/src/theme/SearchBar/DocSearch.js index ec627d480..4ffe0b026 100644 --- a/website/src/theme/SearchBar/DocSearch.js +++ b/website/src/theme/SearchBar/DocSearch.js @@ -22,7 +22,7 @@ class DocSearch { queryHook = false, handleSelected = false, enhancedSearchInput = false, - layout = "collumns" + layout = "columns" }) { this.input = DocSearch.getInputFromSelector(inputSelector); this.queryDataCallback = queryDataCallback || null; From 1b82d009568a2278c46bd0820410be0ca4134749 Mon Sep 17 00:00:00 2001 From: Cypher Pepe <125112044+cypherpepe@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:23:31 +0300 Subject: [PATCH 2/4] double position: relative; - algolia.css --- website/src/theme/SearchBar/algolia.css | 1 - 1 file changed, 1 deletion(-) diff --git a/website/src/theme/SearchBar/algolia.css b/website/src/theme/SearchBar/algolia.css index c5590cfa4..af59055f6 100644 --- a/website/src/theme/SearchBar/algolia.css +++ b/website/src/theme/SearchBar/algolia.css @@ -265,7 +265,6 @@ padding: 0; text-align: left; height: auto; - position: relative; background: transparent; border: none; z-index: 999; From e4e4f2276755b33466608cb89dfdaeef6780468f Mon Sep 17 00:00:00 2001 From: Cypher Pepe <125112044+cypherpepe@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:30:46 +0300 Subject: [PATCH 3/4] typo corr switch-clients.md --- website/docs/advanced/switch-clients.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/advanced/switch-clients.md b/website/docs/advanced/switch-clients.md index ff70c828b..042f0ac8c 100644 --- a/website/docs/advanced/switch-clients.md +++ b/website/docs/advanced/switch-clients.md @@ -49,7 +49,7 @@ We have a section dedicated to exporting and importing slashing protection histo ### Step 4: Update port forwarding -This step is not required for nodes which are running on a virtual public cloud, but keep in mind - nodes will be required to run a an execution client locally post merge! +This step is not required for nodes which are running on a virtual public cloud, but keep in mind - nodes will be required to run an execution client locally post merge! By default, Prysm uses TCP/13000 and UDP/12000. Remove those two rules and replace them with the appropriate port forwards for the client you are switching to. The process will be very similar to the steps laid out [here.](https://docs.prylabs.network/docs/prysm-usage/p2p-host-ip#port-forwarding) From 29ea662fa3e0e8c2ece30a892426742e7cb0579d Mon Sep 17 00:00:00 2001 From: Cypher Pepe <125112044+cypherpepe@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:37:19 +0300 Subject: [PATCH 4/4] typo corr end-to-end.md --- website/docs/devtools/end-to-end.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/devtools/end-to-end.md b/website/docs/devtools/end-to-end.md index 4b5190f68..f837067a4 100644 --- a/website/docs/devtools/end-to-end.md +++ b/website/docs/devtools/end-to-end.md @@ -8,7 +8,7 @@ import {HeaderBadgesWidget} from '@site/src/components/HeaderBadgesWidget.js'; -Even the best unit tests won't prevent bugs from creeping into the system. They test small pieces of code in isolation, but it might be the interaction between different modules/packages/subsystems that causes issues. Prysm consist of two separate components, the beacon chain and the validator, that interact with each other in non-trivial ways. Additionally, the system contacts an Eth1 endpoint to access various information about the Eth1 chain. It is therefore very important to find integration bugs as soon as possible. The way Prysm achieves this is through having an E2E (end-to-end) test module. Tests inside this module are ran on every PR build, which greatly increases confidence that new code can safely be merged. +Even the best unit tests won't prevent bugs from creeping into the system. They test small pieces of code in isolation, but it might be the interaction between different modules/packages/subsystems that causes issues. Prysm consist of two separate components, the beacon chain and the validator, that interact with each other in non-trivial ways. Additionally, the system contacts an Eth1 endpoint to access various information about the Eth1 chain. It is therefore very important to find integration bugs as soon as possible. The way Prysm achieves this is through having an E2E (end-to-end) test module. Tests inside this module are run on every PR build, which greatly increases confidence that new code can safely be merged. ## Running E2E tests @@ -74,7 +74,7 @@ Each evaluator has a name, a policy (which we will cover later) and an evaluatio ### Policies -Not every invariant can be checked at every epoch. As an example, the Altair fork transition invariant should be asserted only after the Altair hard fork occurred. Evaluator timings are controlled with policies, which are simple functions returning boolean values, with `true` indicating that the evaluator should be ran for a specific epoch. All policies can be found in https://github.com/prysmaticlabs/prysm/tree/develop/testing/endtoend/policies. +Not every invariant can be checked at every epoch. As an example, the Altair fork transition invariant should be asserted only after the Altair hard fork occurred. Evaluator timings are controlled with policies, which are simple functions returning boolean values, with `true` indicating that the evaluator should be run for a specific epoch. All policies can be found in https://github.com/prysmaticlabs/prysm/tree/develop/testing/endtoend/policies. ## Investigating failures @@ -120,7 +120,7 @@ The directory of the `test.log` file contains a `test.output` directory, which i endtoend_test.go:279: E2E test ended in error: failed to start the ETH1 miner: exit status 1 ``` -The uzipped output file contains a `eth1-init_miner.log` file with the following contents: +The unzipped output file contains a `eth1-init_miner.log` file with the following contents: > Fatal: Failed to read genesis file: open /home/user/.cache/bazel/\_bazel\_user/ec3daeb6ce0cd7052bf7c79ca31f19c6/sandbox/linux-sandbox/1779/execroot/prysm/bazel-out/k8-fastbuild-ST-02d640e6fd05/bin/testing/endtoend/go\_default\_test\_/go\_default\_test.runfiles/com\_github\_ethereum\_go\_ethereum/cmd/geth/geth_/genesiss.json: no such file or directory