You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute "cargo run" with the code above, I get an error.
Expected behavior
I expect cargo run to complete without an error.
Actual behavior
error[E0433]: failed to resolve: use of undeclared type BlockNumber
--> /home/foobar/rust/good.rs:22:42
|
22 | task::block_on(eth_api.call(txn, BlockNumber::Latest)).expect("ETH call failed");
| ^^^^^^^^^^^ use of undeclared type BlockNumber
I see no missing dependency error; I have seen Cargo throw errors for such things. I cannot use in3 0.0.2 instead of 0.1.7 because this unsolved bug: rust-lang/rust#80948
The problem is reproducible when I try to use in3 0.1.6.
System configuration
I have Rust 1.49 installed. I have Cargo 1.49 installed too.
Incubed version
0.1.7
Request
Incubed Configuration
Chain
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! Can you try building the in3-example-rust project on your system? This way we can rule out the possibility of toolchain problems. Also, make sure to check out other requirements on in3-rs's crates.io page.
Steps to reproduce
I am trying to use the Ethereum contract call code here: https://in3.readthedocs.io/en/develop/api-rust.html#an-ethereum-contract-call
When I execute "cargo run" with the code above, I get an error.
Expected behavior
I expect cargo run to complete without an error.
Actual behavior
I see no missing dependency error; I have seen Cargo throw errors for such things. I cannot use in3 0.0.2 instead of 0.1.7 because this unsolved bug: rust-lang/rust#80948
The problem is reproducible when I try to use in3 0.1.6.
System configuration
I have Rust 1.49 installed. I have Cargo 1.49 installed too.
Incubed version
0.1.7
Request
Incubed Configuration
Chain
The text was updated successfully, but these errors were encountered: