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

runtime: Support for block tags #3848

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Apr 12, 2021

Runtime: Add support for block tags (tags not emitted by a specific transaction).

Needed for: oasis-sdk#consensus-module (oasisprotocol/oasis-sdk#92)

@ptrus ptrus force-pushed the ptrus/feature/runtime-block-tags branch from c91c105 to 7a37900 Compare April 12, 2021 07:11
runtime/src/transaction/tree.rs Show resolved Hide resolved
.changelog/3848.breaking.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 12, 2021

Codecov Report

Merging #3848 (30c014d) into master (d29a78e) will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3848      +/-   ##
==========================================
+ Coverage   66.99%   67.06%   +0.07%     
==========================================
  Files         404      404              
  Lines       41467    41467              
==========================================
+ Hits        27779    27811      +32     
+ Misses       9740     9708      -32     
  Partials     3948     3948              
Impacted Files Coverage Δ
go/worker/common/committee/runtime_host.go 66.07% <0.00%> (-6.25%) ⬇️
go/worker/storage/service_external.go 48.57% <0.00%> (-5.72%) ⬇️
go/consensus/api/submission.go 67.10% <0.00%> (-5.27%) ⬇️
go/runtime/tagindexer/tagindexer.go 66.66% <0.00%> (-4.60%) ⬇️
go/runtime/transaction/transaction.go 76.13% <0.00%> (-2.28%) ⬇️
go/runtime/host/sandbox/sandbox.go 80.07% <0.00%> (-1.57%) ⬇️
go/storage/mkvs/iterator.go 81.75% <0.00%> (-1.46%) ⬇️
go/runtime/client/submitter.go 61.74% <0.00%> (-1.35%) ⬇️
go/storage/client/client.go 73.00% <0.00%> (-0.89%) ⬇️
go/worker/registration/worker.go 69.48% <0.00%> (-0.40%) ⬇️
... and 16 more

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 d29a78e...30c014d. Read the comment docs.

@ptrus ptrus force-pushed the ptrus/feature/runtime-block-tags branch 2 times, most recently from c54f9e1 to 08d749b Compare April 16, 2021 12:54
@ptrus ptrus force-pushed the ptrus/feature/runtime-block-tags branch from 08d749b to 30c014d Compare April 16, 2021 13:01
@ptrus ptrus marked this pull request as ready for review April 16, 2021 13:03
@@ -0,0 +1 @@
runtime: Add support for block tags
Copy link
Member

Choose a reason for hiding this comment

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

Why is this breaking?

Copy link
Member Author

@ptrus ptrus Apr 19, 2021

Choose a reason for hiding this comment

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

Hm i was thinking to mark it as breaking as ExecuteTxResult (publicly exposed runtime api struct) was changed. I guess it depends on what definition of "breaking" we'd like to use for these fragments :-)

Copy link
Member

Choose a reason for hiding this comment

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

Oh, yeah that's true, keep it as breaking.

@ptrus ptrus merged commit 152b98c into master Apr 19, 2021
@ptrus ptrus deleted the ptrus/feature/runtime-block-tags branch April 19, 2021 08:47
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