Remove dead external_storage_fallback_threshold plumbing from localnet TEE cluster scripts
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- shell
- Domain
- documentation, tooling
Research direction
Start with localnet/tee/scripts/rust-launcher/node.conf.testnet.toml.tpl, deploy-tee-cluster.sh, and how-to-run-deploy-tee-cluster.md, then inspect the three referenced locations for the obsolete variable. Done means the template no longer renders it, the script no longer defaults or requires it, and the deployment guide no longer documents it.
Written by the indexing model from the issue text.
Description
Background
#3533 removed the external_storage_fallback_threshold field from NearInitConfig (state sync is now decentralized/Peers). The localnet TEE cluster tooling still writes and requires it:
localnet/tee/scripts/rust-launcher/node.conf.testnet.toml.tpl:22— rendersexternal_storage_fallback_threshold = ${EXTERNAL_STORAGE_FALLBACK_THRESHOLD}localnet/tee/scripts/rust-launcher/deploy-tee-cluster.sh:828,869— defaults the env var to100and hard-requires it before rendering the templatelocalnet/tee/scripts/rust-launcher/how-to-run-deploy-tee-cluster.md:253-261— documents the env var
Since NearInitConfig has no #[serde(deny_unknown_fields)], the rendered field is now silently ignored — functionally harmless, but the template/script/docs mislead anyone running the localnet TEE cluster. (Localnet disables state sync entirely, so the knob was doubly moot there.)
Acceptance Criteria
- Drop
external_storage_fallback_thresholdfromnode.conf.testnet.toml.tpl. - Remove the
EXTERNAL_STORAGE_FALLBACK_THRESHOLDdefault/requirement fromdeploy-tee-cluster.sh. - Remove the env-var docs from
how-to-run-deploy-tee-cluster.md.
Resources & Additional Notes
- Follow-up from #3533 (review). Related: #3526.
- Dominant language
- Rust
- Stars
- 44
- Forks
- 42
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 111
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from near/mpc
-
issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100