smoldot icon indicating copy to clipboard operation
smoldot copied to clipboard

Properly implement code substitutes

Open tomaka opened this issue 4 years ago • 2 comments

cc https://github.com/paritytech/smoldot/pull/960

https://github.com/paritytech/smoldot/blob/41c5d164cb36436ce949d51ffb8ca7b49b2addd9/src/chain_spec/structs.rs

image

tomaka avatar Aug 09 '21 10:08 tomaka

This feature conflicts with warp syncing. It is possible to warp sync over the block specified in a codeSubstitutes, and not be aware that a substitution needs to take place.

tomaka avatar Aug 11 '21 14:08 tomaka

This feature conflicts with warp syncing. It is possible to warp sync over the block specified in a codeSubstitutes, and not be aware that a substitution needs to take place.

This is no longer a problem after https://github.com/paritytech/substrate/pull/10600 / https://github.com/paritytech/smoldot/pull/1869

tomaka avatar Jun 20 '22 12:06 tomaka