Skip to content

Commit

Permalink
Fix receipt conversion (#1900)
Browse files Browse the repository at this point in the history
Co-authored-by: chetan-zilliqa <66236813+chetan-zilliqa@users.noreply.github.com>
  • Loading branch information
bzawisto and chetan-zilliqa authored Nov 26, 2024
1 parent 061ce91 commit e86d702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions z2/src/converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,8 @@ fn try_with_zil_transaction(
block_hash: Hash::ZERO,
index: index as u64,
success: transaction.receipt.success,
gas_used: EvmGas(transaction.receipt.cumulative_gas),
cumulative_gas_used: EvmGas(transaction.receipt.cumulative_gas),
gas_used: ScillaGas(transaction.receipt.cumulative_gas).into(),
cumulative_gas_used: ScillaGas(transaction.receipt.cumulative_gas).into(),
contract_address,
logs: transaction
.receipt
Expand Down

0 comments on commit e86d702

Please sign in to comment.