Skip to content

Commit

Permalink
ci: testnet-prod (#4678)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
12 people authored Jul 11, 2023
1 parent 9e59ebc commit 150d473
Show file tree
Hide file tree
Showing 26 changed files with 88 additions and 34 deletions.
4 changes: 2 additions & 2 deletions packages/adapters/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-cache",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for handling communication with Redis cache for nxtp protocol",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -53,5 +53,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/database/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-database",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for handling communication with Redis cache for nxtp protocol",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -42,5 +42,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/relayer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-relayer",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for handling communication with relayer",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -42,5 +42,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/subgraph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-subgraph",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for subgraph interaction of nxtp protocol",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down Expand Up @@ -63,5 +63,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/txservice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-txservice",
"version": "2.0.0-alpha.2",
"version": "2.0.0",
"description": "Robust transaction sending service for a wallet configured across multiple chains. Will bump gas and reattempt transactions as needed",
"author": "Connext",
"license": "MIT",
Expand Down Expand Up @@ -56,5 +56,5 @@
"access": "public"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.1.25"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/watcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-watcher",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for watcher related calls, monitoring, and functionality",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -42,5 +42,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/adapters/web3signer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-adapters-web3signer",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "adapter for subgraph interaction of nxtp protocol",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -47,5 +47,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/agents/cartographer/poller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/cartographer-poller",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "",
"types": "dist/index.d.ts",
"files": [
Expand Down Expand Up @@ -58,5 +58,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.0"
"stableVersion": "2.0.0"
}
4 changes: 4 additions & 0 deletions packages/agents/chain-abstraction/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next Release

## v1.0.2

- Stable release

## v1.0.2-alpha.20

- Exported `getSupportedAssetsForDomain`
2 changes: 1 addition & 1 deletion packages/agents/chain-abstraction/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/chain-abstraction",
"version": "1.0.2-alpha.20",
"version": "1.0.2",
"description": "A package to make it easy to integrate arbitrary DEXes on both origin/destination domains",
"author": "Connext",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/lighthouse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/lighthouse",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/relayer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-relayer",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "Generic relayer agent for Amarok",
"author": "Connext",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-router",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/router/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const DEFAULT_SLIPPAGE = 10000; // in BPS
// Polling mins and defaults.
const MIN_SUBGRAPH_POLL_INTERVAL = 2_000;
const MIN_CARTOGRAPHER_POLL_INTERVAL = 2_000;
const DEFAULT_SUBGRAPH_POLL_INTERVAL = 15_000;
const DEFAULT_SUBGRAPH_POLL_INTERVAL = 5_000;
const DEFAULT_CARTOGRAPHER_POLL_INTERVAL = 15_000;
const DEFAULT_CONFIRMATIONS = 3;
const MIN_CACHE_POLL_INTERVAL = 2_000;
Expand Down
4 changes: 4 additions & 0 deletions packages/agents/sdk-wrapper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next Release

## v2.1.1

- Stable release with just sdk-core changes

## v2.1.0

- Stable release
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/sdk-wrapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/sdk",
"version": "2.1.0",
"version": "2.1.1",
"description": "Client-side package for interacting with the Connext protocol",
"author": "Connext",
"license": "MIT",
Expand Down
4 changes: 4 additions & 0 deletions packages/agents/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next Release

## v2.1.1

- Stable release with filter by domain

## v2.1.1-alpha.0

- Add filtering by domain to getTransfers
Expand Down
4 changes: 2 additions & 2 deletions packages/agents/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/sdk-core",
"version": "2.1.1-alpha.0",
"version": "2.1.1",
"description": "Client-side package for interacting with the Connext protocol",
"author": "Connext",
"license": "MIT",
Expand Down Expand Up @@ -62,5 +62,5 @@
"access": "public"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "2.0.3-alpha.0"
"stableVersion": "2.1.1"
}
2 changes: 1 addition & 1 deletion packages/agents/sequencer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-sequencer",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "Sequencer for Amarok, previously auctioneer",
"author": "Connext",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/sequencer/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { version } from "../package.json";

import { SequencerConfig, SequencerConfigSchema } from "./lib/entities";

const DEFAULT_AUCTION_WAIT_TIME = 30_000;
const DEFAULT_AUCTION_WAIT_TIME = 10_000;
const DEFAULT_EXECUTION_WAIT_TIME = 300_000;
const DEFAULT_AUCTION_ROUND_DEPTH = 3;
const DEFAULT_RELAYER_FEE_TOLERANCE = 10;
Expand Down
4 changes: 2 additions & 2 deletions packages/agents/watcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-watcher",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "",
"types": "dist/index.d.ts",
"files": [
Expand Down Expand Up @@ -46,5 +46,5 @@
"typescript": "4.9.5"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.2.0-alpha.0"
"stableVersion": "2.0.0"
}
2 changes: 1 addition & 1 deletion packages/deployments/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/smart-contracts",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "",
"scripts": {
"test": "yarn forge test --no-match-path '*/fork/**.sol'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,48 @@ export const MAINNET_PRODUCTION_INIT_CONFIG: InitConfig = {
},
},
},
{
name: "nextAlUSD",
canonical: {
domain: "6648936",
address: "0xBC6DA0FE9aD5f3b0d58160288917AA56653660E9",
decimals: 18,
cap: utils.parseUnits("10000000", 18).toString(),
},
representations: {
/// ARBITRUM
"1634886255": {
local: "0x49000f5e208349D2fA678263418e21365208E498",
adopted: "0x49000f5e208349D2fA678263418e21365208E498",
},
/// OPTIMISM
"1869640809": {
local: "0x49000f5e208349D2fA678263418e21365208E498",
adopted: "0x49000f5e208349D2fA678263418e21365208E498",
},
},
},
{
name: "nextAlETH",
canonical: {
domain: "6648936",
address: "0x0100546F2cD4C9D97f798fFC9755E47865FF7Ee6",
decimals: 18,
cap: utils.parseUnits("10000000", 18).toString(),
},
representations: {
/// ARBITRUM
"1634886255": {
local: "0x303241e2B3b4aeD0bb0F8623e7442368FED8Faf3",
adopted: "0x303241e2B3b4aeD0bb0F8623e7442368FED8Faf3",
},
/// OPTIMISM
"1869640809": {
local: "0x303241e2B3b4aeD0bb0F8623e7442368FED8Faf3",
adopted: "0x303241e2B3b4aeD0bb0F8623e7442368FED8Faf3",
},
},
},
{
name: "XOC",
// polygon
Expand Down
2 changes: 1 addition & 1 deletion packages/deployments/subgraph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-subgraph",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"license": "UNLICENSED",
"scripts": {
"graph": "graph",
Expand Down
4 changes: 2 additions & 2 deletions packages/integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-integration",
"version": "2.0.0-alpha.1",
"version": "2.0.0",
"description": "Integration tests for NXTP",
"author": "Connext",
"license": "MIT",
Expand Down Expand Up @@ -76,5 +76,5 @@
"tslib": "2.5.0",
"typescript": "4.9.5"
},
"stableVersion": "0.2.0-alpha.29"
"stableVersion": "2.0.0"
}
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connext/nxtp-utils",
"version": "2.0.4-alpha.2",
"version": "2.0.4",
"description": "Common utilities for use within the @connext/nxtp-* packages",
"author": "Connext",
"license": "MIT",
Expand Down Expand Up @@ -63,5 +63,5 @@
"access": "public"
},
"gitHead": "937a7cde93e6ac1e151c6374f48adf83d3fa4ec6",
"stableVersion": "0.1.25"
"stableVersion": "2.0.4"
}

0 comments on commit 150d473

Please sign in to comment.