github lightninglabs/taproot-assets v0.7.0-rc1

pre-release9 hours ago

Database Migrations

Note that downgrading from v0.7.0.rc-1 to previous tapd versions is not presently supported. You should create backups of tapd database state before upgrading to tapd v0.7.0.rc-1.

Verifying the Release

In order to verify the release, you'll need to have gpg or gpg2 installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:

curl https://raw.githubusercontent.com/lightninglabs/taproot-assets/main/scripts/keys/roasbeef.asc | gpg --import

Once you have the required PGP keys, you can verify the release (assuming manifest-roasbeef-v0.7.0-rc1.sig and manifest-v0.7.0-rc1.txt are in the current directory) with:

gpg --verify manifest-roasbeef-v0.7.0-rc1.sig manifest-v0.7.0-rc1.txt

You should see the following if the verification was successful:

gpg: Signature made Wed Sep 30 17:35:20 2020 PDT
gpg:                using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]

That will verify the signature of the manifest file, which ensures integrity and authenticity of the archive you've downloaded locally containing the binaries. Next, depending on your operating system, you should then re-compute the sha256 hash of the archive with shasum -a 256 <filename>, compare it with the corresponding one in the manifest file, and ensure they match exactly.

Verifying the Release Timestamp

In addition to time-stamping the git tag with OpenTimestamps, we also timestamp the manifest file along with its signature. Two files are included in our release artifacts: manifest-roasbeef-v0.7.0-rc1.sig.ots and manifest-v0.7.0-rc1.txt.ots.

Assuming you have the opentimestamps client installed locally, the timestamps can be verified with the following commands:

ots verify manifest-roasbeef-v0.7.0-rc1.sig.ots -f manifest-roasbeef-v0.7.0-rc1.sig
ots verify manifest-v0.7.0-rc1.txt.ots -f manifest-v0.7.0-rc1.txt

Alternatively, the OpenTimestamps website can be used to verify these timestamps if one doesn't have a bitcoind instance accessible locally.

Assuming you are using the OpenTimestamps ots-git-gpg-wrapper you can verify the timestamp of the git tag by verifying the tag as explained in Verifying the Release Binaries.

These timestamps should give users confidence in the integrity of this release even after the key that signed the release expires.

Verifying the Release Binaries

Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our reproducible builds guide for how this can be achieved.
The release binaries are compiled with go1.23.12, which is required by verifiers to arrive at the same ones.

The make release command can be used to ensure one rebuilds with all the same flags used for the release. If one wishes to build for only a single platform, then make release sys=<OS-ARCH> tag=<tag> can be used.

Finally, you can also verify the tag itself with the following command:

$ git verify-tag v0.7.0-rc1
gpg: Signature made Tue Sep 15 18:55:00 2020 PDT
gpg:                using RSA key 60A1FA7DA5BFF08BDCBBE7903BBD59E99B280306
gpg: Good signature from "Olaoluwa Osuntokun <laolu32@gmail.com>" [ultimate]

Verifying the Docker Images

To verify the tapd and tapcli binaries inside the docker images against the signed, reproducible release binaries, there is a verification script in the image that can be called (before starting the container for example):

$ docker run --rm --entrypoint="" lightninglabs/taproot-assets:v0.7.0-rc1 /verify-install.sh v0.7.0-rc1
$ OK=$?
$ if [ "$OK" -ne "0" ]; then echo "Verification failed!"; exit 1; done
$ docker run lightninglabs/taproot-assets [command-line options]

Building the Contained Release

Users are able to rebuild the target release themselves without having to fetch any of the dependencies. In order to do so, assuming
that vendor.tar.gz and tapd-source-v0.7.0-rc1.tar.gz are in the current directory, follow these steps:

tar -xvzf vendor.tar.gz
tar -xvzf tapd-source-v0.7.0-rc1.tar.gz
go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.7.0-rc1" ./cmd/tapd
go install -v -mod=vendor -ldflags "-X github.com/lightninglabs/taproot-assets/build.Commit=v0.7.0-rc1" ./cmd/tapcli

The -mod=vendor flag tells the go build command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.

Additionally, it's now possible to use the enclosed release.sh script to bundle a release for a specific system like so:

make release sys="linux-arm64 darwin-amd64"

⚡️⚡️⚡️ OK, now to the rest of the release notes! ⚡️⚡️⚡️

Release Notes (curated)

See the in-repo release notes for a detailed list of high-level changes made since v0.6.1.

Release Notes (auto generated)

What's Changed

  • [group key addrs 1/?]: add new authmailbox RPC server and client by @guggero in #1502
  • universe: use correct ID comparison for sync config by @guggero in #1610
  • Improve robustness of GenGroupAnchorVerifier with anchor checks by @ffranr in #1602
  • universe/supplycommit: create new state machine responsible for maintaining the supply commitment for an asset by @Roasbeef in #1464
  • Refactor: Split Pre-Commitment Logic to Support New Asset Groups by @ffranr in #1589
  • [group key addrs 3/5]: misc refactor by @guggero in #1611
  • tapdb: retroactively insert old asset burns into burn table by @guggero in #1612
  • CI: fix litd itest by @guggero in #1615
  • [group key addrs 2/5]: internal/ecies: add encrypt/decrypt with ECIES by @guggero in #1512
  • tapdb: add implementation of supplycommit.SupplyTreeView by @Roasbeef in #1507
  • [group key addrs 4/5]: implement mailbox server and message store database by @guggero in #1614
  • ecies: add version byte prefix to encoding format by @ffranr in #1619
  • tapfreighter+itest: store change script key to DB by @guggero in #1620
  • tapdb: add implementation of supplycommit.CommitmentTracker and supplycommit.StateMachineStore by @Roasbeef in #1508
  • build(deps): bump the go_modules group across 4 directories with 1 update by @dependabot[bot] in #1624
  • tapdb: sanitize db errors before returning by @Roasbeef in #1630
  • tapdb: support delegation key and universe commitment flag in seedlings by @ffranr in #1638
  • [group key addrs 5/6]: Add Pedersen unique script key type by @guggero in #1621
  • mod+server: update to lnd v0.19.2-beta.rc2, taprpc to v1.0.9 by @guggero in #1644
  • itest: run in parallel, fix local flake by @guggero in #1641
  • itest: convert AssertBalanceByID to eventually-style call by @ffranr in #1651
  • universe: fix asset stats being extremely slow by @guggero in #1650
  • server+tapchannel: fix deadlock potential, queue msgs by @guggero in #1652
  • tapchannel: add a one unit extra tolerance to invoice acceptor by @GeorgeTsagk in #1639
  • AddInvoice correctly handles existing route hints by @GeorgeTsagk in #1627
  • supplycommit: add MultiStateMachineManager for managing group state machines by @ffranr in #1643
  • Bump LND out of RC and fix CLI short name by @ffranr in #1657
  • Bugfix supply commit state machine by @ffranr in #1655
  • Refactor: move LND-related services into new lndservices package by @ffranr in #1668
  • [group key addrs 6/7]: bug fixes and refactors by @guggero in #1658
  • RPC: Add Ignore Tree Endpoints by @ffranr in #1554
  • ci: fix litd itest by @guggero in #1671
  • universe+tapdb: add new block_height field to universe_leaves use that to implement block height based supply tree queries by @Roasbeef in #1596
  • docs: add release notes template, add entries for v0.6.1 and v0.7.0 by @guggero in #1679
  • mint: rename universe commit terminology to supply commit for consistency by @ffranr in #1682
  • Fix AuxInvoiceManager prop tests by @GeorgeTsagk in #1672
  • multi: allow supply commit state machine to accept pending updates during state transition by @Roasbeef in #1609
  • Add Multi-RFQ Send by @GeorgeTsagk in #1613
  • rpc+tapdb+tapfreighter: Add historical send event streaming with database-level filtering by @bhandras in #1685
  • proof: return early if mailbox is nil. by @guggero in #1689
  • taprpc: update API documentation by @guggero in #1688
  • cli: add missing assets removelease command, fix default value for balances by @guggero in #1690
  • Improve grouped asset UX for onchain and offchain balances by @guggero in #1691
  • tapfreighter: simplify ChainPorter state machine and fix itest flake by @ffranr in #1696
  • universe: improve robustness of proof leaf sync by @ffranr in #1698
  • itest: fix flakes by @guggero in #1705
  • scripts: update ffranr release signing key by @ffranr in #1709
  • [group key addrs 7/7]: send and receive support for V2 addresses by @guggero in #1587
  • Use nonce as HKDF salt and protocol name as info in ECIES encryption by @ffranr in #1669
  • universerpc: add FetchSupplyLeaves RPC for verifier sync by @ffranr in #1693
  • universe: emit SyncDiffEvent and add event subscription support to SimpleSyncer by @ffranr in #1702
  • mod: update Golang version to v1.23.12 to fix potential SQL bug by @guggero in #1713
  • itest: fix flake in address v2 test by @guggero in #1715
  • itest: increase proof courier timeout by @guggero in #1711
  • address: clean up code, don't encode asset ID if all zeroes by @guggero in #1719
  • itest: add test case for chain re-org with V2 addresses by @guggero in #1718
  • cmd: asset list to correctly filter on and display anchor txid by @bhandras in #1734
  • rpcserver: return early on rejected quote by @GeorgeTsagk in #1640
  • universe/supplycommit: add done channel to enable sync processing of events by @Roasbeef in #1729
  • Use new NoopAddHtlc TLV when sending assets with default above-dust anchor amt by @GeorgeTsagk in #1567
  • Rename RPCS subsystem to TRPC by @jtobin in #1744
  • price oracle: add intent, optional peer_id and metadata to QueryAssetRates RPC by @guggero in #1677
  • bugfix: fix two long-existing edge case bugs by @guggero in #1741
  • internal/test: don't use dns for mock servers by @jtobin in #1747
  • proof: implement and hook up ignore checker by @guggero in #1716
  • docs/debug-handbook: create new debug run books for developers to help pattern match common issues and knowledge by @Roasbeef in #1739
  • tapgarden: reduce flakiness in TestBatchedAssetIssuance by @ffranr in #1771
  • fn: fix loop var capture and clarify naming in ParSliceErrCollect by @ffranr in #1772
  • rfqrpc+rpcserver: fix peer_pub_key doc and simplify comments by @ffranr in #1774
  • multi: hook up burn and mint events to the supply commit state machine by @Roasbeef in #1675
  • Invoice manager tolerance tweaks by @GeorgeTsagk in #1673
  • multi: increase commitment v0/v1/v2 unit test coverage by @guggero in #1755
  • build(deps): bump the go_modules group across 4 directories with 1 update by @dependabot[bot] in #1756
  • docs: add generated and reviewed developer deep-dive docs by @guggero in #1759
  • server: enable ExtraBudgetForInputs to be called before full server start up by @Roasbeef in #1780
  • supplyverifier: add push syncer and universe server verification by @ffranr in #1674
  • supplyverifier: store and verify non-issuer supply pre-commitments by @ffranr in #1784
  • supplyverifier: add pull syncer and non-universe node verification by @ffranr in #1777
  • universe/supplyverifier: add logging and readme by @Roasbeef in #1792
  • build: bump version to v0.7.0 rc1 by @Roasbeef in #1793

Full Changelog: v0.6.0...v0.7.0-rc1

Don't miss a new taproot-assets release

NewReleases is sending notifications on new releases.