Skip to content

light: a single db key size is used for all light clients #1857

@melekes

Description

@melekes

A single DB key (

var sizeKey = []byte("size")
) is used for all light clients. The key tracks the number of light blocks for every chain. Hovewer, since it's just 1 key (without any prefixes), I don't understand how it works with multiple light clients
Use: "light [chainID]",
.

Expected behaviour

1 size key per each chain

Proposal

Fixed in #1814, although we can also fix this separately.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions