erigontech / erigontech/erigon

separate `GetLatest` and `GetAsOf` in `kv.proto`

Open
#14,060 1 comment 0 reactions 0 assignees View on GitHub
tech debt reduction
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

```
message GetLatestReq {
uint64 tx_id = 1; // returned by .Tx()

// query params
string table = 2;
bytes k = 3;
uint64 ts = 4;
bytes k2 = 5;
bool latest = 6; // if true, then `ts` ignored and return latest state (without history lookup)
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.