ink_env::test

Function 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.