linera-io/linera-protocol

Create examples of Custom{Map,Collection}View for ordered integers (and use them)

Open

#5,604 opened on Mar 5, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (2,354 forks)batch import
good first issue

Repository metrics

Stars
 (32,149 stars)
PR merge metrics
 (Avg merge 2d 6h) (155 merged PRs in 30d)

Description

We use integers as keys in many places (procotol and examples) but usually without a custom key serialization. As a result, graphql queries show keys ordered by little-endian bytes.

See AskPrice and BidPrice in the matching engine example.

Contributor guide