Replies: 1 comment
-
My understanding is that as a prerequisite of ejection, the ejecting service's code hash should be "upgraded" to 32-byte encoding of service id which can trigger its ejection (accumulate host), to deliver the intention that it is "ready for ejection triggered by service id xxx". Therefore, for "accumulating service" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This traces relies on the eject host call succeeding. However, based on my reading of GP 0.7.0, it seems that it should fail by triggering the following condition (https://graypaper.fluffylabs.dev/#/38c4e62/373302373302?v=0.7.0):
My interpretation is that eject should fail with WHO if either:
In this context, I read

as “the first 32 bytes of the current service’s encoded data,” which represents its code hash.
At the moment of the host call, the code cash of the ejected service
0x8e48e924
isall zeros
and does not match the code_hash of the ejecting service0
:0x2F46B4EE8C502D0B9E66C78823B4959E22C101D9A3D1B82554B1912CC11F6EB5
.In addition, the following log lines add further confusion:
However, according to the trace's pre-state the ejected service
0x8e48e924
already has a code_hash ofall zeros
in its info structure:Beta Was this translation helpful? Give feedback.
All reactions