Function ink_env::test::set_clear_storage_disabled

source ·
pub fn set_clear_storage_disabled(_disable: bool)
Expand description

Set to true to disable clearing storage

§Note

Useful for benchmarks because it ensures the initialized storage is maintained across runs, because lazy storage structures automatically clear their associated cells when they are dropped.