-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BCF-3269] - Contract Reader Batch Call #13635
Conversation
2858a55
to
fd16e08
Compare
fd16e08
to
09d1533
Compare
09d1533
to
742d79a
Compare
e534f6e
to
eafb642
Compare
fbed94f
to
03da86b
Compare
return c.bc.batchCallDynamicLimitRetries(ctx, blockNumber, reqs) | ||
} | ||
|
||
type defaultEvmBatchCaller struct { |
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.
batchCaller and its tests are identical to what CCIP is currently using, with some adjustments to make it work better with Chain Reader interface
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.
This parallel batch caller is something now used by at least ChainReader
, CCIP
, Automation
, and Atlas
with various minor differences. We should make a common component to do this with various post-processing hooks for the batch results. Then we wouldn't have so much code duplication.
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.
I think that the work to do this is way greater than maintaining two batchCallers since batchCaller isn't something that is frequently updated
03da86b
to
d637399
Compare
d637399
to
f4815f1
Compare
715c38e
to
015c137
Compare
2a1a846
to
a843b27
Compare
…latestvalue # Conflicts: # core/scripts/go.mod # core/scripts/go.sum # core/services/relay/evm/chain_reader.go # core/services/relay/evm/evmtesting/chain_reader_interface_tester.go # go.mod # go.sum # integration-tests/go.mod # integration-tests/go.sum # integration-tests/load/go.mod # integration-tests/load/go.sum
Quality Gate passedIssues Measures |
Ticket
Requires Dependencies
Common
Solana