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 #4135

Merged
merged 3 commits into from
May 8, 2023
Merged

testnet-prod sync #4135

merged 3 commits into from
May 8, 2023

Conversation

sanchaymittal
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)

Rahul Sethuram and others added 3 commits April 26, 2023 19:35
* Testnet sync (#3990)

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

---------

Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>

* testnet sync (#3992)

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

* fix: exclude null entities

---------

Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* Testnet Sync (#4013)

* feat: add dry-run functionality to init

* feat: add stages to init script

* feat: dai and usdt in prod config

* feat: log tx to send on dry run

* feat: log add init pool transactions

* fix: review updates

* config: adopted is xdai

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

* fix: exclude null entities

* chore: working logged transactions

* Tag connext testnet relayer

* Add locals for DAI, USDT

* Catch errors in getPool

* Bump sdk alpha

* Bump testnet

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: just-a-node <eye1717@gmail.com>

* Testnet-prod sync (#4028)

* feat: add dry-run functionality to init

* feat: add stages to init script

* feat: dai and usdt in prod config

* feat: log tx to send on dry run

* feat: log add init pool transactions

* fix: review updates

* config: adopted is xdai

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

* fix: exclude null entities

* feat: add more info to pool type

* feat: add calculateSwapLocal

* fix: unit tests

* chore: working logged transactions

* chore: coverage of sdk

* chore: coverage

* Tag connext testnet relayer

* Add locals for DAI, USDT

* Catch errors in getPool

* Bump sdk alpha

* refactor transfers with usd amount

* Bump testnet

* add usd amount to router views

* fix: build

* fix: yarn.lock

* fix: use abi instead of artifacts

* feat: abi export with fullname

* chore: clean console.log

* Moar storage

* Add gelato relayer

* update env of sdk mock to prod

* Query destination by executed timestamp (#4027)

* Query destination by executed timestamp

* Fix mocks

* Tests

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: just-a-node <eye1717@gmail.com>

* Testnet (#4032)

* feat: add dry-run functionality to init

* feat: add stages to init script

* feat: dai and usdt in prod config

* feat: log tx to send on dry run

* feat: log add init pool transactions

* fix: review updates

* config: adopted is xdai

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

* fix: exclude null entities

* feat: add more info to pool type

* feat: add calculateSwapLocal

* fix: unit tests

* chore: working logged transactions

* chore: coverage of sdk

* chore: coverage

* Tag connext testnet relayer

* Add locals for DAI, USDT

* Catch errors in getPool

* Bump sdk alpha

* refactor transfers with usd amount

* Bump testnet

* add usd amount to router views

* fix: build

* fix: yarn.lock

* fix: use abi instead of artifacts

* feat: abi export with fullname

* chore: clean console.log

* Moar storage

* Add gelato relayer

* update env of sdk mock to prod

* Query destination by executed timestamp (#4027)

* Query destination by executed timestamp

* Fix mocks

* Tests

* Add Pokt key

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: just-a-node <eye1717@gmail.com>

* Testnet sync (#4068)

* feat: add dry-run functionality to init

* feat: add stages to init script

* feat: dai and usdt in prod config

* feat: log tx to send on dry run

* feat: log add init pool transactions

* fix: review updates

* config: adopted is xdai

* fix: upgraded docs to latest (#3980)

* fix: upgraded docs to latest

* fix: added requested changes

---------

Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>

* feat: mark based on leaf count (#3989)

* fix: exclude null entities

* feat: add more info to pool type

* feat: add calculateSwapLocal

* fix: unit tests

* chore: working logged transactions

* chore: coverage of sdk

* chore: coverage

* Tag connext testnet relayer

* Add locals for DAI, USDT

* Catch errors in getPool

* Bump sdk alpha

* refactor transfers with usd amount

* Bump testnet

* add usd amount to router views

* fix: build

* fix: yarn.lock

* fix: use abi instead of artifacts

* feat: abi export with fullname

* chore: clean console.log

* Moar storage

* Add gelato relayer

* update env of sdk mock to prod

* Query destination by executed timestamp (#4027)

* Query destination by executed timestamp

* Fix mocks

* Tests

* Add Pokt key

* Fix comment

* 3971 chain abstraction package (#3994)

* feat: directory sketch

* feat: add chain-abstraction package to workspaces

* feat: cleanup

* feat: still sketch

* feat: add more optional params

* refactor: add todo functions

* feat: swapData to todo

* feat: still todo

* feat: add steps for prepareSwapAndXCall

* feat: mvp for prepareSwapAndXCall

* feat: hardcoded abis

* feat: docstring

* feat: docstring

* refactor: start with a simple solution

* refactor: combine swapper and swapdata

* feat: mvp of calculateRouteForSwapAndXCall

* feat: this is the cross-chain slippage

* feat: type definition done

* feat: kick off getXcallCallData

* feat: separate swapdata between origin and destination

* feat: no need to make it async

* feat: separate use

* feat: origin, destination

* feat: getXCallCallData

* feat: swapData for destination

* feat: clarify usecase

* feat: export functions

* feat: oneinch api

* fix: prepareSwapAndXCall

* Update package.json

* fix: lint

* test: kick off testing on polygon

* test: swapAndXcall passed

https://connextscan.io/tx/0x8e392a8af02e10a0d989d92c48922ec81515f68b44bf74b0634a5ea30f49ce81?src=search

* test: swapAndXCall + relayerFeeInTransacting works

https://connextscan.io/tx/0x0ea9db61a4a7ac8c4586d2f4acb0d524a43f2f3f60bf3c523b922e194b895418?src=search

* feat: update SwapAndXCall deployment

* feat: separate swapper on origin/destination

* docs: wrong trace link

* feat: support getting poolFee

* Update index.ts

* feat: create getPoolFeeForUniV3

* feat: prepare to get liquidity

* feat: sort by liquidity

* test: integrate getPoolFeeForUniV3

* fix: lint

* feat: ci/cd ops

* feat: shouldn't include the specific calldata generation

* feat: update cli per source changes

* build: remove incorrect import

* Add new p2p router

* feat: create mockable for chain-abstraction

* feat: unit test for swapdata

* feat: exclude index files

* feat: include chain-abstraction unit test

* chore: remove console log

* feat: swapAndXCall unit test

* feat: move to mockable

* Fix SDK pool (#4066)

* SDK version bump

* Add logger

* New release

* Update package.json

* Update package.json

* feat: unit test for getXCallCallData

* Gelato relay address changed

---------

Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
Co-authored-by: just-a-node <eye1717@gmail.com>

---------

Co-authored-by: Prathmesh Khandelwal <201952225@iiitvadodara.ac.in>
Co-authored-by: Prathmesh Khandelwal <prathmeshkhandelwal83@gmail.com>
Co-authored-by: wanglonghong <wanglonghong4467@gmail.com>
Co-authored-by: Layne Haber <layne.haber@gmail.com>
Co-authored-by: just-a-node <eye1717@gmail.com>
Co-authored-by: Liu <57480598+liu-zhipeng@users.noreply.github.com>
@sanchaymittal sanchaymittal merged commit 40d5d11 into testnet-prod May 8, 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.

2 participants