-
Notifications
You must be signed in to change notification settings - Fork 22
miner updates #237
miner updates #237
Conversation
Signed-off-by: Tyler Baker <[email protected]>
Signed-off-by: Tyler Baker <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #237 +/- ##
===========================================
- Coverage 78.88% 38.76% -40.13%
===========================================
Files 5 45 +40
Lines 270 5167 +4897
Branches 47 47
===========================================
+ Hits 213 2003 +1790
- Misses 56 3163 +3107
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. see 40 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Can we reiterate what accounts need funding for regular sBTC operation? Also, @friedger, can you refresh your concern about nonce issues? Here is what I understood.
|
|
My understanding btc Alice needs btc. Stbc wallet needs btc for fees if withdrawal request do not include enough fees. Stacks miner needs btc. stx Alice does not need stx Sbtc wallet does not need stx, stx txs are send from deployer. Stx miner does not need stx. Re nonce issue, I can't find an argument, why nonce issues might occur. Maybe we just ignore my comment. |
After digesting your comments, I think it would be best to drop this PR and add an |
|
|
||
| tx=$(echo -n $json | jq -r .hex) | ||
|
|
||
| sbtc broadcast localhost:60401 $tx | jq -r . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this work before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this pr depends on stacks-sbtc/sbtc#229
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We all had installed the sbtc binary locally..
Happy to close, is this the direction we want to go. |
friedger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The setup about where and when BTCs are mined should be documented in https://github.com/stacks-network/sbtc-docs/blob/master/src/sbtc-releases/sbtc-dev/get-started-on-devnet.md
I'll open a PR for this today. |
Why are we changing the miner to fund the deployer if the deployer does not need btc? |
|
Let's move the changes to funding into a new pr |
Summary of Changes
As discussed, we want to make it easier to fund the stacks deployer wallet.
Premine both the stacks miner wallet and stacks deployer wallets, and continue to mine to the deplorer's wallet.
This PR depends on stacks-sbtc/sbtc#229
Testing
Risks
The risk is low, as this was tested end to end with devenv
How were these changes tested?
What future testing should occur?
Automation of end to end deposit and withdraw flows.
Checklist: