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

Fix nonce zerohexbytes regression #260

Merged
merged 2 commits into from
Jun 23, 2022
Merged

Fix nonce zerohexbytes regression #260

merged 2 commits into from
Jun 23, 2022

Conversation

Nana-EC
Copy link
Collaborator

@Nana-EC Nana-EC commented Jun 23, 2022

Signed-off-by: Nana-EC [email protected]

Description:
There was a regression that lost the use of the EthImpl.zeroHex8Byte
Restore this

  • Update eth.ts to use EthImpl.zeroHex8Byte
  • Update eth.spec.ts to use EthImpl.zeroHex8Byte

Related issue(s):

Fixes #149

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@codecov-commenter
Copy link

Codecov Report

Merging #260 (78fd7a2) into main (2b1eaf9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #260   +/-   ##
=======================================
  Coverage   58.35%   58.35%           
=======================================
  Files           9        9           
  Lines         742      742           
  Branches      111      111           
=======================================
  Hits          433      433           
  Misses        283      283           
  Partials       26       26           
Impacted Files Coverage Δ
packages/relay/src/lib/eth.ts 58.28% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b1eaf9...78fd7a2. Read the comment docs.

@Nana-EC Nana-EC added bug Something isn't working P1 labels Jun 23, 2022
@Nana-EC Nana-EC added this to the 0.3.0 milestone Jun 23, 2022
natanasow
natanasow previously approved these changes Jun 23, 2022
Copy link
Collaborator

@natanasow natanasow left a comment

Choose a reason for hiding this comment

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

LGTM

nit: the constant can be used here as well

shemnon
shemnon previously approved these changes Jun 23, 2022
@Nana-EC Nana-EC dismissed stale reviews from shemnon and natanasow via 1dcfcb4 June 23, 2022 17:43
@Nana-EC Nana-EC requested a review from shemnon June 23, 2022 17:43
@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Nana-EC Nana-EC merged commit c0ca8d2 into main Jun 23, 2022
@Nana-EC Nana-EC deleted the 149-fix-regerssion branch June 23, 2022 18:02
Nana-EC added a commit that referenced this pull request Jun 23, 2022
* Fix nonce zerohexbytes regression

There was a regression that lost the use of the `EthImpl.zeroHex8Byte`
Restore this
- Update `eth.ts` to use `EthImpl.zeroHex8Byte`
- Update `eth.spec.ts` to use `EthImpl.zeroHex8Byte`

Signed-off-by: Nana-EC <[email protected]>
Nana-EC added a commit that referenced this pull request Jun 23, 2022
…de 500 (#265)

* Fix block root properties default hash formats (#263)

Cherry-picks #260
Cherry-picks #262 
Cherry-picks #263 

Signed-off-by: Nana-EC <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalid block nonce
4 participants