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

Composer DON #10666

Closed
wants to merge 57 commits into from
Closed

Composer DON #10666

wants to merge 57 commits into from

Conversation

vreff
Copy link
Contributor

@vreff vreff commented Sep 15, 2023

Composability work, End-to-End.

Deployed Mercury registry contract working: https://goerli.arbiscan.io/address/0x84Ad37F134d11C39Dc99664b10ed73229c1BcE94

Deployed Cross-chain balance monitor contracts working:
Sender: https://goerli.arbiscan.io/address/0x11C2A753A7B8d02Fab6d78a2BBAC32A35f5E57b2
Receiver: https://sepolia.etherscan.io/address/0x19397269804a4bad70f4ea2080dc1d406cebf4d9

To run:

$ cd ~/chainlink && docker build -t chainlink:local -f ./core/chainlink.Dockerfile .
$ cd ~/chainlink/core/scripts/chaincli && go build
$ ./chaincli keeper registry deploy
$ ./chaincli bootstrap
$ ./chaincli keeper launch-and-test

With the default .env.example file from chaincli on arbitrum gorli + these environment variables:

USE_COMPOSER=true
USE_CROSS_CHAIN_COMPOSER=true
UPKEEP_PRIVILEGE_MANAGER=[ADDRESS_TO_LOCAL_PRIVATE_KEY]
UPKEEP_MERCURY=true
UPKEEP_TYPE=1
MODE=1
MAX_REVERT_DATA_SIZE=1000000
MERCURY_URL=[FILL_IN]
MERCURY_ID=[FILL_IN]
MERCURY_KEY=[FILL_IN]
MERCURY_CRED_NAME=cred1
MERCURY_FEEDS=0x123,0x456
MERCURY_FEED_NAMES=BTC/USD,ETH/USD
MERCURY_FEED_STALENESS=30,30
MERCURY_FEED_DEVIATION=10000,10000

COMPOSER_SCRIPT_HASH=https://pin.ski/44Zw37J // example script on Pinata

CROSS_CHAIN_ROUTER=0x88E492127709447A5ABEFdaB8788a15B4567589E
CROSS_CHAIN_BNM_COIN=0x0579b4c1C8AcbfF13c6253f1B10d66896Bf399Ef
CROSS_CHAIN_SELECTOR=16015286601757825753
CROSS_CHAIN_RECEIVER=0x619D511e984A29756B6Bc25927D840B97FfD537C
CROSS_CHAIN_RPC_URL=https://ethereum-sepolia.publicnode.com

More example scripts:

vreff and others added 30 commits August 24, 2023 15:28
@github-actions
Copy link
Contributor

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 17.7% 17.7% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@vreff vreff changed the title Add composer contracts and logic apart from Gateway call. Add composer contracts and logic apart from Gateway call (do-not-merge) Sep 19, 2023
Base automatically changed from feature/VRF-567-mercury-registry to develop September 20, 2023 14:16
@vreff vreff changed the title Add composer contracts and logic apart from Gateway call (do-not-merge) Composer DON Oct 18, 2023
@github-actions
Copy link
Contributor

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 10.7% 10.7% Coverage on New Code (is less than 75%)
Failed condition 3.0% 3.02% Duplicated Lines (%) on New Code (is greater than 3%)

See analysis details on SonarQube

Copy link
Contributor

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 25, 2023
@github-actions github-actions bot closed this Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants