-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(claim_burn)!: adds encrypted value to UnclaimedConfidentialOutpu…
…t substate (#427) Description --- - renames LayerOneCommitment substate to UnclaimedConfidentialOutput - adds the L1 wallet reciprocal burn public key to the claim burn instruction and includes that in the claimed resource - improves wallet cli claim-burn instruction output - fixes wallet cli claim-burn instruction by adding correct inputs and outputs Motivation and Context --- Depends on tari-project/tari#5238 Ref #425 - this PR will need to be updated to use the correct hasher (can be merged in any order though) How Has This Been Tested? --- Claim burn cucumber What process can a PR reviewer use to test or verify this change? --- Use POSTMan to burn funds (using wallet with tari-project/tari#5238) Run vn and wallet daemon ```shell $ cargo run --bin tari_dan_wallet_cli -- accounts create --name primary $ cargo run --bin tari_dan_wallet_cli -- accounts claim-burn --name primary <paste output from POSTman> cargo run --bin tari_dan_wallet_cli -- accounts get-balances --name primary Checking balances for account 'primary'... Account component_d74cd546e92985fd0ba5355233d53e963230e2470062155e13ab842a6d3bb991 balances: Resource | Balance ------------------------------------------------------------------------- | ------- resource_0101010101010101010101010101010101010101010101010101010101010101 | 0 resource_69e77a7104fcc9b8daf5a1125699edee08fe435565692c488134e53d594be57f | 6000 2 row(s) ``` Breaking Changes --- - [ ] None - [x] Requires data directory to be deleted - [ ] Other - Please specify
- Loading branch information
Showing
35 changed files
with
352 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.