regolith-labs / ore

ORE is a proof-of-work token everyone can mine.
https://ore.supply
658 stars 225 forks source link

Failed to get treasury account #26

Open king-bcolor opened 5 months ago

king-bcolor commented 5 months ago

PC: Macbook sys: 13.3.1 (a) (22E772610a) intel core i5

throw error in running time

many times as error

seem some package

sorry , I don't know How debuging in rust lang

thread 'main' panicked at /Users/zjh/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.9/src/utils.rs:18:10:
Failed to get treasury account: Error { request: None, kind: SerdeJson(Error("invalid type: floating point `1.8446744073709552e19`, expected u64", line: 0, column: 0)) }
stack backtrace:
   0:        0x10c5b78d5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha9ed2e5c0690da7d
   1:        0x10c5d9853 - core::fmt::write::h861b7654497f40bf
   2:        0x10c5b4b8e - std::io::Write::write_fmt::hceb70413cef22e74
   3:        0x10c5b76a9 - std::sys_common::backtrace::print::h48488bc6650dcb03
   4:        0x10c5b8c85 - std::panicking::default_hook::{{closure}}::h3066cda5ad928fdc
   5:        0x10c5b89fe - std::panicking::default_hook::h052c7bf24dcbc1fc
   6:        0x10c5b90f3 - std::panicking::rust_panic_with_hook::hb55ef13d2c0a2cd9
   7:        0x10c5b9004 - std::panicking::begin_panic_handler::{{closure}}::ha703d9eab3d8cf84
   8:        0x10c5b7dc9 - std::sys_common::backtrace::__rust_end_short_backtrace::h250d62e205a22ec7
   9:        0x10c5b8d46 - _rust_begin_unwind
  10:        0x10c5f3315 - core::panicking::panic_fmt::h41a5e657af2841f1
  11:        0x10c5f3855 - core::result::unwrap_failed::ha383b476dfba955c
  12:        0x10c17dda9 - ore::utils::get_treasury::{{closure}}::h825fbee8ae0297d1
  13:        0x10c182dfc - ore::main::{{closure}}::h94b52cac526ce53c
  14:        0x10c177946 - tokio::runtime::park::CachedParkThread::block_on::hfa126897cc334357
  15:        0x10c1c1079 - tokio::runtime::context::runtime::enter_runtime::h9d9cc0afbb6b251c
  16:        0x10c2056a1 - tokio::runtime::runtime::Runtime::block_on::hc23e696d4cdf8470
  17:        0x10c1dab18 - ore::main::hf3735515231f1775
  18:        0x10c1f1cb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1bc21ae1b7d25fa1
  19:        0x10c1f001c - std::rt::lang_start::{{closure}}::h9af449636c463d8c
  20:        0x10c5af9d0 - std::rt::lang_start_internal::h89215711cfa87541
  21:        0x10c1dabfc - _main
  22:     0x7ff81790d41f - <unknown>