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

panic in api_cmd #4518

Closed
hanabi1224 opened this issue Jul 12, 2024 · 0 comments · Fixed by #4523
Closed

panic in api_cmd #4518

hanabi1224 opened this issue Jul 12, 2024 · 0 comments · Fixed by #4523
Assignees
Labels
Type: Bug Something isn't working

Comments

@hanabi1224
Copy link
Contributor

Describe the bug

To reproduce

  1. cargo run --bin forest-tool --profile dev --no-default-features -- api compare ~/fr/snapshots/cal ibnet/forest_snapshot_calibnet_2024-07-11_height_1780441.forest.car.zst

Log output

Log Output
   Running `target/debug/forest-tool api compare /home/me/fr/snapshots/calibnet/forest_snapshot_calibnet_2024-07-11_height_1780441.forest.car.zst --filter StateGetAllocationIDForPendingDeal`
Error: signature should be 65 bytes long, but got 68 bytes

Stack backtrace:
 0: anyhow::error::<impl anyhow::Error>::msg
 1: anyhow::__private::format_err
 2: forest_filecoin::rpc::methods::eth::recover_sig
 3: forest_filecoin::rpc::methods::eth::eth_tx_from_signed_eth_message
 4: forest_filecoin::rpc::methods::eth::new_eth_tx_from_signed_message
 5: forest_filecoin::tool::subcommands::api_cmd::eth_state_tests_with_tipset
 6: forest_filecoin::tool::subcommands::api_cmd::snapshot_tests
 7: forest_filecoin::tool::subcommands::api_cmd::compare_apis::{{closure}}
 8: forest_filecoin::tool::subcommands::api_cmd::ApiCommands::run::{{closure}}
 9: forest_filecoin::tool::main::main::{{closure}}
10: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
11: tokio::runtime::park::CachedParkThread::block_on
12: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
13: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}
14: tokio::runtime::context::runtime::enter_runtime
15: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
16: tokio::runtime::runtime::Runtime::block_on
17: forest_filecoin::tool::main::main
18: forest_tool::main
19: core::ops::function::FnOnce::call_once
20: std::sys_common::backtrace::__rust_begin_short_backtrace
21: std::rt::lang_start::{{closure}}
22: std::rt::lang_start_internal
23: std::rt::lang_start
24: main
25: __libc_start_call_main
           at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
26: __libc_start_main_impl
           at ./csu/../csu/libc-start.c:392:3
27: _start

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS:
  • Branch/commit
  • Hardware

Other information and links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant