Function ink_env::test::set_clear_storage_disabled[][src]

pub fn set_clear_storage_disabled(disable: bool)

Set to true to disable clearing storage

Note

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