Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix claim commsig, allow JSON to be pasted on cli #421

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Mar 7, 2023

Description

  • update claim proof protobuf representation to use CommitmentSig proto type
  • allow user to paste json into claim-burn cli
  • fix crash if user given malformed proofs
  • updated cucumber

Motivation and Context

Claim burn works

How Has This Been Tested?

Manually

What process can a PR reviewer use to test or verify this change?

Burn funds on L1 using POSTman
Copy JSON from result
run: cargo run --bin tari_dan_wallet_cli -- accounts get-balances --account-name primary
Paste JSON

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - instruction changed. Transaction message not compatible with previous VNs

@sdbondi
Copy link
Member Author

sdbondi commented Mar 8, 2023

Decided to lock tari to 0.47.0-pre-0 , otherwise I'd need to implement the BalancedMerkleTree in this PR

stringhandler pushed a commit to tari-project/tari that referenced this pull request Mar 8, 2023
Description
---
Fixes compile error caused by breaking change for decimal-rs >=0.1.42

Motivation and Context
---
decimal-rs removed the Error impl for their error type in 0.1.42 but released this breaking change as a patch.
The thiserror from impl requires that the Error trait be implemented so this PR manually implements From

~~Causing compile error in tari-project/tari-dan#421 worked around this and other issues by not updating all dependencies and locking to 0.47.0-pre.0 tag.

How Has This Been Tested?
---
Code compiles

<!-- Does this include a breaking change? If so, include this line as a footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain -->
Copy link
Contributor

@jorgeantonio21 jorgeantonio21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdbondi sdbondi added this pull request to the merge queue Mar 8, 2023
Merged via the queue into tari-project:development with commit 2755ce9 Mar 8, 2023
@sdbondi sdbondi deleted the fix-claim-burn branch March 8, 2023 09:36
sdbondi added a commit to stringhandler/tari-dan that referenced this pull request Mar 15, 2023
* development:
  feat(cli): generate output proof for minting, support file blob args (tari-project#429)
  feat(wallet)!: monitor accounts for received funds (tari-project#425)
  feat(claim_burn)!: adds encrypted value to UnclaimedConfidentialOutput substate (tari-project#427)
  feat: transaction filter (tari-project#428)
  feat: update to tari newest tari version (tari-project#424)
  feat: add missing wallet daemon cli request for claim burn (tari-project#426)
  feat: add handle claim burn to wallet daemon accounts (tari-project#422)
  feat: ui improvements (tari-project#419)
  fix: fix claim commsig, allow JSON to be pasted on cli (tari-project#421)
  feat(indexer): track all NFT's of a resource (tari-project#420)
  feat: add transfer of confidential assets to wallet cli (tari-project#412)
  feat(wallet): add apis and implementation for confidential withdraws (tari-project#417)
  v0.50.0-pre.0
  feat: adds public nonce and encrypted value data to confidential resources (tari-project#413)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants