GithubHelp home page GithubHelp logo

Comments (5)

hugocaillard avatar hugocaillard commented on May 24, 2024 1

@BowTiedBlox I'm able to reproduce. It seems like it's struggling to submit the block.
I need to investigate. Clarinet is probably relying on the default wallet

from clarinet.

hugocaillard avatar hugocaillard commented on May 24, 2024

Thanks for reporting @BowTiedBlox.
I'll look into it. Could you check in the stacks-node containers if you see any warning or error logs?

Also, I'm unfamiliar with the unloadwallet command, for my own knowledge, could you explain your use case / what you are trying to achieve?

from clarinet.

BowTiedBlox avatar BowTiedBlox commented on May 24, 2024

unloadwallet is to remove the default "" wallet which doesn't support some adding addresses wanted as that wallet doesn't support them. In this context, I wanted to add the Bitcoin address for the decentralized-stacking-pool to the wallet so I could see the transactions related to it. As it didn't work, as it stopped submitting the Stacks blocks, I got to look manually in transactions for that address.

I can see the need for this for stacks-bitcoin related flows such as using given addresses and generatetoaddress x blocks and going from there with mining/signing.

I've run it and looked for errors

With unloadwallet it says warning: no UTXOs found, but after creating another wallet and using getnewaddress name_address it is saying "mined anchored block" which is quite strange as it doesn't mine the block or at least clarinet doesn't detect it.

Part of the log for context:

244202e7567042e44ee, event_type: success
2024-03-19 16:19:40 Mar 19 14:19:40.525424 INFO Miner: mined anchored block 02ec794197295dd62d168baf33a212fa7d7eb60bfc5af2f18bbcf7c1fab0d439 height 18 with 1 txs, parent block f4604c86001614c0a303514c0ae7f612b41bedd303d9131af95fee8b040d781c, parent microblock 0000000000000000000000000000000000000000000000000000000000000000 (0), state root = 2d9eab0dd7ea45826d5b43a3b085178954919da82a09f7f46baf6a5b8b99b6be
2024-03-19 16:19:40 Mar 19 14:19:40.526126 INFO Miner: mined anchored block, block_hash: 02ec794197295dd62d168baf33a212fa7d7eb60bfc5af2f18bbcf7c1fab0d439, height: 18, tx_count: 1, parent_stacks_block_hash: f4604c86001614c0a303514c0ae7f612b41bedd303d9131af95fee8b040d781c, parent_stacks_microblock: 0000000000000000000000000000000000000000000000000000000000000000, parent_stacks_microblock_seq: 0, block_size: 417, execution_consumed: {"runtime": 0, "write_len": 0, "write_cnt": 0, "read_len": 0, "read_cnt": 0}, %-full: 0, assembly_time_ms: 5, tx_fees_microstacks: 0
2024-03-19 16:19:40 Mar 19 14:19:40.526445 INFO Relayer: Succeeded assembling Stacks block #18: 02ec794197295dd62d168baf33a212fa7d7eb60bfc5af2f18bbcf7c1fab0d439, with 1 txs, attempt 1
2024-03-19 16:19:41 Mar 19 14:19:41.573562 WARN Relayer: Failed to submit Bitcoin transaction
2024-03-19 16:19:41 Mar 19 14:19:41.588105 INFO Include tx, tx: ed030524d9821c15e53f26007d05717575f2b1fa1a96d244202e7567042e44ee, payload: Coinbase, origin: ST3Q96TFVE6E0Q91XVX6S8RWAJW5R8XTZ8YEBM8RQ
2024-03-19 16:19:41 Mar 19 14:19:41.588139 INFO Tx successfully processed., event_name: transaction_result, tx_id: ed030524d9821c15e53f26007d05717575f2b1fa1a96d244202e7567042e44ee, event_type: success
2024-03-19 16:19:41 Mar 19 14:19:41.588987 INFO Miner: mined anchored block 02ec794197295dd62d168baf33a212fa7d7eb60bfc5af2f18bbcf7c1fab0d439 height 18 with 1 txs, parent block f4604c86001614c0a303514c0ae7f612b41bedd303d9131af95fee8b040d781c, parent microblock 000000000000000000000000000000000000000000000000000

from clarinet.

BowTiedBlox avatar BowTiedBlox commented on May 24, 2024

Got it, thank you! Would be very useful for some of our dev flows if it would be possible to change the wallet.

from clarinet.

sabbyanandan avatar sabbyanandan commented on May 24, 2024

Got it, thank you! Would be very useful for some of our dev flows if it would be possible to change the wallet.

@BowTiedBlox: Thanks for the thorough report; beautiful, we appreciate you! Could you also expand on why having a different wallet would be useful for your workflow? I am curious about your use case(s).

from clarinet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.