-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional WS URL for RPCs to unblock new chain integration. Charry-picks from: smartcontractkit/chainlink#14534 smartcontractkit/chainlink#14364 smartcontractkit/chainlink#14929 --------- Co-authored-by: Joe Huang <[email protected]> Co-authored-by: Adam Hamrick <[email protected]> Co-authored-by: Chunkai Yang <[email protected]>
- Loading branch information
1 parent
4653d09
commit 228298c
Showing
17 changed files
with
371 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Add config validation so it requires ws url when http polling disabled #bugfix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
- register polling subscription to avoid subscription leaking when rpc client gets closed. | ||
- add a temporary special treatment for SubscribeNewHead before we replace it with SubscribeToHeads. Add a goroutine that forwards new head from poller to caller channel. | ||
- fix a deadlock in poller, by using a new lock for subs slice in rpc client. | ||
#bugfix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
Make websocket URL `WSURL` for `EVM.Nodes` optional, and apply logic so that: | ||
* If WS URL was not provided, SubscribeFilterLogs should fail with an explicit error | ||
* If WS URL was not provided LogBroadcaster should be disabled | ||
#nops |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,8 @@ jobs: | |
if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' | ||
needs: [ changes ] | ||
environment: integration | ||
outputs: | ||
tag: ${{ steps.build-test-image.outputs.test_image_tag }} | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -136,11 +138,14 @@ jobs: | |
repository: smartcontractkit/ccip | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
- name: Build Test Image | ||
id: build-test-image | ||
if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' | ||
uses: smartcontractkit/.github/actions/ctf-build-test-image@a5e4f4c8fbb8e15ab2ad131552eca6ac83c4f4b3 # [email protected] | ||
with: | ||
# we just want to build the load tests | ||
suites: ccip-tests/load ccip-tests/smoke | ||
repository: chainlink-ccip-tests | ||
tag: ${{ github.sha }} | ||
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} | ||
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }} | ||
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} | ||
|
@@ -249,7 +254,7 @@ jobs: | |
env: | ||
BASE64_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }} | ||
TEST_BASE64_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }} | ||
ENV_JOB_IMAGE: ${{ env.ENV_JOB_IMAGE_BASE }}:${{ github.sha }} | ||
ENV_JOB_IMAGE: ${{ env.ENV_JOB_IMAGE_BASE }}:${{ needs.build-test-image.outputs.tag }} | ||
TEST_SUITE: smoke | ||
TEST_ARGS: -test.timeout 30m | ||
TEST_LOG_LEVEL: info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.