Skip to content

Question about ApplyBackend for v1.0.0 #270

@mrLSD

Description

@mrLSD

Question

In the previous versions (for example v0.41) was trait:

/// EVM backend that can apply changes.
pub trait ApplyBackend {
	/// Apply given values and logs at backend.
	fn apply<A, I, L>(&mut self, values: A, logs: L, delete_empty: bool)
	where
		A: IntoIterator<Item = Apply<I>>,
		I: IntoIterator<Item = (H256, H256)>,
		L: IntoIterator<Item = Log>;
}

Current version v1.0.0-alpha.2 completely rafactored.

❓ Question is: as far as we will need to transfer from v0.x ➡️ v1.0 we need to understand clearly how to do that. Actually for ApplyBackend it's unclear. It seems apply logic was completely changed. I would be pleased for some advice on that point.

Metadata

Metadata

Assignees

No one assigned

    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