hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
313 stars 138 forks source link

Deserialize transaction bytes and populate callback consumers from SwirldState API #16705

Open IvanKavaldzhiev opened 1 day ago

IvanKavaldzhiev commented 1 day ago

Problem

SwirldState API will be enhanced with changes in preHandle and handleConsensusRound, adding additional consumer as a callback. This callback should be properly integrated inside hedera.app by being populated with system transactions.

Solution

  1. Deserialize incoming transaction bytes into proto types.
  2. Filter all transactions and get the system transactions
  3. Populate the callbacks with these system transactions

Alternatives

No response