Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
koxu1996 opened this issue Jul 23, 2024 · 0 comments
Open

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

koxu1996 opened this issue Jul 23, 2024 · 0 comments
Assignees

Comments

@koxu1996
Copy link
Contributor

koxu1996 commented Jul 23, 2024

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.

@koxu1996 koxu1996 self-assigned this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant