informalsystems / informalsystems/hermes
Improve channel end caching
- Dominant language
- Rust
- Stars
- 505
- Forks
- 399
- PR merge metrics
- No merged PRs in 30d
Description
## Proposal
Currently the cache for queries doesn't work for channel upgrade as an older state is returned if the cache is used, see https://github.com/informalsystems/hermes/pull/3228/files/bea686752a586747ec7a94f624f29ef80ec2b6ee#r1600162011
____
## For Admin Use
- [ ] Not duplicate issue
- [ ] Appropriate labels applied
- [ ] Appropriate milestone (priority) applied
- [ ] Appropriate contributors tagged
- [ ] Contributor assigned/self-assigned
Contributor guide
Research direction
Begin with the discussion and review comment in PR #3228, then trace the query-cache path involved in channel upgrades. Reproduce the cached query behavior and identify where an older channel state is returned; done means channel-end queries return the current state when caching is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100