Comments (5)
@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.
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.
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.
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.
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)
- Sending SIGINT/SIGTERM to the process started by clarinet dev start doesn't trigger a graceful shutdown
- Epoch 3.0 handling in Devnet
- 2.5 readiness - Run Nakamoto by default
- Unable to use the 'replace-at?' function in contract HOT 2
- Add support to retrieve the observable events from the contracts in a given Clarinet project HOT 9
- Generate a `.gitattributes` file when creating a new project
- Publish a clarinet-sdk package for the browser
- Handle contract deletion in simnet deployment plan
- Have a way to fork mainnet HOT 2
- VSCode extension should warn if there an error in Clarinet.toml
- Incorrect stx costs for deployment HOT 1
- Allow to load custom boot contracts
- Typo in clarinet HOT 1
- Crash in `::trace`
- Devnet should work offline if the Docker images exist locally
- Support unit tests written in Clarity - `#[test]` HOT 2
- Use Stacks node v2.5 for the local testnet HOT 1
- calling `getMapEntry` in Clarinet SDK for non-existent entry returns error instead of `Cl.none` HOT 1
- Can't find variable `simnet` when running tests using `bun test` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clarinet.