rust-web3 icon indicating copy to clipboard operation
rust-web3 copied to clipboard

send_transaction_with_confirmation is broken

Open debris opened this issue 7 years ago • 0 comments

why is it broken?

eth_getTransactionReceipt returns receipt with fields block_hash and block_number set to null for transactions that are a part of pending block.

related issue to parity-bridge:

  • https://github.com/paritytech/parity-bridge/issues/191
  • https://github.com/paritytech/parity-bridge/issues/196

fix for TransactionReceipt structure:

  • https://github.com/tomusdrw/rust-web3/pull/164

new implementation of send_transaction_with_confirmation, for now in parity-bridge:

  • https://github.com/paritytech/parity-bridge/pull/197

tests for new implementation: https://github.com/paritytech/parity-bridge/blob/block-number-stream/bridge/src/send_tx_with_receipt.rs#L249

debris avatar Oct 13 '18 12:10 debris