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

feat: add signature function to TxDeposit #174

Conversation

caglaryucekaya
Copy link
Contributor

Motivation

optimism_deposit_tx_signature function in reth should be moved to op-alloy as part of an issue.

paradigmxyz/reth#11781

Solution

An associated function signature is added to the TxDeposit struct.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@caglaryucekaya caglaryucekaya changed the title add signature function to TxDeposit feat: add signature function to TxDeposit Oct 16, 2024
@mattsse mattsse added this pull request to the merge queue Oct 16, 2024
Merged via the queue into alloy-rs:main with commit 9fd8a65 Oct 16, 2024
19 checks passed
@caglaryucekaya caglaryucekaya deleted the add-optimism-deposit-tx-signature-function branch October 16, 2024 20:19
refcell pushed a commit that referenced this pull request Oct 22, 2024
<!--
Thank you for your Pull Request. Please provide a description above and
review
the requirements below.

Bug fixes and new features should include tests.

Contributors guide:
https://github.com/alloy-rs/core/blob/main/CONTRIBUTING.md

The contributors guide includes instructions for running rustfmt and
building the
documentation.
-->

<!-- ** Please select "Allow edits from maintainers" in the PR Options
** -->

## Motivation
`optimism_deposit_tx_signature` function in `reth` should be moved to
`op-alloy` as part of an
[issue](paradigmxyz/reth#11781).

paradigmxyz/reth#11781

<!--
Explain the context and why you're making that change. What is the
problem
you're trying to solve? In some cases there is not a problem and this
can be
thought of as being the motivation for your change.
-->

## Solution
An associated function `signature` is added to the `TxDeposit` struct.

<!--
Summarize the solution and provide any necessary context needed to
understand
the code change.
-->

## PR Checklist

- [ ] Added Tests
- [ ] Added Documentation
- [ ] Breaking changes
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.

2 participants