Bug: TN cache validation error isn't precise
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Reproduce the failure through the tn_cache configuration path using the streams_inline example and the logged validation error. Trace the configuration validation entry point to determine where the missing field is lost. Done means the error identifies the specific invalid or missing field instead of only reporting that a required field is empty.
Written by the indexing model from the issue text.
Description
hey @lwtsn I see that two fields have different cases:
[extensions.tn_cache] enabled = "true" streams_inline = ''' [ { - "streamId": "stf37ad83c0b92c7419925b7633c0e62", - "dataProvider": "0x4710a8d8f0d845da110086812a32de6d90d7ff5c", + "stream_id": "stf37ad83c0b92c7419925b7633c0e62", + "data_provider": "0x4710a8d8f0d845da110086812a32de6d90d7ff5c", "cron_schedule": "0 * * * *", "include_children": false } ] '''Please try this and let me know if it works
Originally posted by @outerlook in #64
that error doesn't inform well what field was missing. This information could save us time
Aug 04 07:35:06 index-fun-truf-node-dev kwild[1587745]: 2025-08-04 07:35:06.705 [ERR] tn_cache: failed to process configuration {error=configuration validation failed: spec 0: ethereum_address validation failed: required field cannot be empty
- Dominant language
- Go
- Stars
- 7
- Forks
- 3
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 13
Getting set up
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 trufnetwork/node
-
type: goal
Difficulty 5/5 Over a week Newbie friendliness 35/100
trufnetwork/node#1436 ·
Maintainers usually reply within 1 day
-
Problem: settlement can't tell a capture was taken too earlyPossibly taken @MicBun claimed this 8 days ago. Open
trufnetwork/node#1435 · 1 assignee ·
Maintainers usually reply within 1 day
-
Goal: SDK call for market volume over a time periodPossibly taken @vinarmani claimed this 9 days ago. Open
trufnetwork/node#1429 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
trufnetwork/node#1313 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
trufnetwork/node#1200 · 1 comment ·
Maintainers usually reply within 1 day
All issues in trufnetwork/node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
siderolabs/terraform-provider-talos#414 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
JuliaComputing/jh#63 · 1 comment ·
-
area/proxy kind/bug priority/backlog triage/accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lexfrei/cloudflare-tunnel-gateway-controller#840 ·
Maintainers usually reply within 1 day
-
Priority: Normal Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloudflare/cloudflared#1747 ·