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
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
It does not happen when you set --trie-cache-size 0 on the collator.
The panic appears in the INFO log level on the validator so watch out for that
Steps to reproduce
It is unclear what the minimal reproducer it but we noticed when using pallet-contracts on a rococo parachain. Since then we added --trie-cache-size 0 to the collators of that parachain. Hence a local testnet is needed to reproduce. In the following I describe the steps which we were able to reproduce the error. It did not work 100% but just doing this once but needed some transactions to be submitted.
You will reproduce the error deploying and calling some smart contracts on a parachain. Easiest way to interact with the parachain is to use https://contracts-ui.substrate.io/ and select "Local Node" in the drop down.
You need the following two contracts. Download those files (you will upload them to the chain later). Those are pretty big because they are built with debug information: contracts.zip
Deploy game.contract and set the params of the constructor like this:
3. Deploy `player.contract` and set the constructor parameter to the game contract (deployed in 2.). You will be able to select it from the drop down:
4. Now call `game::submit_turn(player_contract)` until you observe the error on the validator. This will essentially stall the parachain as the collator will always retry to include this invalid transaction:
Please keep in mind when submitting a turn: The game does only allow you to submit one turn per block. The dry-run doesn't refresh automatically so you would need to select another message and go back to make sure it runs against the current block. Otherwise it might be stale.
The text was updated successfully, but these errors were encountered:
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When a cumulus built block is validated which uses child trie storage the PVF panics with the following error:
Please note:
--trie-cache-size 0
on the collator.Steps to reproduce
It is unclear what the minimal reproducer it but we noticed when using
pallet-contracts
on a rococo parachain. Since then we added--trie-cache-size 0
to the collators of that parachain. Hence a local testnet is needed to reproduce. In the following I describe the steps which we were able to reproduce the error. It did not work 100% but just doing this once but needed some transactions to be submitted.You will reproduce the error deploying and calling some smart contracts on a parachain. Easiest way to interact with the parachain is to use https://contracts-ui.substrate.io/ and select "Local Node" in the drop down.
game.contract
and set the params of the constructor like this:3. Deploy `player.contract` and set the constructor parameter to the game contract (deployed in 2.). You will be able to select it from the drop down:
4. Now call `game::submit_turn(player_contract)` until you observe the error on the validator. This will essentially stall the parachain as the collator will always retry to include this invalid transaction:
Please keep in mind when submitting a turn: The game does only allow you to submit one turn per block. The dry-run doesn't refresh automatically so you would need to select another message and go back to make sure it runs against the current block. Otherwise it might be stale.
The text was updated successfully, but these errors were encountered: