substrate icon indicating copy to clipboard operation
substrate copied to clipboard

[contracts] Add upfront weight of merkle trie proofs for storage reading functions

Open agryaznov opened this issue 3 years ago • 1 comments

Follow-up to https://github.com/paritytech/substrate/pull/12976

Even for a single-byte reading operation, proofs of all merkle trie hashes would apparently be needed. Hence this static weight is added to all the storage reading functions.

agryaznov avatar Jan 24 '23 20:01 agryaznov

We want to fix up the schedule printing macro here before merge.

fixed

agryaznov avatar Jan 25 '23 14:01 agryaznov