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

Override RpcDefaultBatchSize for Polygon #11962

Merged
merged 4 commits into from
Feb 8, 2024

Conversation

reductionista
Copy link
Contributor

Default batch size setting in geth is 250, but for polygon's client bor it's 100 Setting it to 250 on our side causes bor to give invalid responses back

Default batch size setting in geth is 250, but for polygon's client bor it's 100
Setting it to 250 on our side causes bor to give invalid responses back
Copy link
Contributor

github-actions bot commented Feb 7, 2024

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

github-actions bot commented Feb 7, 2024

I see that you haven't updated any README files. Would it make sense to do so?

makramkd
makramkd previously approved these changes Feb 8, 2024
@@ -4,6 +4,7 @@ NoNewHeadsThreshold = '6m'
MinIncomingConfirmations = 1
LogPollInterval = '30s'
RPCBlockQueryDelay = 15
RPCDefaultBatchSize = 100
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might not be relevant since we lower the limit but it would be nice to confirm that Polygon zkEVM behaves the same way as L1 since it's a rollup and it might deviate from the original RPC client.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

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
No Duplication information No Duplication information

@makramkd makramkd added this pull request to the merge queue Feb 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2024
@mateusz-sekara mateusz-sekara added this pull request to the merge queue Feb 8, 2024
Merged via the queue into develop with commit aab449c Feb 8, 2024
93 checks passed
@mateusz-sekara mateusz-sekara deleted the polygon_default_rpc_batch_size branch February 8, 2024 13:45
mateusz-sekara added a commit to smartcontractkit/ccip that referenced this pull request Feb 8, 2024
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
* Override RpcDefaultBatchSize for Polygon

Default batch size setting in geth is 250, but for polygon's client bor it's 100
Setting it to 250 on our side causes bor to give invalid responses back

* fix test

* fix more tests

---------

Co-authored-by: Makram Kamaleddine <[email protected]>
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.

4 participants