ChainSafe / ChainSafe/gossamer

Gossamer fails to produce blocks using runtime v0.9.43: `mandatory dispatch error`

Open
#3,384 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug

- After upgrading the runtime specs to v0.9.43 (PR: https://github.com/ChainSafe/gossamer/pull/3353) gossamer is facing a problem while producing blocks:

```
INFO built block 1 with hash 0x97641d745b4800b4a4de1b0e0695e51a796cbd6e7c8cf429a569128af2b3445c, state root 0x5c32cd87036d9b9989582e8dc7e4861590e3d588635ccbcc8087cd1a2c22991c, epoch 0 and slot 281542811 pkg=babe
INFO 🔗 imported blocks from 0 to 1 (hashes [0x7f56d9f6097a23ef474b211e33b55a75384f475067082bd23e75b985ccd0b0a7 ... 0x97641d745b4800b4a4de1b0e0695e51a796cbd6e7c8cf429a569128af2b3445c]) pkg=sync
INFO 🚣 currently syncing, 0 peers connected, target block number 4294967295, 0.22 average blocks/second, 0.22 overall average, finalised block number 0 with hash 0x7f56d9f6097a23ef474b211e33b55a75384f475067082bd23e75b985ccd0b0a7 pkg=sync
WARN failed to handle slot 281542812: cannot build inherents: error applying inherent: transaction validity error: mandatory dispatch error pkg=babe
```

### More informations
While applying a mandatory extrinsic and it fails the runtime returns the mandatory dispatch error, an extrinsic is mandatory if it is an inherent extrinsic

https://github.com/paritytech/substrate/blob/5591c9b8cb346e356d2e9a63064af2f61bd54bd1/frame/executive/src/lib.rs#L592

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.