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(wallet)!: improve transactions.submit api #1151

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Sep 17, 2024

Description

Submit an UnsignedTransaction to the wallet for signing.
Split dry run from submit (transactions.submit and transactions.submit_dry_run)
Remove no_fee setting from validator node

Motivation and Context

Avoid confusion with transactions.submit API by removing duplicate data in request.
The result field is removed from the transactions.submit response as that only applies to dry run. Dry run is submitted by using a separate request that returns the result in the response.

tari.js will need to be updated (PR tari-project/tari.js#36)

How Has This Been Tested?

Cucumber, manually

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

Call transactions.submit

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

BREAKING CHANGE: transactions.submit call has breaking changes, no_fees setting is removed from VNs (fees are required)

Copy link

Test Results (CI)

569 tests  +462   569 ✅ +463   1h 47m 34s ⏱️ + 1h 14m 23s
 62 suites + 48     0 💤 ±  0 
  2 files   +  1     0 ❌  -   1 

Results for commit edbd00e. ± Comparison against base commit 62b6cde.

@sdbondi sdbondi merged commit a27b6af into tari-project:development Sep 18, 2024
12 checks passed
@sdbondi sdbondi deleted the wallet-simplify-submit-api branch September 18, 2024 03:52
sdbondi added a commit to tari-project/tari.js that referenced this pull request Sep 18, 2024
Description
---
updates to changes from tari-project/tari-dan#1151 and tari-project/tari-dan#1153
Version bump to v0.2.0

Motivation and Context
---
Updates to incorporate the improvements to the transaction submit API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants