Skip to content

Commit

Permalink
Add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed May 28, 2024
1 parent 51761da commit c0b8891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpc/backend/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ func (b *Backend) BlockNumberFromTendermintByHash(blockHash common.Hash) (*big.I
// EthMsgsFromTendermintBlock returns all real MsgEthereumTxs from a
// Tendermint block. It also ensures consistency over the correct txs indexes
// across RPC endpoints
// TODO: check if additionals array can be removed
func (b *Backend) EthMsgsFromTendermintBlock(
resBlock *tmrpctypes.ResultBlock,
blockRes *tmrpctypes.ResultBlockResults,
Expand Down
1 change: 1 addition & 0 deletions rpc/types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func NewTransactionFromMsg(
chainID *big.Int,
txAdditional *TxResultAdditionalFields,
) (*RPCTransaction, error) {
// TODO: check if this condition can be removed
if txAdditional != nil {
return NewRPCTransactionFromIncompleteMsg(msg, blockHash, blockNumber, index, baseFee, chainID, txAdditional)
}
Expand Down

0 comments on commit c0b8891

Please sign in to comment.