-
Notifications
You must be signed in to change notification settings - Fork 41
Update ERC7947 interface #154
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
Conversation
Hrom131
commented
Aug 11, 2025
- Since this PR suggests a bug fix, the tests have been added and the coverage is 100%.
- Since this PR introduces a new feature, the update has been discussed in an Issue or with the team.
- This PR is just a minor change, like a typo fix.
Arvolear
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #154 +/- ##
=========================================
Coverage ? 99.94%
=========================================
Files ? 49
Lines ? 3401
Branches ? 402
=========================================
Hits ? 3399
Misses ? 2
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* added bitcoin libs * renamed BitcoinHelper to EndianConverter * refactored natspec * review fixes coverage 100% * BtcTxParser -> TxParser * updated readme * refactored tests for txParser * fixed parseBlockHeader LE numbers * refactored endianConverter * added bytes to bytes conversion in EndianConverter * cleaned headers data for tests * review fixes * package json fix * refactored parseCuint in TxParser * refactored naming in EndianConverter * natspec EndianConverter * removed convertion function from bytes to uint and vice versa * covereage for EndianConverter * refactored _reverseUint128 in EndianConverter * fixed pragma solidity * Update ERC7947 interface (#154) * Update ERC7947 interface * Fix unit tests * typo * added check for insertion attack in TxMerkleProof; added isBitcoinTransaction and parseCuintMemory to TxParser * utilized addHexPrefix * TxMerkleProof now uses txIndex to calculate hashing directions * fixed typo * consistency in codestyle * updated version to 3.2.0 * removed unused test case * removed excess comment * fixed natspec * refactored helpers * added reference for insertion attack * update readme --------- Co-authored-by: Oleh Komendant <44612825+Hrom131@users.noreply.github.com> Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
* Added bitcoin libs (#153) * added bitcoin libs * renamed BitcoinHelper to EndianConverter * refactored natspec * review fixes coverage 100% * BtcTxParser -> TxParser * updated readme * refactored tests for txParser * fixed parseBlockHeader LE numbers * refactored endianConverter * added bytes to bytes conversion in EndianConverter * cleaned headers data for tests * review fixes * package json fix * refactored parseCuint in TxParser * refactored naming in EndianConverter * natspec EndianConverter * removed convertion function from bytes to uint and vice versa * covereage for EndianConverter * refactored _reverseUint128 in EndianConverter * fixed pragma solidity * Update ERC7947 interface (#154) * Update ERC7947 interface * Fix unit tests * typo * added check for insertion attack in TxMerkleProof; added isBitcoinTransaction and parseCuintMemory to TxParser * utilized addHexPrefix * TxMerkleProof now uses txIndex to calculate hashing directions * fixed typo * consistency in codestyle * updated version to 3.2.0 * removed unused test case * removed excess comment * fixed natspec * refactored helpers * added reference for insertion attack * update readme --------- Co-authored-by: Oleh Komendant <44612825+Hrom131@users.noreply.github.com> Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com> * remove some contracts * removed compilation for pragma solidity 0.7.6 * removed bignumber.js from dependencies * Update AAccountRecovery contract * update changelog, revert version --------- Co-authored-by: Yuliia Aritkulova <94910987+aritkulova@users.noreply.github.com> Co-authored-by: Oleh Komendant <44612825+Hrom131@users.noreply.github.com> Co-authored-by: Oleh Komendant <oleg02kom@gmail.com>