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: update transactions.submit request #36

Merged
merged 1 commit into from
Sep 18, 2024
Merged

fix: update transactions.submit request #36

merged 1 commit into from
Sep 18, 2024

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Sep 17, 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.

sdbondi added a commit to tari-project/tari-dan that referenced this pull request Sep 18, 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
- [x] Other - Please specify

BREAKING CHANGE: transactions.submit call has breaking changes, no_fees
setting is removed from VNs (fees are required)
@sdbondi sdbondi marked this pull request as ready for review September 18, 2024 04:06
@sdbondi sdbondi merged commit 1dc4699 into main Sep 18, 2024
4 checks passed
@sdbondi sdbondi deleted the update-submit-api branch September 18, 2024 04:12
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.

1 participant