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

Testnet prod sync #4760

Merged
merged 97 commits into from
Aug 1, 2023
Merged

Testnet prod sync #4760

merged 97 commits into from
Aug 1, 2023

Conversation

just-a-node
Copy link
Collaborator

Description

Type of change

  • Docs change / dependency upgrade
  • Configuration / tooling changes
  • Refactoring
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires changes in customer code

High-level change(s) description - from the user's perspective

Related Issue(s)

Fixes

Related pull request(s)

just-a-node and others added 30 commits June 21, 2023 17:35
* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods

* feat: init wrapper changelog

* chore: bump sdk-core

* chore: bump utils
* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods
* fix: wait for confimation blocks

* fix: type error

* fix: update graph client

* chore: set up confirmations

---------

Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com>
* config: Next tokens

* feat: changed next assets

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
* fix: add missing vars

* fix: typo public_sub -> public_subnets

* fix: one more missing var
Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
… addr

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
* fix: ref workspaces for types

* fix: use default empty obj for body

* fix: rm leftover only test

* feat: use cors, separate logger for utils route

* feat: logger for each route

* chore: update yarn lock

* fix: add sdk-core to devDeps so yarn can recognize build order
* ci: publish sdk from sdk-wrapper

* feat: sdk version bump

* fix: syntax

* fix: -t flag does not account for devDeps
* fix: router daily tvl carto

* fix: stableswap carto query
liu-zhipeng and others added 15 commits July 14, 2023 20:11
* fix: getUserPools should take in options

* fix: add missing options to types

* fix: pass options param through

* fix: add missing options to wrapper request

* test: options override tests

* build: bump sdk core

* build: bump sdk wrapper

* chore: changelog update
* chore: swap path added

* fix: remove simple-uniswap-sdk

* fix: minor import

* fix: changes in V2 version

* feat: multi-path swap added

* fix: added encoded data

* feat: test inited

* feat: swaputil test done

* fix: removed path from oneInch

* fix: lint

* fix: installation

* fix: changed path encoding

* fix: path of univ3

* fix: uniV3 test fix

---------

Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
* chore: cleanup scripts

* chore: cleanup file
* fix: provider passing in options

* fix: added signers and chains

* fix: add missing options params

* chore: rm test error

* 4730 sdk latency subfix (#4736)

* fix: added reading from chains

* fix: added chains config in provider

* added test

* fix: remove console

* fix: test fix

* fix: added wrapper changes according to new changes

* build: bump sdk core/wrapper

* fix: use workspace dep

* build: bump to latest with changelogs

---------

Co-authored-by: just-a-node <eye1717@gmail.com>
* ci: testnet-prod (#4678)

* Sdk wrapper 2.1.0 alpha.0 (#4560)

* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods

* feat: init wrapper changelog

* chore: bump sdk-core

* chore: bump utils

* Sdk options pattern (#4558)

* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods

* feat: add confirmation blocks msg poller (#4562)

* fix: wait for confimation blocks

* fix: type error

* fix: update graph client

* chore: set up confirmations

---------

Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com>

* Alchemix Next tokens (#4510)

* config: Next tokens

* feat: changed next assets

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>

* feat: admin connector wip

* ci: commitlint

* fix: review updates

* chore: build artifacts

* feat: structure new tests

* fix: change test to check that root is able to be propagated

* fix: sanity check; comments

* fix: cleaner test utilities; add fuzzing; add proper asserts

* feat: move fork tests to fork dir and ignore in ci

* fix: stronger assertions in units

* feat: add deployment

* Tf vars (#4531)

* fix: add missing vars

* fix: typo public_sub -> public_subnets

* fix: one more missing var

* feat(ladao-xocolatl): add xoc to prod allowlisting

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* fix(ladao-xocolatl): add local and adopted to all domains for xoc

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* chore(ladao-xocolatl): update xoc config with local and adopted equal addr

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* Sdk server cors (#4576)

* fix: ref workspaces for types

* fix: use default empty obj for body

* fix: rm leftover only test

* feat: use cors, separate logger for utils route

* feat: logger for each route

* chore: update yarn lock

* fix: add sdk-core to devDeps so yarn can recognize build order

* feat: bump sdk-wrapper version

* ci: publish sdk from sdk-wrapper (#4588)

* Sdk wrapper publish (#4589)

* ci: publish sdk from sdk-wrapper

* feat: sdk version bump

* fix: syntax

* fix: -t flag does not account for devDeps

* ci: commitlint (#4590)

* fix: 4574 carto graph query errors (#4599)

* fix: router daily tvl carto

* fix: stableswap carto query

* feat: hardhat tasks to add + enroll connector

* chore: rebuild

* feat: deploy admin connector

* fix: temporarily prevent messaging init from running

* fix: spacing

* feat: deploy admin hub connector

* chore: export deployment

* chore: add alchemix mainnet assets

* chore: formatting

* fix: simplify inputs

* 4254 slippage (#4542)

* feat: estimateAmount Method added

* fix: remove yarn link

* fix: CI fix

* fix: minor

* fix: lint

* fix: added UniV3 swapper

* fix: removed consoles

* feat: test added

* fix: type issue

* feat: slippage distribution added

* fix: added imports

* fix: lint

* fix: added more use cases

* chore: fix typo

* feat: get any number of coingecko ids at once

* fix: import correct type

* test: add tests for getTokenVSusdPrice

* feat: get any number of token prices at once

* test: add tests for getTokenPricesInUsd

* chore: add return types

* chore: make stubbable

* test: getPriceImpactForSwaps unit tests

* test: getSlippageDistribution unit tests

* test: getAmountOutMinForUniV3 unit tests

* test: missed stub

---------

Co-authored-by: just-a-node <eye1717@gmail.com>

* fix: hard exit on mq disruption (#4600)

* fix: hard exit on mq disruption

* fix: other places to exit on channel error

* ci: add sdk-core to publish step

* build: bump sdk-core version

* build: bump sdk version

* Merge pull request Sdk wrapper bn conversion (#4604)

* fix: convert sdkBase wrapper responses to BNs

* test: add util for converting objects to BNs

* test: sdkBase tests check for returned BN types

* fix: handle more obj types

* fix: convert sdkPool wrapper responses to BNs

* test: sdkPool tests check for returned BN types

* fix: should return correct types

* test: sdkUtils tests check for returned BN types

* test: fix test

* fix: convert from data

* build: bump sdk version (#4610)

* build: bump sdk version

* chore: update changelog

* Chain abstraction v1.0.2 alpha.20 (#4624)

* build: bump chain abstraction version

* chore: update changelog

* build: bump chain abstraction version

* ci: commitlint (#4625)

* build: sdk stable latest (#4620)

* feat: add fitler by domain getTransfers() (#4615)

* feat: add fitler by domain getTransfers()

* build: update changelog for next release

* build: bump sdk-core version

* build: version update since 2.1.0 stable is in flight

---------

Co-authored-by: just-a-node <eye1717@gmail.com>

* chore: remove unused parts (#4380)

* chore: slow down lighthouse (#4630)

* ci: add mainnet ops (#4636)

* fix: add pagination on message status check

* fix: increase page size

* feat: add ability to search by execute and reconcile hash (#4653)

* add ecr lifecycle policy

* fix: expire images

* Sdk server mainnet ops (#4652)

* fix: changelog to match bumped version

* ci: fix sdk-server module cert reference for mainnet

* fix: commitlint

* chore: add new excluded address

* fix: historical price poller check to timestamp (#4664)

* fix: historical price poller check to timestamp

* fix: remove duplicated

* chore: exempt satellite on mumbai

* chore: change

* build: bump sdk-core (#4677)

* build: bump sdk-core

* build: bump sdk-wrapper

* build: bump chain abstraction

* chore: update versions

---------

Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com>

---------

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Eddie <eye1717@gmail.com>
Co-authored-by: preethamr <preethamr@users.noreply.github.com>
Co-authored-by: Scrub Lord <90161049+Hesnicewithit@users.noreply.github.com>
Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: hesnicewithit <splitthedutch@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: carlomazzaferro <carlo.mazzaferro@gmail.com>

* ci: testnet prod (#4679)

* Sdk wrapper 2.1.0 alpha.0 (#4560)

* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods

* feat: init wrapper changelog

* chore: bump sdk-core

* chore: bump utils

* Sdk options pattern (#4558)

* feat: copy sdk types to remove dependency

* fix: missing options

* fix: default param will not work with optional ordering

* chore: use specific version of dep

* fix: trailing slash

* chore: move to sdk-types

* feat: copy contract types

* feat: get rid of unnecessary chainreader

* feat: remove dependency on txservice

* fix: missing dep

* chore: update yarn lock

* chore: update yarn.lock

* fix: add core sdk as devDep

* fix: package typo

* fix: changeSignerAddress should change local config

* feat: local config options override for sdkBase methods

* feat: local config options override for sdkShared methods

* feat: local config options override for sdkPool methods

* feat: local config options override for sdkRouter methods

* feat: add confirmation blocks msg poller (#4562)

* fix: wait for confimation blocks

* fix: type error

* fix: update graph client

* chore: set up confirmations

---------

Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com>

* Alchemix Next tokens (#4510)

* config: Next tokens

* feat: changed next assets

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>

* feat: admin connector wip

* ci: commitlint

* fix: review updates

* chore: build artifacts

* feat: structure new tests

* fix: change test to check that root is able to be propagated

* fix: sanity check; comments

* fix: cleaner test utilities; add fuzzing; add proper asserts

* feat: move fork tests to fork dir and ignore in ci

* fix: stronger assertions in units

* feat: add deployment

* Tf vars (#4531)

* fix: add missing vars

* fix: typo public_sub -> public_subnets

* fix: one more missing var

* feat(ladao-xocolatl): add xoc to prod allowlisting

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* fix(ladao-xocolatl): add local and adopted to all domains for xoc

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* chore(ladao-xocolatl): update xoc config with local and adopted equal addr

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>

* Sdk server cors (#4576)

* fix: ref workspaces for types

* fix: use default empty obj for body

* fix: rm leftover only test

* feat: use cors, separate logger for utils route

* feat: logger for each route

* chore: update yarn lock

* fix: add sdk-core to devDeps so yarn can recognize build order

* feat: bump sdk-wrapper version

* ci: publish sdk from sdk-wrapper (#4588)

* Sdk wrapper publish (#4589)

* ci: publish sdk from sdk-wrapper

* feat: sdk version bump

* fix: syntax

* fix: -t flag does not account for devDeps

* ci: commitlint (#4590)

* fix: 4574 carto graph query errors (#4599)

* fix: router daily tvl carto

* fix: stableswap carto query

* feat: hardhat tasks to add + enroll connector

* chore: rebuild

* feat: deploy admin connector

* fix: temporarily prevent messaging init from running

* fix: spacing

* feat: deploy admin hub connector

* chore: export deployment

* chore: add alchemix mainnet assets

* chore: formatting

* fix: simplify inputs

* 4254 slippage (#4542)

* feat: estimateAmount Method added

* fix: remove yarn link

* fix: CI fix

* fix: minor

* fix: lint

* fix: added UniV3 swapper

* fix: removed consoles

* feat: test added

* fix: type issue

* feat: slippage distribution added

* fix: added imports

* fix: lint

* fix: added more use cases

* chore: fix typo

* feat: get any number of coingecko ids at once

* fix: import correct type

* test: add tests for getTokenVSusdPrice

* feat: get any number of token prices at once

* test: add tests for getTokenPricesInUsd

* chore: add return types

* chore: make stubbable

* test: getPriceImpactForSwaps unit tests

* test: getSlippageDistribution unit tests

* test: getAmountOutMinForUniV3 unit tests

* test: missed stub

---------

Co-authored-by: just-a-node <eye1717@gmail.com>

* fix: hard exit on mq disruption (#4600)

* fix: hard exit on mq disruption

* fix: other places to exit on channel error

* ci: add sdk-core to publish step

* build: bump sdk-core version

* build: bump sdk version

* Merge pull request Sdk wrapper bn conversion (#4604)

* fix: convert sdkBase wrapper responses to BNs

* test: add util for converting objects to BNs

* test: sdkBase tests check for returned BN types

* fix: handle more obj types

* fix: convert sdkPool wrapper responses to BNs

* test: sdkPool tests check for returned BN types

* fix: should return correct types

* test: sdkUtils tests check for returned BN types

* test: fix test

* fix: convert from data

* build: bump sdk version (#4610)

* build: bump sdk version

* chore: update changelog

* Chain abstraction v1.0.2 alpha.20 (#4624)

* build: bump chain abstraction version

* chore: update changelog

* build: bump chain abstraction version

* ci: commitlint (#4625)

* build: sdk stable latest (#4620)

* feat: add fitler by domain getTransfers() (#4615)

* feat: add fitler by domain getTransfers()

* build: update changelog for next release

* build: bump sdk-core version

* build: version update since 2.1.0 stable is in flight

---------

Co-authored-by: just-a-node <eye1717@gmail.com>

* chore: remove unused parts (#4380)

* chore: slow down lighthouse (#4630)

* ci: add mainnet ops (#4636)

* fix: add pagination on message status check

* fix: increase page size

* feat: add ability to search by execute and reconcile hash (#4653)

* add ecr lifecycle policy

* fix: expire images

* Sdk server mainnet ops (#4652)

* fix: changelog to match bumped version

* ci: fix sdk-server module cert reference for mainnet

* fix: commitlint

* chore: add new excluded address

* fix: historical price poller check to timestamp (#4664)

* fix: historical price poller check to timestamp

* fix: remove duplicated

* chore: exempt satellite on mumbai

* chore: change

* build: bump sdk-core (#4677)

* build: bump sdk-core

* build: bump sdk-wrapper

* build: bump chain abstraction

* chore: update versions

---------

Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com>

* feat: 4538 wormhole connector (#4623)

* feat: wormhole connector draft

* chore: contract build

* fix: wormhole connector deploy script

* chore: rebuild contracts

* fix: deploy wormhole connectors

* fix: wormhole base connector

* doc: add comments

* test: forge tests for wormhole connectors

* fix: build

* chore: rebuild

* refactor: rename the mirror chain variable

* fix: don't store amb twice

* fix: minor review updates

* feat: add configurable refund address for fees

* feat: use owner as the first relayer

* fix: forge tests for wormhole spoke connector

* fix: update IWormholeReceiver interface

* fix: capping gasLimit in the `quoteEvmDeliveryPrice`

* fix: renounceOwnership logic

* feat: 4545 offchainlighthouse subtasks for bnb amb (#4659)

* feat: propagate wormhole connector

* feat: lh wormhole sendoutboundroot

* chore: rebuild

* test: fix wormhole lh tests

* feat: wormhole connector deployed

* feat: 4544 wormhole connector subgraph (#4661)

* build: BnbHubConnector abi

* feat: mapping for bnb

* chore: config for new bnb connectors deployment.

* chore: update hub subgraph.yaml

* build: graph client

* fix: return init script messaging functionality

* chore: fresh install

* feat: per-chain configurable relayer fee vault

* feat: respect names configured if properly prefixed

* refactor: only fork creation logic not execution upgrade in base

* feat: add ability to create forks from env vars

* chore: rename helper lib to RpcLookup

* feat: add deployment lookup contract helper

* feat: wormhole connectors upgrading on fork

* feat: add replay test for old transfers

* fix: remove unused transfer examples

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com>

---------

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Eddie <eye1717@gmail.com>
Co-authored-by: preethamr <preethamr@users.noreply.github.com>
Co-authored-by: Scrub Lord <90161049+Hesnicewithit@users.noreply.github.com>
Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: hesnicewithit <splitthedutch@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: carlomazzaferro <carlo.mazzaferro@gmail.com>

* fix: trigger ci for build

---------

Signed-off-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Rahul Sethuram <rahul@connext.network>
Co-authored-by: preethamr <preethamr@users.noreply.github.com>
Co-authored-by: Scrub Lord <90161049+Hesnicewithit@users.noreply.github.com>
Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: hesnicewithit <splitthedutch@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Sanchay Mittal <sanchaymittal@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: carlomazzaferro <carlo.mazzaferro@gmail.com>
preethamr
preethamr previously approved these changes Jul 31, 2023
@sanchaymittal sanchaymittal merged commit 379e332 into testnet-prod Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.