-
Notifications
You must be signed in to change notification settings - Fork 205
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
removing ledger backend module #1524
Conversation
827af11
to
554a078
Compare
554a078
to
838c666
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 🎉 AWESOME 🎉 🎉
Let's see those intermediary layers fall fall fall!
Left a few comments, thanks!
}, | ||
inclusive = true // we need this to be inclusive otherwise the stream will be hanging until a new element from upstream arrives | ||
) | ||
.filter(_.offset.toLong < end.toLong) | ||
.filter(_._1 < end.toLong) | ||
} | ||
// we MUST do the offset comparison BEFORE collecting only the accepted transactions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the comment with the changes (e.g. the concept of "accepted transaction" doesn't exist anymore).
...box/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/SandboxIndexService.scala
Show resolved
Hide resolved
@@ -23,7 +22,8 @@ import scala.collection.breakOut | |||
trait TransactionConversion { | |||
|
|||
def acceptedToDomainFlat( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename from acceptedToDomainFlat
to something like ledgerEntryTxToDomainFlat
.
filteredEvents, | ||
domain.LedgerOffset.Absolute(trans.offset), | ||
offset, | ||
None | ||
)) | ||
} else None | ||
} | ||
|
||
def acceptedToDomainTree( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the name.
...er/participant-state/src/main/scala/com/daml/ledger/participant/state/v1/SubmitterInfo.scala
Outdated
Show resolved
Hide resolved
…ipant/state/v1/SubmitterInfo.scala Co-Authored-By: Gary Verhaegen <gary.verhaegen@digitalasset.com>
@garyverhaegen-da @gerolf-da your comments have been addressed |
Removed the unnecessary
ledger-backend
module/abstraction.Pull Request Checklist
NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.