Skip to content

Commit

Permalink
Prod sync (#5100)
Browse files Browse the repository at this point in the history
* fix: account for decimal precision differences (#4782)

* fix: account for decimal precision differences

* build: bump sdk core

* fix: no multiply by 1e18 (#4822)

* build: bump sdk core (#4826)

* chore: add routers

* fix: init script for xTokens (#4838)

* fix: init

* fix: mainnet fix && removed errors

* fix: include all chains (#4851)

* Chore: add alcx to test net (#4833)

* config: Next tokens

* feat: changed next assets

* chore: add alcx

Signed-off-by: hesnicewithit <[email protected]>

---------

Signed-off-by: hesnicewithit <[email protected]>
Co-authored-by: Layne Haber <[email protected]>
Co-authored-by: just-a-node <[email protected]>

* feat: add EURe to testnet allowlist (#4795)

* feat: add EURe to testnet allowlist

* Update production.ts

* Update production.ts

---------

Co-authored-by: Prathmesh Khandelwal <[email protected]>

* feat: add BTRST data (#4773)

* feat: add BTRST data

* add cap

* this is only a xMonoTest test (#4798)

Co-authored-by: Prathmesh <[email protected]>

* fix: fetch strategy - fallback

* chore: rebuild graph-client

* Merge pull request Whitelist NEXT xerc20s (#4855)

* feat: add testnet NEXT xerc20

* feat: add mainnet NEXT xerc20

* fix: update testnet next

* fix: update mainnet next

* fix: uncomment

* feat: update next contracts and increase cap

* feat: new xerc20 for dappradar testnet (#4858)

* Revert "Merge branch 'main' into testnet-prod"

This reverts commit 00f4318, reversing
changes made to 0c08528.

* fix: merge changes to sdk and init script from main

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* ci: deploy terraform state changes (#4907)

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

* fix: control flow (#4911)

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* Fix/tf version bump (#4914)

* fix: bump tf version and fix warning

* fix: terraform version bump

* Fix/merge conflict testnet prod resolution (#4918)

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

* Fix/tf version bump (#4914)

* fix: bump tf version and fix warning

* fix: terraform version bump

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: terraform version (#4916)

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

* Fix/tf version bump (#4914)

* fix: bump tf version and fix warning

* fix: terraform version bump

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* config: add another zksync provider

* config: add secondary zksync provider everywhere

* fix: try runner space clean up and fix smoke tests

* fix: gracefully handle null array value

* config: remove misbehaving chain from router

* fix: disable consensys and zkevm nets on testnet

* fix: temp router bypass for zkevm and consensys

* fix: router execute bypass zkevm and consensys

* fix: bumpTransfer task (#4950)

* fix: One Inch authorization added

* fix: added checks

* 4927-One Inch config added to chain-abstraction SDK (#4955)

* fix: One Inch authorization added

* fix: added checks

* Update typo

Co-authored-by: Rahul Sethuram <[email protected]>

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: bump version

* feat: 4708 protocol backend tasks for integration test (#4800)

* feat: add devnet config

* feat: tenderly devnet setup (#4722)

* feat: create deploy scripts for devnet

* feat: get latest synced blocknumber

* fix: parse the result

* feat: create graph-node dockers

* feat: create all-in script for devnets

* feat: deploy chains, deploy contracts, deploy subgraph

* feat: create a separate docker-compose file

* feat: add cartographer-api and database

* chore: clean up

* feat: 4718 smart contracts deploy dev net (#4757)

* feat: install forge-deploy npm

* fix: remove forge-deploy npm

* feat: forge-deploy npm

* feat: forge deploy basically works

* feat: basically works

* feat: remove forge-deploy

* feat: deploy forge

* forge install: solidity-stringutils

* feat: solidity-stingutils

* feat: messaging & connext deploy

* feat: use gnosis instead of arbitrum

* feat: multisend contract deploy

* feat: deploy relayer proxy hub contract

* chore: yarn.lock

* feat: init

* feat: init messaging layer

* feat: agent setup

* feat: initialize assets

* feat: add devnet deploy commands to sh

* feat: use gnosis instead of arbitrum

* feat: contract deploy and init works in sh

* feat: export deployments works

* feat: devnet subgraph build works

* feat: devnet subgraph deployed

* feat: use local postgres db for carto of devnet

* feat: devnet graph-client build

* chore: rebuild

* chore: graph-client build

* fix: add setup step to ingest mainnet db data

* fix: package name

* fix: resolve errors and warnings

* fix: wrong command

* feat: use a separate docker-compose

* fix: update off chain docker local setup

* fix: update db port

* fix: add dockerfile for carto image for local

* fix: docker entry point for local carto poller

* fix: use db image with cron setup

* fix: setup db schema

* fix: update lh docker build path

* chore: delete

* feat: we want a fresh devnet

* feat: remove previous deployments

* feat: setup chains with the RPC urls

* feat: use a separate one

* feat: create template files

* feat: add `devnet` to network type

* fix: a couple of syntax errors

* feat: txservice get deployments

* fix: typo

* feat: replace

* feat: put the network param

* fix: relayer config

* feat: add NETWORK variable

* fix: subgraph deploy script

* fix: rebuild graph-client

* feat: subgraph adapter updated

* feat: add subgraphPrefix

* feat: use domain

* feat: update tenderly cli before spawn

* fix: deploy script

* fix: dbmate up

* fix: devnet deploy script

* feat: hardhat-tenderly setup

* fix: contracts build

* feat: generate config in integration package

* fix: add params to AdminHubConnector

* feat: devnet messaging config

* feat: devnet hh config

* feat: hh deploy script to devnet

* fix: export separately devnet:mainnet

* fix: txservice get deployed contracts from devnet

* fix: devnet init script

* fix: devnet json name

* fix: subgraph devnet deploy

* fix: devnet init command

* fix: build

* fix: test

* feat: implement a method

* feat: update config file

* fix: lint

* fix: update a script name

* feat: update bash script

* fix: incorrect method of JSON

* fix: devnet init

* fix: setup docker after contract deployment

* fix: devnet deploy command

* fix: automatic verify

* fix: speed up deploy

* chore: spoke connector for lighthouse

* fix: spoke connector address

* fix: retry deploy command

* feat: anvil docker image

* feat: docker-compose for local network

* fix: rename tenderly to devnet

* fix: anvil disable --no-mine

* fix: rename local test sh

* feat: local network setup

* fix: add local domain

* fix: deploy script

* fix: local export

* fix: clean up devnet commands

* refactor: update deploy script

* feat: devnet deploy & init works

* feat: add scripts

* fix: update anvil docker image

* feat: progress

* chore: relevant settings

* fix: yarn build:all

* fix: subgraph deploy to local

* fix: typo

* fix: create with version label

* fix: mapping

* fix: prefix issue

* chore: replace "local"

* feat: graphclient rebuild

* chore: yarn.lock

* feat: test router, sequencer, relayer

* fix: dbmate up

* fix: subgraph adapter

* chore: add mac setup

* fix: chain setup for local spec

* fix: default variables for local test

* feat: skipping action

* fix: setup router

* fix: hardhat to anvil

* feat: redeployments

* fix: initializeRouter on routerAccount

* feat: no need to setup asset here

* feat: pre-xcallIntoLocal

* chore: add abi for spoke and hub domain

* chore: add connectors interface

* feat: updates for onchain setup for slow path

* chore: update the imports for spoke and hub connector

* chore: update the implementation

* fix: viem of pancake-sdk downgrade

* feat: clean up xcall

* fix: update e2e local bring up steps

* feat: before approve

* feat: horray, xcallIntoLocal

* feat: create onchain methods

* fix: typo

* fix: dbmate

* feat: spokeRootSent

* feat: AdminMainnetSpokeConnector

* chore: it changes every time

* feat: send / propagate local root

* feat: local test propagate works

* fix: deploy script delay blocks

* feat: receive aggregated root on spoke

* fix: setup same local / adopted asset

* fix: must be owner

* chore: local.init.json

* fix: from address

* feat: xcall sent

* feat: message queue setup

* fix: cleanup

* feat: process amb

* fix: receiveSpokeRootOnHub

* fix: graph node url

* fix: typo

* fix: subgraph prefix

* build: fix build:all

* feat: local networks for conversionRate

* feat: pre happy path

* feat: ensure automine is off

* fix: anvil docker block time

* fix: missing first one

* fix: db url

* feat: hub domain

* fix: missing the entry

* feat: wow, both path working

* feat: anvil block time 10s

* feat: relayer config for local test

* feat: need deployments for build

---------

Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>

* fix: pull from ghcr

* chore: use the constant for db_image (#4963)

* fix: try runner space clean up and fix smoke tests

* fix: 1inch api for quote (#4964)

* chore: disable smoke test on ci/cd for main

* chore: fix smoke-test

* chore: fix config setup step

* fix: send to relayer with correct domain (#4978)

* feat: flow logs + networking improvements

* fix: roll back minor changes

* fix: expire images but keep 20 at least

* fix: fix lifecycle priority

* chore: update config.local.json

* tag images with the branch name

* fix: add branch name to images

* fix:chain-abstraction:bump (#4985)

* fix: better lifecycle policy

* add testnet-prod lcp

* fix: vpc flow logs improvements

* feat: split flow logs between private and public

* fix: private subnet for router web3signer

* chore: graphclient update

* chore: config updates

* fix: update alchemy keys for opt and arb

* testnet prod sync (#5005)

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

* Fix/tf version bump (#4914)

* fix: bump tf version and fix warning

* fix: terraform version bump

* fix: bumpTransfer task (#4950)

* fix: One Inch authorization added

* fix: added checks

* 4927-One Inch config added to chain-abstraction SDK (#4955)

* fix: One Inch authorization added

* fix: added checks

* Update typo

Co-authored-by: Rahul Sethuram <[email protected]>

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: bump version

* feat: 4708 protocol backend tasks for integration test (#4800)

* feat: add devnet config

* feat: tenderly devnet setup (#4722)

* feat: create deploy scripts for devnet

* feat: get latest synced blocknumber

* fix: parse the result

* feat: create graph-node dockers

* feat: create all-in script for devnets

* feat: deploy chains, deploy contracts, deploy subgraph

* feat: create a separate docker-compose file

* feat: add cartographer-api and database

* chore: clean up

* feat: 4718 smart contracts deploy dev net (#4757)

* feat: install forge-deploy npm

* fix: remove forge-deploy npm

* feat: forge-deploy npm

* feat: forge deploy basically works

* feat: basically works

* feat: remove forge-deploy

* feat: deploy forge

* forge install: solidity-stringutils

* feat: solidity-stingutils

* feat: messaging & connext deploy

* feat: use gnosis instead of arbitrum

* feat: multisend contract deploy

* feat: deploy relayer proxy hub contract

* chore: yarn.lock

* feat: init

* feat: init messaging layer

* feat: agent setup

* feat: initialize assets

* feat: add devnet deploy commands to sh

* feat: use gnosis instead of arbitrum

* feat: contract deploy and init works in sh

* feat: export deployments works

* feat: devnet subgraph build works

* feat: devnet subgraph deployed

* feat: use local postgres db for carto of devnet

* feat: devnet graph-client build

* chore: rebuild

* chore: graph-client build

* fix: add setup step to ingest mainnet db data

* fix: package name

* fix: resolve errors and warnings

* fix: wrong command

* feat: use a separate docker-compose

* fix: update off chain docker local setup

* fix: update db port

* fix: add dockerfile for carto image for local

* fix: docker entry point for local carto poller

* fix: use db image with cron setup

* fix: setup db schema

* fix: update lh docker build path

* chore: delete

* feat: we want a fresh devnet

* feat: remove previous deployments

* feat: setup chains with the RPC urls

* feat: use a separate one

* feat: create template files

* feat: add `devnet` to network type

* fix: a couple of syntax errors

* feat: txservice get deployments

* fix: typo

* feat: replace

* feat: put the network param

* fix: relayer config

* feat: add NETWORK variable

* fix: subgraph deploy script

* fix: rebuild graph-client

* feat: subgraph adapter updated

* feat: add subgraphPrefix

* feat: use domain

* feat: update tenderly cli before spawn

* fix: deploy script

* fix: dbmate up

* fix: devnet deploy script

* feat: hardhat-tenderly setup

* fix: contracts build

* feat: generate config in integration package

* fix: add params to AdminHubConnector

* feat: devnet messaging config

* feat: devnet hh config

* feat: hh deploy script to devnet

* fix: export separately devnet:mainnet

* fix: txservice get deployed contracts from devnet

* fix: devnet init script

* fix: devnet json name

* fix: subgraph devnet deploy

* fix: devnet init command

* fix: build

* fix: test

* feat: implement a method

* feat: update config file

* fix: lint

* fix: update a script name

* feat: update bash script

* fix: incorrect method of JSON

* fix: devnet init

* fix: setup docker after contract deployment

* fix: devnet deploy command

* fix: automatic verify

* fix: speed up deploy

* chore: spoke connector for lighthouse

* fix: spoke connector address

* fix: retry deploy command

* feat: anvil docker image

* feat: docker-compose for local network

* fix: rename tenderly to devnet

* fix: anvil disable --no-mine

* fix: rename local test sh

* feat: local network setup

* fix: add local domain

* fix: deploy script

* fix: local export

* fix: clean up devnet commands

* refactor: update deploy script

* feat: devnet deploy & init works

* feat: add scripts

* fix: update anvil docker image

* feat: progress

* chore: relevant settings

* fix: yarn build:all

* fix: subgraph deploy to local

* fix: typo

* fix: create with version label

* fix: mapping

* fix: prefix issue

* chore: replace "local"

* feat: graphclient rebuild

* chore: yarn.lock

* feat: test router, sequencer, relayer

* fix: dbmate up

* fix: subgraph adapter

* chore: add mac setup

* fix: chain setup for local spec

* fix: default variables for local test

* feat: skipping action

* fix: setup router

* fix: hardhat to anvil

* feat: redeployments

* fix: initializeRouter on routerAccount

* feat: no need to setup asset here

* feat: pre-xcallIntoLocal

* chore: add abi for spoke and hub domain

* chore: add connectors interface

* feat: updates for onchain setup for slow path

* chore: update the imports for spoke and hub connector

* chore: update the implementation

* fix: viem of pancake-sdk downgrade

* feat: clean up xcall

* fix: update e2e local bring up steps

* feat: before approve

* feat: horray, xcallIntoLocal

* feat: create onchain methods

* fix: typo

* fix: dbmate

* feat: spokeRootSent

* feat: AdminMainnetSpokeConnector

* chore: it changes every time

* feat: send / propagate local root

* feat: local test propagate works

* fix: deploy script delay blocks

* feat: receive aggregated root on spoke

* fix: setup same local / adopted asset

* fix: must be owner

* chore: local.init.json

* fix: from address

* feat: xcall sent

* feat: message queue setup

* fix: cleanup

* feat: process amb

* fix: receiveSpokeRootOnHub

* fix: graph node url

* fix: typo

* fix: subgraph prefix

* build: fix build:all

* feat: local networks for conversionRate

* feat: pre happy path

* feat: ensure automine is off

* fix: anvil docker block time

* fix: missing first one

* fix: db url

* feat: hub domain

* fix: missing the entry

* feat: wow, both path working

* feat: anvil block time 10s

* feat: relayer config for local test

* feat: need deployments for build

---------

Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>

* fix: pull from ghcr

* chore: use the constant for db_image (#4963)

* fix: try runner space clean up and fix smoke tests

* fix: 1inch api for quote (#4964)

* chore: disable smoke test on ci/cd for main

* chore: fix smoke-test

* chore: fix config setup step

* fix: send to relayer with correct domain (#4978)

* feat: flow logs + networking improvements

* fix: roll back minor changes

* fix: expire images but keep 20 at least

* fix: fix lifecycle priority

* chore: update config.local.json

* tag images with the branch name

* fix: add branch name to images

* fix:chain-abstraction:bump (#4985)

* fix: better lifecycle policy

* add testnet-prod lcp

* fix: vpc flow logs improvements

* feat: split flow logs between private and public

* fix: private subnet for router web3signer

---------

Co-authored-by: Carlo Mazzaferro <[email protected]>
Co-authored-by: Eddie <[email protected]>
Co-authored-by: Prathmesh <[email protected]>
Co-authored-by: Liu <[email protected]>
Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>

* fix: public subnets for services

* fix: add zksync provider (#5006)

* testnet-prod sync (#5008)

* fix: maticjs version

* fix: migrate state to new backend (#4901)

* fix: migrate state to new backend

* fix: staging state migration + fixes

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: prod state migrations (#4903)

* Fix/migrate state prod core (#4904)

* fix: prod state migrations

* fix: missing config

* Fix/ci fix - remove flow control (#4910)

* fix: remove ci stop check

* fix: remove continue-on-error

* Fix/tf version bump (#4914)

* fix: bump tf version and fix warning

* fix: terraform version bump

* fix: bumpTransfer task (#4950)

* fix: One Inch authorization added

* fix: added checks

* 4927-One Inch config added to chain-abstraction SDK (#4955)

* fix: One Inch authorization added

* fix: added checks

* Update typo

Co-authored-by: Rahul Sethuram <[email protected]>

---------

Co-authored-by: Rahul Sethuram <[email protected]>

* fix: bump version

* feat: 4708 protocol backend tasks for integration test (#4800)

* feat: add devnet config

* feat: tenderly devnet setup (#4722)

* feat: create deploy scripts for devnet

* feat: get latest synced blocknumber

* fix: parse the result

* feat: create graph-node dockers

* feat: create all-in script for devnets

* feat: deploy chains, deploy contracts, deploy subgraph

* feat: create a separate docker-compose file

* feat: add cartographer-api and database

* chore: clean up

* feat: 4718 smart contracts deploy dev net (#4757)

* feat: install forge-deploy npm

* fix: remove forge-deploy npm

* feat: forge-deploy npm

* feat: forge deploy basically works

* feat: basically works

* feat: remove forge-deploy

* feat: deploy forge

* forge install: solidity-stringutils

* feat: solidity-stingutils

* feat: messaging & connext deploy

* feat: use gnosis instead of arbitrum

* feat: multisend contract deploy

* feat: deploy relayer proxy hub contract

* chore: yarn.lock

* feat: init

* feat: init messaging layer

* feat: agent setup

* feat: initialize assets

* feat: add devnet deploy commands to sh

* feat: use gnosis instead of arbitrum

* feat: contract deploy and init works in sh

* feat: export deployments works

* feat: devnet subgraph build works

* feat: devnet subgraph deployed

* feat: use local postgres db for carto of devnet

* feat: devnet graph-client build

* chore: rebuild

* chore: graph-client build

* fix: add setup step to ingest mainnet db data

* fix: package name

* fix: resolve errors and warnings

* fix: wrong command

* feat: use a separate docker-compose

* fix: update off chain docker local setup

* fix: update db port

* fix: add dockerfile for carto image for local

* fix: docker entry point for local carto poller

* fix: use db image with cron setup

* fix: setup db schema

* fix: update lh docker build path

* chore: delete

* feat: we want a fresh devnet

* feat: remove previous deployments

* feat: setup chains with the RPC urls

* feat: use a separate one

* feat: create template files

* feat: add `devnet` to network type

* fix: a couple of syntax errors

* feat: txservice get deployments

* fix: typo

* feat: replace

* feat: put the network param

* fix: relayer config

* feat: add NETWORK variable

* fix: subgraph deploy script

* fix: rebuild graph-client

* feat: subgraph adapter updated

* feat: add subgraphPrefix

* feat: use domain

* feat: update tenderly cli before spawn

* fix: deploy script

* fix: dbmate up

* fix: devnet deploy script

* feat: hardhat-tenderly setup

* fix: contracts build

* feat: generate config in integration package

* fix: add params to AdminHubConnector

* feat: devnet messaging config

* feat: devnet hh config

* feat: hh deploy script to devnet

* fix: export separately devnet:mainnet

* fix: txservice get deployed contracts from devnet

* fix: devnet init script

* fix: devnet json name

* fix: subgraph devnet deploy

* fix: devnet init command

* fix: build

* fix: test

* feat: implement a method

* feat: update config file

* fix: lint

* fix: update a script name

* feat: update bash script

* fix: incorrect method of JSON

* fix: devnet init

* fix: setup docker after contract deployment

* fix: devnet deploy command

* fix: automatic verify

* fix: speed up deploy

* chore: spoke connector for lighthouse

* fix: spoke connector address

* fix: retry deploy command

* feat: anvil docker image

* feat: docker-compose for local network

* fix: rename tenderly to devnet

* fix: anvil disable --no-mine

* fix: rename local test sh

* feat: local network setup

* fix: add local domain

* fix: deploy script

* fix: local export

* fix: clean up devnet commands

* refactor: update deploy script

* feat: devnet deploy & init works

* feat: add scripts

* fix: update anvil docker image

* feat: progress

* chore: relevant settings

* fix: yarn build:all

* fix: subgraph deploy to local

* fix: typo

* fix: create with version label

* fix: mapping

* fix: prefix issue

* chore: replace "local"

* feat: graphclient rebuild

* chore: yarn.lock

* feat: test router, sequencer, relayer

* fix: dbmate up

* fix: subgraph adapter

* chore: add mac setup

* fix: chain setup for local spec

* fix: default variables for local test

* feat: skipping action

* fix: setup router

* fix: hardhat to anvil

* feat: redeployments

* fix: initializeRouter on routerAccount

* feat: no need to setup asset here

* feat: pre-xcallIntoLocal

* chore: add abi for spoke and hub domain

* chore: add connectors interface

* feat: updates for onchain setup for slow path

* chore: update the imports for spoke and hub connector

* chore: update the implementation

* fix: viem of pancake-sdk downgrade

* feat: clean up xcall

* fix: update e2e local bring up steps

* feat: before approve

* feat: horray, xcallIntoLocal

* feat: create onchain methods

* fix: typo

* fix: dbmate

* feat: spokeRootSent

* feat: AdminMainnetSpokeConnector

* chore: it changes every time

* feat: send / propagate local root

* feat: local test propagate works

* fix: deploy script delay blocks

* feat: receive aggregated root on spoke

* fix: setup same local / adopted asset

* fix: must be owner

* chore: local.init.json

* fix: from address

* feat: xcall sent

* feat: message queue setup

* fix: cleanup

* feat: process amb

* fix: receiveSpokeRootOnHub

* fix: graph node url

* fix: typo

* fix: subgraph prefix

* build: fix build:all

* feat: local networks for conversionRate

* feat: pre happy path

* feat: ensure automine is off

* fix: anvil docker block time

* fix: missing first one

* fix: db url

* feat: hub domain

* fix: missing the entry

* feat: wow, both path working

* feat: anvil block time 10s

* feat: relayer config for local test

* feat: need deployments for build

---------

Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>

* fix: pull from ghcr

* chore: use the constant for db_image (#4963)

* fix: try runner space clean up and fix smoke tests

* fix: 1inch api for quote (#4964)

* chore: disable smoke test on ci/cd for main

* chore: fix smoke-test

* chore: fix config setup step

* fix: send to relayer with correct domain (#4978)

* feat: flow logs + networking improvements

* fix: roll back minor changes

* fix: expire images but keep 20 at least

* fix: fix lifecycle priority

* chore: update config.local.json

* tag images with the branch name

* fix: add branch name to images

* fix:chain-abstraction:bump (#4985)

* fix: better lifecycle policy

* add testnet-prod lcp

* fix: vpc flow logs improvements

* feat: split flow logs between private and public

* fix: private subnet for router web3signer

* fix: public subnets for services

* fix: add zksync provider (#5006)

---------

Co-authored-by: Rahul Sethuram <[email protected]>
Co-authored-by: Eddie <[email protected]>
Co-authored-by: Prathmesh <[email protected]>
Co-authored-by: Rahul Sethuram <[email protected]>
Co-authored-by: Liu <[email protected]>
Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>

* fix: hotfix prover cron & web3signer networking

* fix: private subnets for lh prover

* fix: networking mainnet fixes and ecr lcps (#5015)

* fix: improve ecp to remove any tagged images

* Radar token update (#4892)

* Radar token update

* update address for xerc20

* xRADAR added

---------

Co-authored-by: Prathmesh <[email protected]>

* feat: 5033 working linea connector (#5037)

* fix: rename consensys to linea

* fix: rename consensys to linea

* fix: rename and verify

* feat: enable linea goerli ops

* chore: delete linea hub connector

* chore: recreate linea hub connector

* Testnet Prod sync (#5038)

* fix: networking mainnet fixes and ecr lcps (#5015)

* fix: improve ecp to remove any tagged images

* Radar token update (#4892)

* Radar token update

* update address for xerc20

* xRADAR added

---------

Co-authored-by: Prathmesh <[email protected]>

* feat: 5033 working linea connector (#5037)

* fix: rename consensys to linea

* fix: rename consensys to linea

* fix: rename and verify

* feat: enable linea goerli ops

* chore: delete linea hub connector

* chore: recreate linea hub connector

---------

Co-authored-by: Carlo Mazzaferro <[email protected]>
Co-authored-by: Sonmezturk <[email protected]>
Co-authored-by: Prathmesh <[email protected]>

* fix: testnet prod terraform (#5039)

* testnet prod sync (#5040)

* fix: networking mainnet fixes and ecr lcps (#5015)

* fix: improve ecp to remove any tagged images

* Radar token update (#4892)

* Radar token update

* update address for xerc20

* xRADAR added

---------

Co-authored-by: Prathmesh <[email protected]>

* feat: 5033 working linea connector (#5037)

* fix: rename consensys to linea

* fix: rename consensys to linea

* fix: rename and verify

* feat: enable linea goerli ops

* chore: delete linea hub connector

* chore: recreate linea hub connector

* fix: testnet prod terraform (#5039)

---------

Co-authored-by: Carlo Mazzaferro <[email protected]>
Co-authored-by: Sonmezturk <[email protected]>
Co-authored-by: Prathmesh <[email protected]>
Co-authored-by: Sanchay Mittal <[email protected]>

* chore: rebuild

* fix: enable router execution linea

* fix: reader linea

* feat: linea goerli subgraph deploy

* feat: create xERC20 template (#5049)

* feat: create xERC20 template

* feat: minor changes

* fix: placeholder text

* fix: add env in title

* feat: add xERC20 label

* fix: chain Ids for subgraph networks

* chore: graph client rebuild

* testnet prod sync (#5079)

* feat: add bware linea goerli subgraph

* chore: rebuild graph client

* fix: thegraph network id for zksync-era

* feat: 5069 testnet onboarding lh agents works (#5074)

* feat: hh task for claiming linea message

* feat: gas cost for linea propagate

* test: LH tests for linea

---------

Co-authored-by: Liu <[email protected]>
Co-authored-by: preethamr <[email protected]>

* testnet prod sync (#5081)

* feat: add bware linea goerli subgraph

* chore: rebuild graph client

* fix: thegraph network id for zksync-era

* feat: 5069 testnet onboarding lh agents works (#5074)

* feat: hh task for claiming linea message

* feat: gas cost for linea propagate

* test: LH tests for linea

* fix: 5069 testnet onboarding lh agents works (#5080)

* feat: hh task for claiming linea message

* feat: gas cost for linea propagate

* test: LH tests for linea

* chore: yarn.lock

* chore: update yarn.lock

* chore: attempt fixing ci/cd for lighthouse

* chore: fix broken ci/cd

* fix: docker build fix (#5092)

* fix: process from root linea (#5084)

* feat: claimMessage interface

* chore: rebuild

* feat: linea process from root

* test: linea process from root unit tests

* feat: deploy testnet linea hub connector

* feat: hub subgraph for linea hub connector

* chore: rename

---------

Co-authored-by: Liu <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: Carlo Mazzaferro <[email protected]>

* testnet prod sync (#5106)

* feat: add bware linea goerli subgraph

* chore: rebuild graph client

* fix: thegraph network id for zksync-era

* feat: 5069 testnet onboarding lh agents works (#5074)

* feat: hh task for claiming linea message

* feat: gas cost for linea propagate

* test: LH tests for linea

* fix: 5069 testnet onboarding lh agents works (#5080)

* feat: hh task for claiming linea message

* feat: gas cost for linea propagate

* test: LH tests for linea

* chore: yarn.lock

* chore: update yarn.lock

* chore: attempt fixing ci/cd for lighthouse

* chore: fix broken ci/cd

* fix: docker build fix (#5092)

* fix: process from root linea (#5084)

* feat: claimMessage interface

* chore: rebuild

* feat: linea process from root

* test: linea process from root unit tests

* feat: deploy testnet linea hub connector

* feat: hub subgraph for linea hub connector

* chore: rename

* fix: increase gas for linea propagate (#5095)

* fix: increase gas for linea propagate

* fix: linea process from root args

* fix: linea propagate gas margin

---------

Co-authored-by: Liu <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: Carlo Mazzaferro <[email protected]>

---------

Signed-off-by: hesnicewithit <[email protected]>
Co-authored-by: Eddie <[email protected]>
Co-authored-by: wanglonghong <[email protected]>
Co-authored-by: Rahul Sethuram <[email protected]>
Co-authored-by: Prathmesh Khandelwal <[email protected]>
Co-authored-by: Scrub Lord <[email protected]>
Co-authored-by: Layne Haber <[email protected]>
Co-authored-by: Maciek <[email protected]>
Co-authored-by: axlvaz <[email protected]>
Co-authored-by: preethamr <[email protected]>
Co-authored-by: Carlo Mazzaferro <[email protected]>
Co-authored-by: Rahul Sethuram <[email protected]>
Co-authored-by: sanchaymittal <[email protected]>
Co-authored-by: Sonmezturk <[email protected]>
  • Loading branch information
14 people authored Nov 2, 2023
1 parent 5e01d20 commit 44de116
Show file tree
Hide file tree
Showing 354 changed files with 389,006 additions and 154,949 deletions.
19 changes: 19 additions & 0 deletions .env.examples
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Global env variables for integration test
MNEMONIC="candy maple cake sugar pudding cream honey rich smooth crumble sweet treat"
WEB3_SIGNER_PRIVATE_KEY_ROUTER="0xc88b703fb08cbea894b6aeff5a544fb92e78a18e19814cd85da83b71f772aa6c" # 0x821aEa9a577a9b44299B9c15c88cf3087F3b5544
WEB3_SIGNER_PRIVATE_KEY_SEQUENCER="0xae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f" # 0xf17f52151EbEF6C7334FAD080c5704D77216b732
WEB3_SIGNER_PRIVATE_KEY_RELAYER="0x0dbbe8e4ae425a6d2687f1a7e3ba17bc98c673636790f1b8ad91193c05875ef1" # 0xC5fdf4076b8F3A5357c5E395ab970B5B54098Fef

# Images used for building docker containers
ROUTER_PUBLISHER_IMAGE="router-publisher:latest"
ROUTER_SUBSCRIBER_IMAGE="router-subscriber:latest"
ROUTER_EXECUTOR_IMAGE="router-executor:latest"
SEQUENCER_SERVER_IMAGE="sequencer-server:latest"
SEQUENCER_PUBLISHER_IMAGE="sequencer-publisher:latest"
SEQUENCER_SUBSCRIBER_IMAGE="sequencer-subscriber:latest"
RELAYER_IMAGE="relayer:latest"
CARTOGRAPHER_TRANSFERS_IMAGE="cartographer-transfers:latest"
CARTOGRAPHER_ROUTERS_IMAGE="cartographer-routers:latest"
LIGHTHOUSE_IMAGE="lighthouse:latest"
DB_IMAGE="db:latest"
CARTOGRAPHER_IMAGE="cartographer:latest"
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/xERC20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: New xERC20
about: This is for whitelisting a new xERC20.
title: "[TOKEN] [Mainnet/Testnet] xERC20 Whitelisting"
labels: "xERC20 🪙"
assignees: ""
---

## Token Details

- Name: TOKEN
- Symbol: TKN
- Chains: Ethereum, Optimism, Arbitrum, Polygon, Gnosis, BSC

## Tasks

- [ ] PR to chaindata: _\<link to PR\>_
- [ ] PR to monorepo allowlist config: _\<link to PR\>_
- [ ] Whitelisting complete: _\<link to transaction(s)\>_
- [ ] PR to Bridge UI: _\<link to PR\>_
- [ ] PR to Connextscan: _\<link to PR\>_
- [ ] Lockbox Adapter deployed: _\<link to transaction(s)\>_
- [ ] Slow path tested: _<link to transfer(s)>_
- [ ] Router liquidity added and fast path tested: _\<link to transfer(s)\>_
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ packages/deployments/contracts/deployments/local_1337
packages/deployments/contracts/deployments/local_1338

packages/deployments/contracts/cuts.json
packages/deployments/contracts/proposals.json
packages/deployments/contracts/proposals.json
packages/deployments/contracts/devnet.init.json
packages/deployments/contracts/local.developments.json
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "packages/deployments/contracts/lib/relay-context-contracts"]
path = packages/deployments/contracts/lib/relay-context-contracts
url = https://github.com/gelatodigital/relay-context-contracts
[submodule "packages/deployments/contracts/lib/solidity-stringutils"]
path = packages/deployments/contracts/lib/solidity-stringutils
url = https://github.com/Arachnid/solidity-stringutils
8 changes: 8 additions & 0 deletions build-graph-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ BUILD_USING_LIVE_VERSION=1

if [ $BUILD_USING_LIVE_VERSION -eq 1 ]; then
GRAPH_GOERLI_HANDLER_ENDPOINT="https://api.thegraph.com/subgraphs/name/connext/nxtp-amarok-runtime-test-goerli"
GRAPH_MAINNET_HUB_HANDLER_ENDPOINT="https://api.thegraph.com/subgraphs/name/connext/amarok-hub-v0-mainnet"
GRAPH_MAINNET_SPOKE_HANDLER_ENDPOINT="https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-mainnet"
GRAPH_ARBITRUM_SPOKE_HANDLER_ENDPOINT="https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-arbitrum-one"
GRAPH_OPTIMISM_SPOKE_HANDLER_ENDPOINT="https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-optimism"
export GRAPH_1337_ENDPOINT=${GRAPH_GOERLI_HANDLER_ENDPOINT}
export GRAPH_1338_ENDPOINT=${GRAPH_GOERLI_HANDLER_ENDPOINT}
export GRAPH_LOCAL_HUB_MAINNET=${GRAPH_MAINNET_HUB_HANDLER_ENDPOINT}
export GRAPH_LOCAL_SPOKE_MAINNET=${GRAPH_MAINNET_SPOKE_HANDLER_ENDPOINT}
export GRAPH_LOCAL_SPOKE_ARBITRUM=${GRAPH_ARBITRUM_SPOKE_HANDLER_ENDPOINT}
export GRAPH_LOCAL_SPOKE_OPTIMISM=${GRAPH_OPTIMISM_SPOKE_HANDLER_ENDPOINT}
else
export GRAPH_1337_ENDPOINT="http://localhost:8010/subgraphs/name/connext/nxtp"
export GRAPH_1338_ENDPOINT="http://localhost:9010/subgraphs/name/connext/nxtp"
Expand Down
8 changes: 8 additions & 0 deletions install-tenderly-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

if [ "$(uname)" == "Darwin" ]; then
curl https://raw.githubusercontent.com/Tenderly/tenderly-cli/master/scripts/install-macos.sh | sh
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
curl https://raw.githubusercontent.com/Tenderly/tenderly-cli/master/scripts/install-linux.sh | sudo sh
fi

143,220 changes: 71,902 additions & 71,318 deletions packages/adapters/subgraph/.graphclient/index.ts

Large diffs are not rendered by default.

124,277 changes: 62,449 additions & 61,828 deletions packages/adapters/subgraph/.graphclient/schema.graphql

Large diffs are not rendered by default.

Loading

0 comments on commit 44de116

Please sign in to comment.