Repository navigation
Read a gate's fixed parameters, token metadata and confirmed ENS blanks once - #84
Merged
Merged
Conversation
Ocnrb
commented
Oct 5, 2026
Member
- A gate's six initialize parameters and a token's symbol and decimals are kept per address in the bridge, so opening the app reads only price and duration again; measured at start, 238 chain reads became 110
- A "no ENS name" a provider answered is kept for a day; a lookup no provider answered fails instead of being kept as a blank
- cloudflare-eth.com leaves the ENS list: it answers every lookup with an internal error
- The six values PomboGate sets in initialize are kept per gate address, so a later read asks only for price and duration - Token symbol and decimals are kept once both reads succeed, and concurrent first reads share one request Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- A null some provider answered is kept and stored like a name; a lookup no provider answered now fails, so its null keeps the short TTL Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- It answers the reverse lookup with -32603 "Internal error" and even eth_blockNumber with -32046 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.