informalsystems / informalsystems/hermes

Improve channel end caching

Open
#4,012 0 comments 0 reactions 0 assignees View on GitHub
O: channel-upgradeability
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.