Skip to content

Tags: stacks-network/sbtc

Tags

Verified

This tag was signed with the committer’s verified signature.
aldur Adriano Di Luzio

Verified

This tag was signed with the committer’s verified signature.
aldur Adriano Di Luzio

Verified

This tag was signed with the committer’s verified signature.
aldur Adriano Di Luzio

Verified

This tag was signed with the committer’s verified signature.
aldur Adriano Di Luzio

0.0.9-rc7.1

Toggle 0.0.9-rc7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: enable TLS in the blocklist client (#1349)

* Enable TLS using rustls for the workspace
* Add an integration test for TLS in the blocklist client and the signer 
* Audit the new webpki-roots dependency

0.0.9-rc7

Toggle 0.0.9-rc7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: state machine for out-of-order message handling during dkg veri…

…fication (#1324)

* update for wsts 11

* use wsts 11.0.0 from crates

* fix rebase

* use wsts-12.0.0 from crates

* add FrostCoordinator to wsts_state_machine so we can run signing rounds where all signers must participate

* wip

* run a dkg signing before deploying contracts

* new wsts commit

* wip

* seems to work

* working version

* remove dead code

* minor wsts logging tweaks

* rename wstsmessageid variant

* it works, now need to clean up

* downgrade wsts

* proto backwards compatability fixes

* some wsts cleanup/refactor

* think that's it

* add message support for a specific dkg wstsmessageid

* add a dkg wstsmessageid variant

* use block hash instead of random data

* fmt

* remove 100% requirement for stacks signing of rotate keys

* bump p256k1 to 7.2.2

* pop stash

* wip

* working verifications

* saving

* fixing tests

* seems to work

* remove const generic, use 0 amount and add test for random keypair

* vet bitcoinconsensus

* working on cleaning up

* fix merge artifacts

* tracing fields

* migration needs to update block hash/height

* storage mut

* lovely cascading changes

* remove wstsmessage.txid infavor of id

* remove save and prefer trait default impls

* remove unused trait methods

* logging stuff

* rename message ids

* use tracing constants

* remove stale comment

* remove box from some types

* missed dkg_begin_pause

* leftover dbg!()

* refactor some validation

* various pr comments

* mut thing

* remove unneeded allow(deprecated)

* import some changes manually from parent branch to help a confused merge tool

* more diff-reducing imports

* confused merge tool

* reduce diff

* add validation for nonceresponse + signatureshareresponse

* newline

* pr comments

* pr comments utxo

* utxo comments

* remove error conversion method

* Squashed commit of the following:

commit 2168f58
Author: Cyle Witruk <35576205+cylewitruk@users.noreply.github.com>
Date:   Thu Feb 6 16:08:22 2025 +0100

    feat: consensus on successful DKG prior to rotate-keys submission (#1285)

    * update for wsts 11

    * use wsts 11.0.0 from crates

    * fix rebase

    * use wsts-12.0.0 from crates

    * add FrostCoordinator to wsts_state_machine so we can run signing rounds where all signers must participate

    * wip

    * run a dkg signing before deploying contracts

    * new wsts commit

    * wip

    * seems to work

    * working version

    * remove dead code

    * minor wsts logging tweaks

    * rename wstsmessageid variant

    * it works, now need to clean up

    * downgrade wsts

    * proto backwards compatability fixes

    * some wsts cleanup/refactor

    * think that's it

    * add message support for a specific dkg wstsmessageid

    * add a dkg wstsmessageid variant

    * use block hash instead of random data

    * fmt

    * remove 100% requirement for stacks signing of rotate keys

    * bump p256k1 to 7.2.2

    * fix merge artifacts

    * tracing fields

    * storage mut

    * lovely cascading changes

    * remove wstsmessage.txid infavor of id

    * remove save and prefer trait default impls

    * remove unused trait methods

    * logging stuff

    * rename message ids

    * use tracing constants

    * remove stale comment

    * remove box from some types

    * missed dkg_begin_pause

    * leftover dbg!()

    * refactor some validation

    * various pr comments

    * mut thing

    * remove unneeded allow(deprecated)

    * confused merge tool

    ---------

    Co-authored-by: Joey Yandle <xoloki@gmail.com>

* Change the DKG shares status type.
Lots of small follow-up modifications

* Update the migration query

* Fix up remaining queries

* Oops forgot this one

* Forgot this rename

* Rename the new status field to
match the new column

* Fix up the tests and add a new one

* Change the return value of some of the
queries and simplify the validation check. Also add a test.

* Change it back

* Update the tests

* Clean up the comments in the shares enum

* rename the rotate keys error variant

* Use a better error variant when extracting
the started_at from the state machine Id

* Remove some of our unused error variants

* Match the behavior in the in memory store
with the postgres implementation

* We do not need these errors anymore either

* wip

* seems to be a working version

* integrated into signer

* fmt

* remove unused errors

* another unused error

* cleanup

* don't cache the mock transaction, for now

* change cache structure

* address nits

* comments

* comments and dead code

* comment

* missed some stuff

* comment

* comments

* comment

* pr comments

* test stuff

* attribute and move mark_processed

* rename unwrap_one to single

* remove error generic

* remove unused error variant

* rename display variant

* fix mod comment

* comments

* use bool to simplify processing loop

* some refactoring and fix issue with multiple messages

* more validation, test improvements and a little cleanup

* move validate_sender in relay_message

* import mock tx verify/revoke match statement from main

* re-add block hash (well, block ref)

* add break-early-on-coordinator-state-change

* allow unlimited timeout (a'la None)

* some final cleanup

* pr comments

* remove testing.rs comment leftovers

* remove unused error variant

* remove unneeded sleep

* log state on error/expired

* statemachineid display impl

---------

Co-authored-by: Joey Yandle <xoloki@gmail.com>
Co-authored-by: djordon <dan.jordon@gmail.com>
Co-authored-by: Francesco Leacche <francescoleacche@gmail.com>

0.0.9-rc6

Toggle 0.0.9-rc6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump wsts revision (#1262)

* Update WSTS dependency
* Update the protobufs
* Pass in the new DKG threshold parameter

test-docker-release

Toggle test-docker-release's commit message
Remove unused action

0.0.9-rc5p

Toggle 0.0.9-rc5p's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: reject empty pre-sign requests (#1190)

* Reject basically empty bitcoin transaction pre-sign requests
* Add more empty request checks

0.0.9-rc4

Toggle 0.0.9-rc4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix for signer state (#1153)

* bump WSTS