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

feat: Upgrade main to v0.2.0 #49

Merged
merged 42 commits into from
Jul 25, 2024
Merged

feat: Upgrade main to v0.2.0 #49

merged 42 commits into from
Jul 25, 2024

Conversation

jsanmigimeno
Copy link
Member

No description provided.

jsanmigimeno and others added 30 commits May 29, 2024 12:36
* feat: Mainnet example configuration

* feat: Update docker compose for mainnet

* Revert "feat: Update docker compose for mainnet"

This reverts commit 487bb64.

* feat: Update docker compose for mainnet

* chore: Add some comments back to config.example.yaml

* fix: Relayer engine wormhole-sdk dependency

* fix: relayer-engine import

* fix: Wormhole recovery api endpoint

* chore: Refactor wallet ports (route via wallet service)

* feat: Wallet worker restart mechanism

* chore: Bump version to 0.1.1

* fix: Set Wormhole spy to 'testnet'

* chore: Recover testnet example config

---------

Co-authored-by: Alexander <[email protected]>
* feat: update git build to build testnet pushes
* fix: Variable name

* feat: Better structure wallet communication

* feat: Add 'getFeeData' query to wallet worker and overhaul gas calculation logic
* feat: Bounty evaluation (untested)

* fix: Pricing service config and loading

* fix: Replace node-fetch with axios ('require' problem)

* fix: Pricing provider fixes

* fix: delivery 'gasUsed' logic for evaluation

* chore: Improve evaluation logging

* chore: Fix pricing 'coinId's

* chore: Add comments

* fix: Revert pricing coinIds to 'ethereum'

* chore: Remove 'gasLimitBuffer'

* fix: gas cost calculation

* chore: Improve pricing evaluation logging

* feat: Mainnet example configuration

* feat: Update docker compose for mainnet

* Revert "feat: Update docker compose for mainnet"

This reverts commit 487bb64.

* feat: Update docker compose for mainnet

* chore: Add some comments back to config.example.yaml

* fix: Relayer engine wormhole-sdk dependency

* fix: relayer-engine import

* fix: Wormhole recovery api endpoint

* chore: Refactor wallet ports (route via wallet service)

* feat: Wallet worker restart mechanism

* fix: pnpm-lock after merge

* feat: Take into account 'unrewarded' gas on bounty evaluation

* fix: Variable name

* fix: Variable name

* feat: Better structure wallet communication

* feat: Add 'getFeeData' query to wallet worker and overhaul gas calculation logic

* chore: Overhaul relay eval (WIP)

* chore: Overhaul and refactor the bounty evaluation logic

* chore: Remove the 'evaluator' module

* feat: Add order reevaluation logic

* chore: Fix confusing log statement

* feat: Implement a 'profitability factor'

* feat: Add CoinGecko config validation

* chore: Recover testnet config

* chore: Add 'coinId' to example config

* fix: Overhaul the max ack gas loss

* feat: Implement addtional fee estimation via resolvers

* feat: Add OP and Base resolvers

* chore: Add 'additionalFeeEstimation' to eval logs

* chore: Improve delivery evaluation logging

* feat: Improve bounty evaluation on arbitrum-like chains

---------

Co-authored-by: Alexander <[email protected]>
* Chore: Add ABIs for Layer Zero Collector

* Chore: Add store and utils functions which collector is dependent on

* Chore: Add the script that initialises the worker and the worker script itself that functions as a layer-zero collector.

* Fix: remove useless comments and improve readability of decodeHeader

* Fix: Requested changes related to logging

* Fix: Improve queryLogs function in order to have consistency on the relayer

* Fix: remove debugging code

* fix: Error logging

* chore: Remove unused import

* feat: Add layer-zero example configuration

---------

Co-authored-by: Jorge Sanmiguel <[email protected]>
* Chore: Add Chain ID verification against RPC

* Fix: Config.service.ts validateChainIdFromRPC function

* Style: Remove white spaces

* Fix: Improve the way the chainID is validated to be called from the constructor

* Fix: Clean and improve minor changes

* Fix: Add isReady to main.ts

* refactor: Minor formatting recover and improvement

* chore: Add comment

---------

Co-authored-by: Jorge Sanmiguel <[email protected]>
* feat: Implement a pricing controller to query arbitrary token prices

* fix: Make use of 'tokenId'

* fix: Wait for the pricing service to be ready
* refactor: Complete store refactor

* chore: Recover 'transactionBlockNumber' naming

* fix: Wormhole recovery (txHash and block data)

* fix: LZ messageIdentifier storage

* fix: LayerZero AMBMessage generation
* refactor: Extract evaluation logic into a standalone module/worker

* fix: Port handling

* fix: Evaluator response handling

* fix: Remove chainId check

* chore: Update config.example.yaml with the new evaluator config

* feat: Implement evaluator controller

* feat: Return errors on failed evaluation queries

* refactor: Minor evaluator types refactor

* feat: Add logging statments to the evaluator

* chore: Misspelt variable correction

* feat: Effectively disable evaluation when profitabilityFactor is 0

* fix: Evaluation calculation 0 division
* feat: Overhaul the 'privateKey' loading mechanism

* chore: Minor code refactor

* chore: Undo the removal of the wallet service 'publicKey' property

* Merge branch 'testnet' into jsanmi/overhaul-private-key-management
@jsanmigimeno jsanmigimeno added the enhancement New feature or request label Jul 25, 2024
@jsanmigimeno jsanmigimeno self-assigned this Jul 25, 2024
@jsanmigimeno jsanmigimeno merged commit a1d8160 into main Jul 25, 2024
1 check passed
@jsanmigimeno jsanmigimeno deleted the jsanmi/main-v0.2.0 branch July 25, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants