-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.0] add get transaction & get transaction receipt from rpc test #231
Conversation
…n_test_main [1.0->main] add integration test for differen test token
…_0_0-rc1-to-main [1.0 -> main] Bump 1.0.0-rc1 version
…extra-data-to-main [1.0 -> main] Use updated silkworm with the new block-extra-data storage
…_0_0-rc2-to-main [1.0 -> main] Bump 1.0.0-rc2 version
bal2 = w3.eth.get_balance(Web3.to_checksum_address("0x9E126C57330FA71556628e0aabd6B6B6783d99fA")) | ||
|
||
# balance different = 1.0 EOS (val) + 900(Gwei) (21000(base gas) + 36782 (gas for non-exist account) ) | ||
assert(bal1 == bal2 + 1000000000000000000 + 900000000000 * (21000 + 36782)) | ||
|
||
Utils.Print("try to get transaction %s from evm-rpc" % (Web3.to_hex(signed_trx.hash))) | ||
evm_tx = w3.eth.get_transaction(signed_trx.hash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens here if transaction does not exists?
Maybe we can assert that : signed_trx.hash == evm_tx hash
We should also call eth_getTransactionReceipt and do something similar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also the PR should start with [1.0] ...
and target release/1.0
Resolves #229