From 88ad870e78955f25e86d093247d73c47436f1501 Mon Sep 17 00:00:00 2001 From: jcstein Date: Fri, 24 Oct 2025 16:36:38 -0600 Subject: [PATCH 1/2] docs: add note about no prefix on hash --- how-to-guides/celestia-node-trusted-hash.md | 2 +- how-to-guides/quick-start.md | 2 +- next-env.d.ts | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 next-env.d.ts diff --git a/how-to-guides/celestia-node-trusted-hash.md b/how-to-guides/celestia-node-trusted-hash.md index 8fc06599cb..95cf02f0e7 100644 --- a/how-to-guides/celestia-node-trusted-hash.md +++ b/how-to-guides/celestia-node-trusted-hash.md @@ -50,7 +50,7 @@ By configuring these fields, your light node will maintain history from the spec 3. Set the trusted height & hash in your config file 1. Open your `config.toml` at `.celestia-light/config.toml` (or `.celestia-light-/config.toml`) 2. Set `Header.Syncer.SyncFromHeight` to the trusted height (e.g. `SyncFromHeight = 123456`) - 3. Set `Header.Syncer.SyncFromHash` to the trusted hash (e.g. `SyncFromHash = ""`) + 3. Set `Header.Syncer.SyncFromHash` to the trusted hash (e.g. `SyncFromHash = ""`, with **no `0x` prefix**.) 4. Run the node: ```sh diff --git a/how-to-guides/quick-start.md b/how-to-guides/quick-start.md index 9661b4ec6b..a9f1d6b674 100644 --- a/how-to-guides/quick-start.md +++ b/how-to-guides/quick-start.md @@ -85,7 +85,7 @@ Let's set the trusted hash! 1. Set the trusted height & hash 1. Open your `config.toml` at `~/.celestia-light-{{ constants.mochaChainId }}/config.toml` 1. Set `Header.Syncer.SyncFromHeight` to the trusted height (e.g. `SyncFromHeight = 123456`) - 1. Set `Header.Syncer.SyncFromHash` to the trusted hash (e.g. `SyncFromHash = "E8BD0C48260C496BB7A4D8D1E7BDBF1F26A2FE3CF5714DECE1741B2FFB3C095C"` ) + 1. Set `Header.Syncer.SyncFromHash` to the trusted hash (e.g. `SyncFromHash = "E8BD0C48260C496BB7A4D8D1E7BDBF1F26A2FE3CF5714DECE1741B2FFB3C095C"`, with **no `0x` prefix**) > If you don't do this, when trying to retrieve data in a few minutes, you'll see a response saying `"result": "header: syncing in progress: localHeadHeight: 94721, requestedHeight: 2983850"`. You'll either need to let the node sync to the `requestedHeight`, or use quick sync with trusted hash to do this. > Learn more in [the trusted hash quick sync guide](/how-to-guides/celestia-node-trusted-hash.md). diff --git a/next-env.d.ts b/next-env.d.ts new file mode 100644 index 0000000000..c4b7818fbb --- /dev/null +++ b/next-env.d.ts @@ -0,0 +1,6 @@ +/// +/// +import "./.next/dev/types/routes.d.ts"; + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. From f0534f99f07b92af97b681fcd5caaf13c67f3087 Mon Sep 17 00:00:00 2001 From: jcstein Date: Fri, 24 Oct 2025 16:37:58 -0600 Subject: [PATCH 2/2] fix: rm file from other site --- next-env.d.ts | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 next-env.d.ts diff --git a/next-env.d.ts b/next-env.d.ts deleted file mode 100644 index c4b7818fbb..0000000000 --- a/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import "./.next/dev/types/routes.d.ts"; - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.