Skip to content

ChainListener panics when it's run without any user chains but has GenesisConfig #4037

Closed
@deuszx

Description

@deuszx

ChainListener.run throws the panic at https://github.com/linera-io/linera-protocol/blob/main/linera-client/src/chain_listener.rs#L385 but it should add an admin chain to the listening chains as well.

Solution:

When reating the ChainListener from the GenesisConfig we should find the admin chain and add it to the listening map by default.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions