Skip to content

fix: use cache: no-store on RPC transports to prevent stale block hashes#211

Closed
drappi-ai wants to merge 5 commits intomainfrom
cdai__cache-no-store-transport
Closed

fix: use cache: no-store on RPC transports to prevent stale block hashes#211
drappi-ai wants to merge 5 commits intomainfrom
cdai__cache-no-store-transport

Conversation

@drappi-ai
Copy link
Copy Markdown
Contributor

Summary

The cache: "no-store" option tells the browser's fetch() API to bypass any HTTP caching layer for RPC calls. Users reported stale recentBlockHash values (minutes to hours old) in shielded transactions. While the root cause is being addressed in seismic-viem (SeismicSystems/seismic#123), this is an additional belt-and-suspenders fix on the dapp side.

Test plan

  • Shielded writes (submit/update bracket) still work
  • Signed reads (load bracket before deadline) still work
  • No-bracket warning shows in group join/create flows when wallet has no entry

@cdrappi
Copy link
Copy Markdown
Collaborator

cdrappi commented Mar 19, 2026

Probably just want to fix this in seismic-viem

@cdrappi cdrappi closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants