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

Check for block receipts support should also check if EIP 1898 is supported #5406

Merged
merged 3 commits into from
May 20, 2024

Conversation

incrypto32
Copy link
Contributor

No description provided.

Copy link
Contributor

@zorancv zorancv left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -109,7 +109,8 @@ impl EthereumAdapter {

// Check if the provider supports `getBlockReceipts` method.
let supports_block_receipts =
Self::check_block_receipt_support(web3.clone(), &provider, &logger).await;
Self::check_block_receipt_support(web3.clone(), &provider, supports_eip_1898, &logger)
Copy link
Contributor

Choose a reason for hiding this comment

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

worth adding some tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mangas just added the tests, could you review?

Copy link
Contributor

Choose a reason for hiding this comment

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

looks good, thanks for adding the tests

@incrypto32 incrypto32 self-assigned this May 17, 2024
@incrypto32 incrypto32 requested a review from mangas May 17, 2024 15:18
@incrypto32 incrypto32 merged commit f91a587 into master May 20, 2024
7 checks passed
@incrypto32 incrypto32 deleted the krishna/fix-receipts-2 branch May 20, 2024 08:56
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.

None yet

3 participants