Try to send event data to tee #1352
Labels
D1-feature
A new feature, a piece of functionality that needs to be developed
I2-medium
should be completed within 10 working days
Stale
Context
After solving issue #1092, we can know whether extrinsic is executed successfully in the parentchain. But in some corner cases, it is not enough, we still want to get event data in tee, such as in issue #1152, if we can not get the event data, it's hard to know whether each sub-extrinsic is executed successfully(except with batch-all). So I think the best solution is that each extrinsic can get its own event data.
Solution
Maybe we can refer to the implementation of #1092 which means we simply append the event data(bytes) to opaque extrinsic. see
litentry-parachain/tee-worker/core-primitives/types/src/extrinsics.rs
Lines 84 to 90 in 4d3f3fd
The text was updated successfully, but these errors were encountered: