You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we request the transaction details using the bellatrix.Transaction. However, this structure might change in the future, so the details should be requested using a standard structure as a Hash. #63 (review)
Proposal
In order to make the transaction request compatible with the rest of the tool, we intend to request the details inside the block, at the same time it is converted to an AgnosticBlock taking into account the current fork. Then, inside the block we would store an array of AgnosticTransaction.
// This Wrapper is meant to include all common objects across Ethereum Hard Fork SpecstypeAgnosticExecutionPayloadstruct {
FeeRecipient bellatrix.ExecutionAddressGasLimituint64GasUseduint64Timestampuint64BaseFeePerGas [32]byteBlockHash phase0.Hash32Transactions []local_spec.AgnosticTransactionBlockNumberuint64Withdrawals []*capella.Withdrawal
}
The text was updated successfully, but these errors were encountered:
I agree with this update. I'll also like to leave the APIClient interface as clean as possible. Right now, we have a lot of data parsing from transactions in an APIClient method, when the actual call to the EL node is only to fetch the transaction.Receipt from a given tx.Hash .
From my understanding, this data parsing should be part of the AgnosticTransaction, and should be identified/parsed when parsing the Block.
Description
Right now we request the transaction details using the
bellatrix.Transaction
. However, this structure might change in the future, so the details should be requested using a standard structure as aHash
.#63 (review)
Proposal
In order to make the transaction request compatible with the rest of the tool, we intend to request the details inside the block, at the same time it is converted to an AgnosticBlock taking into account the current fork. Then, inside the block we would store an array of
AgnosticTransaction
.The text was updated successfully, but these errors were encountered: