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

Commits on May 29, 2024

  1. Fix testnet branch (#20)

    * 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 <alexander@lindgren.xyz>
    jsanmigimeno and reednaa committed May 29, 2024
    Configuration menu
    Copy the full SHA
    2e40e83 View commit details
    Browse the repository at this point in the history
  2. Update git build to build testnet pushes (#22)

    * feat: update git build to build testnet pushes
    reednaa committed May 29, 2024
    Configuration menu
    Copy the full SHA
    10e2106 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    7855a64 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    b86a097 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. [feat]: Enhance wallet port communication (#30)

    * fix: Variable name
    
    * feat: Better structure wallet communication
    
    * feat: Add 'getFeeData' query to wallet worker and overhaul gas calculation logic
    jsanmigimeno committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    dc44835 View commit details
    Browse the repository at this point in the history
  2. [feat]: Implement better bounty evaluation (#29)

    * 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 <alexander@lindgren.xyz>
    jsanmigimeno and reednaa committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    98a39bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dbdf734 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22e5280 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8dbd169 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    20a8ac1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    078293b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c4d35d View commit details
    Browse the repository at this point in the history
  3. [feat] Layer Zero Relayer support (#36)

    * 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 <8038323+jsanmigimeno@users.noreply.github.com>
    ajimeno04 and jsanmigimeno committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d577c94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fe331d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1559904 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bb7ba67 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf09e1b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    089801c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    726c15a View commit details
    Browse the repository at this point in the history
  10. Merge pull request #40 from catalystdao/jsanmi/overhaul-logs

    [chore]: Overhaul logs
    jsanmigimeno committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    905378e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. chore: Minor log update

    jsanmigimeno committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    d667fa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75f6098 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. [feat]: Add Chain ID verification against RPC (#37)

    * 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 <8038323+jsanmigimeno@users.noreply.github.com>
    ajimeno04 and jsanmigimeno committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    587d234 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b69899 View commit details
    Browse the repository at this point in the history
  3. [feat]: Implement pricing controller (#42)

    * feat: Implement a pricing controller to query arbitrary token prices
    
    * fix: Make use of 'tokenId'
    
    * fix: Wait for the pricing service to be ready
    jsanmigimeno committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    ca5b1c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    a58350a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82a603f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. [chore]: Store Refactor (#47)

    * refactor: Complete store refactor
    
    * chore: Recover 'transactionBlockNumber' naming
    
    * fix: Wormhole recovery (txHash and block data)
    
    * fix: LZ messageIdentifier storage
    
    * fix: LayerZero AMBMessage generation
    jsanmigimeno committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2bb6d47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8227893 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9eba531 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d86a98a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df046aa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    24a626c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b1aec2c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    135ccd1 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    98ef71b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    be45584 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. [feat]: Implement an evaluator service and controller (#48)

    * 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
    jsanmigimeno committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    03a2e38 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. [feat]: Overhaul private key management (#27)

    * 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 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    2736f9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca6bbfc View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    8176c0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f84e32 View commit details
    Browse the repository at this point in the history