Skip to content

Server is not able to process events in debug mode #161

@koxu1996

Description

@koxu1996

Synchronization task panics during deposit event deserialization:

2024-07-23T13:54:50.354249Z  INFO kairos_server: listening on `0.0.0.0:9999`
2024-07-23T13:54:50.354764Z  INFO kairos_server::l1_sync::event_manager: Initializing event manager
2024-07-23T13:54:50.388941Z  INFO kairos_server::l1_sync::event_manager: Looking for new events
thread 'tokio-runtime-worker' panicked at /home/andrew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/casper-types-4.0.1/src/bytesrepr.rs:403:5:
assertion `left != right` failed: You should use Bytes newtype wrapper for efficiency
  left: "u8"
 right: "u8"

This happens only in debug mode, as Casper types have debug assertion that prevents using Vec<u8> in CLValues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions