You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use this call type to construct an extrinsic, try to send it to parentchain later.
Before sending above extrinsic to parentchain, the parentchain upgraded. Now parentchain runtime version is 2 and the create_identity call type have changed to:
At this time, tee-worker try to send above extrinsic to parentchain and it should receive an error from parentchain. Beacause the call type doesn't match
Finally, the storage values of the sidechain and the parentchain are inconsistent. Use the example above, it means that Identity only exist on sidechain, not parentchain
I still don't have any ideas on this issue. Drop extrinsic directlly?
The text was updated successfully, but these errors were encountered:
❗ This issue is stale because it has been open for 60 days with no activity.
Remove Stale label or update it, otherwise this issue will be closed in 7 days.
@litentry/parachain
Context
Now, tee-worker send extrinsic to parentchain in this function:
https://github.com/litentry/litentry-parachain/blob/25bf6e0e8137209a0cc1c60cc2c89729ddc83fc6/tee-worker/enclave-runtime/src/top_pool_execution.rs#L245-L276
From the logic of the function, we know that:
The flow above has a potential bug. Let's imagine:
create_identity
call type is:We use this call type to construct an extrinsic, try to send it to parentchain later.
Before sending above extrinsic to parentchain, the parentchain upgraded. Now parentchain runtime version is 2 and the
create_identity
call type have changed to:At this time, tee-worker try to send above extrinsic to parentchain and it should receive an error from parentchain. Beacause the call type doesn't match
Finally, the storage values of the sidechain and the parentchain are inconsistent. Use the example above, it means that
Identity
only exist on sidechain, not parentchainI still don't have any ideas on this issue. Drop extrinsic directlly?
The text was updated successfully, but these errors were encountered: