Skip to content

chore: add needed TransactionOutput fields#415

Open
tinker-michaelj wants to merge 9 commits intomainfrom
update-output-messages
Open

chore: add needed TransactionOutput fields#415
tinker-michaelj wants to merge 9 commits intomainfrom
update-output-messages

Conversation

@tinker-michaelj
Copy link
Copy Markdown
Contributor

@tinker-michaelj tinker-michaelj commented Sep 4, 2024

Description:

  • Adds TransactionOutput fields for SCHEDULE_CREATE, TOKEN_AIRDROP, and ETHEREUM_TRANSACTION that are necessary to recover the full record stream from the block stream.
  • Includes some javadoc improvements in block_stream_info.proto.

Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Copy link
Copy Markdown
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

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

I am not sure we actually need the new outputs.
We deliberately do not include values that are present in some other block item in outputs, so created ID values (which must be present in the state changes) or messages added to state as part of a transaction (i.e. PendingAirdrop messages) are not included in transaction outputs, for example.

Comment thread block/stream/output/schedule_service.proto Outdated
Comment thread block/stream/output/smart_contract_service.proto Outdated
Comment thread block/stream/output/smart_contract_service.proto Outdated
Comment thread block/stream/output/smart_contract_service.proto Outdated
Comment thread block/stream/output/token_service.proto Outdated
Comment thread block/stream/output/token_service.proto
Comment thread block/stream/output/schedule_service.proto
Comment thread services/state/blockstream/block_stream_info.proto Outdated
tinker-michaelj and others added 8 commits September 4, 2024 15:01
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Co-authored-by: Joseph S. <121976561+jsync-swirlds@users.noreply.github.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Copy link
Copy Markdown
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

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

Looks good, one small question remains.

* that is identical to the one that was requested.<br/>
* For any other status, this value SHALL NOT be set.
*/
proto.ScheduleID schedule_id = 1;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be renamed to duplicate_schedule_id?
Also, if we only set this for duplicate schedules, we may need to remove the first specification sentence in the document comment above.

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