ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.86k stars 1.39k forks source link

Error while sending inscription #3060

Open bitcointrumps opened 10 months ago

bitcointrumps commented 10 months ago

While sending inscriptions this error occurred:

ord --index /root/.local/share/ord/index.redb --cookie-file /var/lib/bitcoind/.cookie wallet --name "NAME" send ADDRESS OUTGOING --fee-rate --postage 8333sat

thread 'main' panicked at src/subcommand/wallet/transaction_builder.rs:566:13: invariant: excess postage is stripped note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

This seems to be a bug. Removing the postage option lets me send.

raphjaph commented 10 months ago

Which version of ord?

bitcointrumps commented 10 months ago

The current 15.0

raphjaph commented 10 months ago

Could you try running with a backtrace:

RUST_BACKTRACE=1 ord --index /root/.local/share/ord/index.redb --cookie-file /var/lib/bitcoind/.cookie wallet --name "NAME" send ADDRESS OUTGOING --fee-rate --postage 8333sat

And also see what happens if you change the postage a bit.

LyricalString commented 4 months ago

Hey @raphjaph . I just experienced this issue. I'm using ord 0.18.5. My command looks like this:

RUST_BACKTRACE=1 ord wallet --name btc_ordi-assets send --postage 546sats --fee-rate 8 ADDRESS OUTGOING

My response was:

thread 'main' panicked at src/wallet/transaction_builder.rs:571:13:
invariant: excess postage is strippedstack backtrace:
   0: rust_begin_unwind             at ./rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt             at ./rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: ord::wallet::transaction_builder::TransactionBuilder::build_transaction   3: ord::subcommand::wallet::send::Send::create_unsigned_send_satpoint_transaction
   4: ord::subcommand::wallet::send::Send::run   5: ord::subcommand::Subcommand::run
   6: ord::arguments::Arguments::run
   7: ord::main
raphjaph commented 3 months ago

Could you try sending with a higher postage? Like 1000 sats and then let me know if that works.