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

Store all token transfer inputs on operation #478

Merged
merged 2 commits into from
Feb 4, 2022

Conversation

awrichar
Copy link
Contributor

@awrichar awrichar commented Feb 3, 2022

Since the transfer is only recorded upon success, all inputs must be stored
on the operation in order to support retries or accurately report failures.

Needed for #400 and #316

Since the transfer is only recorded upon success, all inputs must be stored
on the operation in order to support retries or accurately report failures.

Signed-off-by: Andrew Richardson <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #478 (94d1dcb) into main (a3992b8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 94d1dcb differs from pull request most recent head ecc0712. Consider uploading reports for the commit ecc0712 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #478   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files         266      266           
  Lines       15134    15142    +8     
=======================================
+ Hits        15123    15131    +8     
  Misses         11       11           
Impacted Files Coverage Δ
internal/assets/token_transfer.go 100.00% <100.00%> (ø)
internal/txcommon/token_inputs.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3992b8...ecc0712. Read the comment docs.

Signed-off-by: Andrew Richardson <[email protected]>
Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

📥 📤

@peterbroadhurst peterbroadhurst merged commit 8bbc479 into hyperledger:main Feb 4, 2022
@peterbroadhurst peterbroadhurst deleted the transferop branch February 4, 2022 14:05
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.

3 participants