Custom views Envelope offset
- huwOP
Hi, I am experimenting with the custom views early access feature. I notice that the
Envelopehas an offset but it is optional. In what cases will there be no offset on anEnvelope? I’d like to have access to the transaction offset for everyEventinside myProjectfunction, is this possible? - cocreature
It’s
Noneduring the ACS ingestion initially. It’s set for transactions afterwards. - huw
I thought that the tool would use getTransactions instead of using ACS? Quoting the docs - “A newly created projection by default has no offset, which means a projection starts from the beginning of the ledger”. That seems to imply it would initially stream transactions from the ledger beginning, rather than getting the ACS?
- cocreature
I believe the docs are off there. If the offset is not set, it starts from the ACS not from ledger beginning.