-
Notifications
You must be signed in to change notification settings - Fork 46
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
listen to parentchain events #1238
Comments
Connected to: #1208 |
For bullet point 3 in this issue there is really a couple approaches and it is worth discussing an approach. For now regarding bullet points 1 & 2 simply query the Now once we have the validated events we can do the simplest approach and least robust approach that would solve #1208 and #970 which is: worker/enclave-runtime/src/lib.rs Line 380 in 5fe663b
However this is not really achieving being able to A solution to achieve this may be to have some temporary storage of events in the enclave which can be indexed by a particular block hash. This way we can allow someone to query the validated events for a particular block and then search those events for what they are looking for i.e. (Extrinsic success, or Extrinsic Failed, Certain Pallet events etc.) Or to even subscribe to a particular validated event and just listen for when it occurs given the current ParentChain block. This is the solution I am leaning towards which would allow for subscription. Open to any feedback. |
Closed by #1272 |
The text was updated successfully, but these errors were encountered: