-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HIP-584: Handle read only precompile calls via ViewExecutor/RedirectV…
…iewExecutor (#6557) This PR allows all type of calls (view/pure/dynamic) to read only precompiles to be handled via ViewExecutor/RedirectViewExecutor, thus removing the need of having a copy of separate precompile class implementations. That is possible since the executors read the data from the same place (the Store interface) and they share the same gas calculation logic with the precompile class implementations in hedera-services codebase. Consequently, we could just reuse the executor logic to handle eth_call and eth_estimateGas requests. Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com> Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com> Co-authored-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
- Loading branch information
1 parent
618ca58
commit 7759c70
Showing
1 changed file
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters