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

Bridge actor dies on panic #2131

Closed
guidiaz opened this issue Nov 30, 2021 · 0 comments · Fixed by #2166
Closed

Bridge actor dies on panic #2131

guidiaz opened this issue Nov 30, 2021 · 0 comments · Fixed by #2166
Labels
bug 🐜 Something isn't working

Comments

@guidiaz
Copy link
Contributor

guidiaz commented Nov 30, 2021

[2021-11-29T13:26:50Z DEBUG witnet_centralized_ethereum_bridge::actors::eth_poller] Checking new DRs from Ethereum contract...

thread 'main' panicked at 'receipt can't be null after wait for confirmations; qed', /home/witnet/.cargo/registry/src/github.com-1ecc6299db9ec823/web3-0.16.0/src/confirm.rs:88:10

stack backtrace:

   0: rust_begin_unwind
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
   1: core::panicking::panic_fmt
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
   2: core::option::expect_failed
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1321:5
   3: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   4: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   5: <actix::fut::future::map::Map<Fut,F> as actix::fut::future::ActorFuture<A>>::poll
   6: <actix::contextimpl::ContextFut<A,C> as core::future::future::Future>::poll
   7: tokio::runtime::task::harness::Harness<T,S>::poll
   8: std::thread::local::LocalKey<T>::with
   9: tokio::task::local::LocalSet::tick
  10: tokio::macros::scoped_tls::ScopedKey<T>::set
  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  12: tokio::macros::scoped_tls::ScopedKey<T>::set
  13: tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on
  14: tokio::runtime::Runtime::block_on
  15: actix_rt::system::SystemRunner::run
  16: witnet_centralized_ethereum_bridge::main

note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

[2021-11-29T13:27:26Z INFO  witnet_centralized_ethereum_bridge::actors::wit_poller] [424] Found possible tally to be reported for dr_tx_hash 78f0c8617124aed361ed488da43396242958d47f31bbc5bfba109f05b120daf2

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MailboxError(Mailbox has closed)', bridges/centralized-ethereum/src/actors/wit_poller.rs:141:30

stack backtrace:

   0: rust_begin_unwind
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
   1: core::panicking::panic_fmt
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
   2: core::option::expect_none_failed
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
   3: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   4: <actix::fut::future::then::Then<A,B,F> as actix::fut::future::ActorFuture<Act>>::poll
   5: <actix::contextimpl::ContextFut<A,C> as core::future::future::Future>::poll
   6: tokio::runtime::task::harness::Harness<T,S>::poll
   7: std::thread::local::LocalKey<T>::with
   8: tokio::task::local::LocalSet::tick
   9: tokio::macros::scoped_tls::ScopedKey<T>::set
  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  11: tokio::macros::scoped_tls::ScopedKey<T>::set
  12: tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on
  13: tokio::runtime::Runtime::block_on
  14: actix_rt::system::SystemRunner::run
  15: witnet_centralized_ethereum_bridge::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐜 Something isn't working
Projects
None yet
1 participant