-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add missing functionality for the gas-fee algorithm #131
Conversation
@@ -259,7 +257,7 @@ evmc::Result EVM::call(const evmc_message& message) noexcept { | |||
} else { | |||
|
|||
evmc_message revisted_message{message}; | |||
if(eos_evm_version_ > 0 && revisted_message.depth == 0 && recipient_is_dead) { | |||
if(eos_evm_version_ > 0 && revisted_message.depth == 0 && !is_zero(evmc::bytes32{revisted_message.value}) && !recipient_exists) { |
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.
It seems will cause a functionality change if recipient is precompiled or reserved address?
What's the reason behind this change?
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.
We wanted to be consistent with what the CALL instruction is doing when trying to check if the account exists.
The instruction implementation its just calling the host function account_exists
on the destination address, so we are doing the same when processing the call message coming from a transaction.
…ber/eth_getBlockByHash api calls
No description provided.