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

Remove transaction_hash from getBlockWithReceipts #2294

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

IronGauntlets
Copy link
Contributor

starknet_getBlockWithReceipts was added in 0.7.x rpc spec and its array of transaction doesn't contain transaction_hash instead it contains the transaction_hash.

@IronGauntlets IronGauntlets enabled auto-merge (squash) November 28, 2024 19:01
@IronGauntlets IronGauntlets force-pushed the IronGauntlets/fix-getBlockWithReceipts branch from 4b94597 to d384bed Compare November 28, 2024 19:03
@IronGauntlets IronGauntlets enabled auto-merge (squash) November 28, 2024 19:03
@IronGauntlets IronGauntlets force-pushed the IronGauntlets/fix-getBlockWithReceipts branch from d384bed to 2001756 Compare November 28, 2024 19:05
@IronGauntlets IronGauntlets enabled auto-merge (squash) November 28, 2024 19:06
`starknet_getBlockWithReceipts` was added in 0.7.x rpc spec, and its
array of `transaction` doesn't contain `transaction_hash` instead its
receipt contains the `transaction_hash`.
@wojciechos wojciechos force-pushed the IronGauntlets/fix-getBlockWithReceipts branch from 2001756 to 5ceda46 Compare November 29, 2024 08:25
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.44%. Comparing base (d9dcf6c) to head (5ceda46).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2294      +/-   ##
==========================================
+ Coverage   75.41%   75.44%   +0.03%     
==========================================
  Files         107      107              
  Lines       11404    11406       +2     
==========================================
+ Hits         8600     8605       +5     
+ Misses       2151     2149       -2     
+ Partials      653      652       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@pnowosie pnowosie left a comment

Choose a reason for hiding this comment

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

starknet_getBlockWithReceipts was added in 0.7.x rpc spec and its array of transaction doesn't contain transaction_hash instead it contains the transaction_hash.

I understand the PR's title but not this comment 🤔
Otherwise 👍

@IronGauntlets IronGauntlets merged commit c3170e1 into main Nov 29, 2024
13 checks passed
@IronGauntlets IronGauntlets deleted the IronGauntlets/fix-getBlockWithReceipts branch November 29, 2024 09:42
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