chainlink icon indicating copy to clipboard operation
chainlink copied to clipboard

OCR2VRF Coordinator Optimizations

Open vreff opened this issue 3 years ago • 3 comments

This PR adds the following to the coordinator:

  • Adds a block cache that can store items such as blocks and callbacks with a time-based eviction window.
  • Uses the block cache to filter blocks and callbacks.
  • No longer stores a block as in-flight if the VRF proof is 0.
  • Adds batching (max 5,000,000 gas per batch as a default).
  • Adds logic for adding blocks and callbacks to a batch.

vreff avatar Sep 12 '22 21:09 vreff

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

github-actions[bot] avatar Sep 12 '22 21:09 github-actions[bot]

Solana Smoke Test Results

1 tests   1 :heavy_check_mark:  4m 42s :stopwatch: 1 suites  0 :zzz: 1 files    0 :x:

Results for commit 10dcc812.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 12 '22 22:09 github-actions[bot]

EVM Smoke Test Results

61 tests   31 :heavy_check_mark:  6m 32s :stopwatch:   1 suites  30 :zzz:   1 files      0 :x:

Results for commit 10dcc812.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 12 '22 22:09 github-actions[bot]