hkbudb / vchain-demo

Source code for the SIGMOD20 paper "vChain: A Blockchain System Ensuring Query Integrity"
https://xuc.me/publication/sigmod20/vchain-demo/
Apache License 2.0
24 stars 4 forks source link

关于cargo test #2

Open wulalawu0106 opened 3 years ago

wulalawu0106 commented 3 years ago

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示

thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread.

想请教您该如何解决这些问题.

zhang-zw123 commented 2 years ago

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示

thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread.

想请教您该如何解决这些问题.

请问你解决了吗?

wulalawu0106 commented 2 years ago

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示 thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread. 想请教您该如何解决这些问题.

请问你解决了吗?

这个demo我没有完全运行成功,如果是 thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', 这个问题,运行程序时 ./vchain-node 的 “./” 别忘了

zhang-zw123 commented 2 years ago

let res = client.post(&tx_url).json(&json!({ "tx_body": tx_message })).send().await?;为什么这一步请求没反应?

r4sk01 commented 2 years ago

Hello, have the same issue:

$ ./target/release/vchain-server -b 127.0.0.1:8000 thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/r4sk01/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/context.rs:31:26 note: run withRUST_BACKTRACE=1environment variable to display a backtrace Panic in Arbiter thread.

How to solve it?