I want to add a vector fields in the block header of substrate chain. Is this possible? If yes, How can i do that? Do we have any reference code for it?

Thanks in advance

1 Answer 1


I think you can push something to the header's digest field.

Utilize DigestItem::Other that takes a Vec<u8> as input.

But I don't recommend puting a very large Vec<u8> into the header.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.