-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Feature] Define ExecutingMessageValidator
#98
Comments
call to |
how about this one @sergerad ? |
Looks good, will start this one after I push something up for #20 |
@sergerad after looking at home we will use this in op-reth transaction pool, it makes more sense if the trait methods use logs rather than receipts. the reason being that there is no need to construct and entire receipt from execution, when we will only use the logs anyway. that removes the step of extracting logs, the step that remains is extracting executing message events from logs. |
@refcell what is the relationship between pub trait Supervisor from the This issue states I should use TY! |
agreed @sergerad let's collapse these two into the one living inside of rpc module...jsonrpsee automatically impls the client version of the trait so the impl in interop crate is redundant. ref https://docs.rs/jsonrpsee/latest/jsonrpsee/async_client/struct.Client.html#method.request probably makes sense to make the api module in rpc crate into a folder though, and having supervisor api in it's own file since the additional trait methods make it rather much loc out of scope for this issue though. tldr; use the trait in rpc crate |
Component
protocol
Describe the feature you would like
Define new trait that has functionality to
(i) parses receipts to extract
ExecutingMessage
s from logs(ii) validate a list of receipts, using the result from (i) under the hood to use
SupervisorApiClient
Additional context
API should be flexible to use on single receipts (list of one) and multiple receipts, and flexible to allow parallelising RPC calls to supervisor and extracting messages form logs.
The text was updated successfully, but these errors were encountered: