Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web3-eth
sendTransaction
and sendSignedTransaction
PromiEvent
…
… tests #4810 (#4875) * WIP Web3Eth.sendTransaction tests * Update use of ReceiptInfo and TransactionReceipt to ReceiptInfoFormatted * Add optional data field to BaseTransaction * Init sendTransaction test and fixture * Remove old sendTransactionValidData * Remove no longer needed imports * Remove errornous sendTransaction test * Init getGasPricing tests for sendTransaction * Init wait_for_transaction_receipt.ts * Init watch_transaction_for_confirmations.ts * Import waitForTransactionReceipt and watchTransactionForConfirmations from utils/ * Init waitForTransactionReceipt and watchTransactionForConfirmations tests * Fix promiEvent bug with sendSignedTransaction * Use HexString for expectedTransactionHash instead of string * Remove jest.useRealTimers * Init sendSignedTransaction tests * Update use of ReceiptInfo to ReceiptInfoFormatted for sendSignedTransaction * Remove unused import ReceiptInfo * Update SendSignedTransactionEvents to include only unique properties * Add transactionHash to TransactionMissingReceiptOrBlockHashError * Update packages/web3-eth/src/errors.ts * Add effectiveGasPrice to sendSignedTransaction and sendTransaction fixtures * Add expectedTransactionHash to watchTransactionForConfirmationsSpy tests * Update names of files to match existing casings * Merge with #4859 * Update import for ReceiptInfo * Add effectiveGasPrice to transactionSchema * Update SendTransactionEvents and SendSignedTransactionEvents types * Add transaction receipt formatting Co-authored-by: Alex <alex.luu@mail.utoronto.ca>
- Loading branch information