We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Transaction::to_input
consensus, eips, genesis
currently input returns a slice even though we know the tx types internally always use Bytes, which makes it expensive to obtain a Bytes instance.
Bytes
we should add
fn to_input(&self) -> Bytes
for this, this way cloning the input is cheap
cc @tcoratger
No response
The text was updated successfully, but these errors were encountered:
#1487 ?
Sorry, something went wrong.
makes sense although this wouldn't work for transactions (non-existing ones) that don't have input. but I guess we can make that assumption
No branches or pull requests
Component
consensus, eips, genesis
Describe the feature you would like
currently input returns a slice even though we know the tx types internally always use
Bytes
, which makes it expensive to obtain aBytes
instance.we should add
for this, this way cloning the input is cheap
cc @tcoratger
Additional context
No response
The text was updated successfully, but these errors were encountered: