Skip to content

Commit

Permalink
Fixed Issue iotaledger#3027
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonLabsDev committed Nov 3, 2023
1 parent f8e8379 commit 62c88c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/evm/jsonrpc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,13 @@ func RPCMarshalReceipt(r *types.Receipt, tx *types.Transaction) map[string]inter
"from": evmutil.MustGetSenderIfTxSigned(tx),
"to": tx.To(),
"cumulativeGasUsed": hexutil.Uint64(r.CumulativeGasUsed),
"effectiveGasPrice": "0xE8D4A51000", //1000 GWEI
"gasUsed": hexutil.Uint64(r.GasUsed),
"contractAddress": r.ContractAddress,
"logs": rpcMarshalLogs(r),
"logsBloom": r.Bloom,
"status": hexutil.Uint64(r.Status),
"type": "0x0", //legacy transaction
}
}

Expand Down

0 comments on commit 62c88c8

Please sign in to comment.