Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User receipt Serdebincodecompat for chain type serde #14669

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Haxry
Copy link
Contributor

@Haxry Haxry commented Feb 24, 2025

closes #14626

Comment on lines 646 to 651
ExecutionOutcome {
bundle: original.bundle.clone(),
receipts: converted_receipts,
requests: original.requests.clone(),
first_block: original.first_block,
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these clones are a bit expensive,

perhaps the better approach long term is to alos introduce a dedicated bincode compat type for ExecutionOutCome?

then we can also mostly leave this untouched and can use that type for the Chain type?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that seems more accurate !!
i'll change it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User receipt Serdebincodecompat for chain type serde
2 participants