Unverified Commit 029a6562 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Unify `code_at` logic between `CallExecutor` & `Client` (#4618)

This unifies the logic between `CallExecutor` and `Client` when it comes
to fetching the `code` for a given block. The actual `code` depends on
potential overrides/substitutes.

Besides that it changes the logic in the lookahead collator on which
`ValidationCodeHash` it sends to the validator alongside the `POV`. We
are now sending the code hash as found on the relay chain. This is done
as the local node could run with an override which is compatible to the
validation code on the relay chain, but has a different hash.
parent cc387132
Pipeline #481633 waiting for manual action with stages
in 11 minutes and 2 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment