Skip to content

[Snowbridge v2] storage optimization: MessageLeaves not stored but built in runtime api #7971

@acatangiu

Description

@acatangiu
          can we kill `MessageLeaves` here so that it never makes it to storage? it can be rebuilt in the generate_proof runtime-api call from `Messages`.
			<frame_system::Pallet<T>>::deposit_log(digest_item);
			MessageLeaves::<T>::kill();

Originally posted by @acatangiu in #7402 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions