regolith-labs / ore-cli

Command line interface for ORE cryptocurrency mining.
1.46k stars 664 forks source link

Panic at `register.rs:22:14` with `{ request: None, kind: Custom("Sim failed") }` #5

Open chenhunghan opened 6 months ago

chenhunghan commented 6 months ago
❯ ore \                                   
    --rpc https://api.mainnet-beta.solana.com \
    --keypair ~/.config/solana/id.json \
    --priority-fee 1 \
    mine \
    --threads 4
Generating challenge...
thread 'main' panicked at /Users/-/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.0/src/register.rs:22:14:
Transaction failed: Error { request: None, kind: Custom("Sim failed") }
stack backtrace:
   0: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
   3: ore::main::{{closure}}
   4: tokio::runtime::park::CachedParkThread::block_on
   5: tokio::runtime::context::runtime::enter_runtime
   6: tokio::runtime::runtime::Runtime::block_on
   7: ore::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
giga89 commented 6 months ago

Same here :)

chenhunghan commented 6 months ago

The error being swallowed is AccountNotFound.

raaapsky commented 6 months ago

Same

1997roylee commented 6 months ago

it's becuase u dont hv enough sol blanace

1997roylee commented 6 months ago

8 should be fixed for sol balance issue

gilangdeva commented 6 months ago

how much sol balance needed? i have 0.2 SOL and i think thats enough