-
Notifications
You must be signed in to change notification settings - Fork 70
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
rpcdaemon: generate transaction receipts on-the-fly #2375
Conversation
ba913f8
to
8a9aaee
Compare
327803f
to
ec7c8bf
Compare
executor.reset(); | ||
} | ||
return rpc_receipts; | ||
}); |
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 should be able to parallelise the generation of the receipts by scheduling the execution of each transactions as a separate async_task
, as opposed to having just one. This will require setting up dedicated history State
instances for each txn_num.
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.
OK in next PR
ca943c9
to
7e5c6e2
Compare
Add generation on-the-fly for transaction receipts if not present on the data storage.
EVMExecutor::call_with_receipts
is currently copy-paste ofEVMExecutor::call
, waiting for the work in #2364 to be merged, then a refactoring will be needed