paritytech / subport

Parity Substrate(-based) chains usage and development support
https://docs.substrate.io
Apache License 2.0
83 stars 13 forks source link

Acurast Rococo Long Term Slot #568

Closed godenzim closed 1 year ago

godenzim commented 1 year ago

You completed the Parachain Tutorials for your parachain and tested locally?

Team Name

Acurast Association

Parachain Name

Acurast Rococo Testnet

ParaID

2239

Parachain Manager Account

5FR5q2cEyK2aquPwrJJmVahwpV5AhBgSFtRxxeXtYHkraiMZ

Is this for a short or long term slot?

Long-term: we have a matching paraID in use on Polkadot or Kusama.

Upload your Genesis Head (genesis state)

acurast-rococo-2239-genesis.zip

Upload your Validation Code (genesis runtime Wasm)

acurast-rococo-2239-wasm.zip

(Optional) Upload your Chain Specification

No response

Anything else we should know?

No response

Register your Rococo parachain details for polkadot-js/apps

al3mart commented 1 year ago

Registering parathread now, I'll assigned the slot once that is finished

al3mart commented 1 year ago

Slot has been assigned

godenzim commented 1 year ago

@al3mart We are experiencing an issue with our nodes: blocks are not produced and they are throwing this error:

2023-06-07 06:24:18.146 ERROR tokio-runtime-worker runtime: [Parachain] panicked at 'Invalid messaging state in relay chain state proof: DmqMqcHead(Proof)', /Users/godenzim/.cargo/git/checkouts/cumulus-59522f43471fa161/ae4e75b/pallets/parachain-system/src/lib.rs:425:18  

the same nodes were able to produce blocks when running locally.

Do you think we are experiencing the same issue as reported in this other issue

RomarQ commented 1 year ago

We have figured out the issue. For some reason parachaininfo > parachainid() is returning the old id 4191.

We are looking if it can be fixed on the collator side, if not, we will provide a new state.

godenzim commented 1 year ago

Hi @al3mart

We regenerated the genesis head and validation code:

acurast-rococo-2239-genesis.zip

acurast-rococo-2239-wasm.zip

Could you please reset them?

al3mart commented 1 year ago

Done!

RomarQ commented 1 year ago

Hi @al3mart ,

Thanks for the support.

The parachain still has the old genesis:

image

RomarQ commented 1 year ago

Yep, the proxy call https://rococo.subscan.io/extrinsic/5728448-2 included the old genesis state.

al3mart commented 1 year ago

The state and wasm in the comment above are the ones meant to be used, right ?

I can push those again, but I would say these are the ones that were set before.

al3mart commented 1 year ago

Looking better now I believe https://rococo.subscan.io/extrinsic/0x3a27fbf96c072d64376d653a5f2a4a9597fd089a7564352ac89ca92e611d69c3

Sorry about that

RomarQ commented 1 year ago

Thanks @al3mart! Now I see the blocks being produced.

RomarQ commented 1 year ago

Hi @al3mart,

Sorry for disturbing you again.

Yesterday we tried to do a consensus migration from PoA to PoS, which didn't went as planned and the chain got stuck. In the meanwhile we identified the issue and added a fix, which is why I am contacting you, to know if you could do a paras > forceSetCurrentCode call with the new wasm. We will use the codeSubstitutes field to override the runtime on the collators side.

New wasm: acurast-rococo-2239-wasm.zip

Thank you in advance

al3mart commented 1 year ago

Wasm set!