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

add public methods #16

Merged
merged 4 commits into from
Jul 23, 2024
Merged

add public methods #16

merged 4 commits into from
Jul 23, 2024

Conversation

selaz
Copy link
Contributor

@selaz selaz commented Jul 23, 2024

  • Change "hash" method to public allows to get txid offline, before sending

  • Adding the getUnsigned method allows you to get a serialized unsigned transaction. This may be needed, for example, to access an Gas Price Oracle in the optimism network

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10066576119

Details

  • 11 of 22 (50.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-6.9%) to 91.2%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Ethereum/EIP1559Transaction.php 11 13 84.62%
src/Ethereum/Transaction.php 0 9 0.0%
Totals Coverage Status
Change from base Build 9420179277: -6.9%
Covered Lines: 114
Relevant Lines: 125

💛 - Coveralls

@kornrunner kornrunner merged commit 1780e62 into kornrunner:main Jul 23, 2024
6 of 7 checks passed
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.

3 participants