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

v0.11.13 #68

Merged
merged 1 commit into from
Feb 29, 2024
Merged

v0.11.13 #68

merged 1 commit into from
Feb 29, 2024

Conversation

pouya-eghbali
Copy link
Member

  • Properly handle client errors

@pouya-eghbali pouya-eghbali added the WTD Trigger What-The-Diff label Feb 29, 2024
Copy link

what-the-diff bot commented Feb 29, 2024

PR Summary

  • Update of Software Version
    The Version constant in the constants.go file was updated to "0.11.13", which indicates a new iteration of the software version.

  • Enhanced Error Handling and Logging in uniswap.go
    Multiple functions in the uniswap.go file have been updated to improve their error handling and logging capacity. This will contribute to better debugging and understanding of issues when they arise. The main areas of improvement include:

    • Failure to obtain the latest block number for a specific chain.
    • Difficulty in updating or inserting token signers and asset prices.
    • Problems with reading the "plugins.uniswap.tokens" from the configuration file.
    • Issues with fetching token price from RPC.
    • Complications in encoding price info and price report to a format that can be stored or transmitted.
    • Problems with procuring the latest block from a specific chain.
    • Hiccups in creating the token scheduler, token price cache, and scheduling the token price task.
    • Issues with setting up the token price signature cache, token price consensus cache, and token price aggregate cache.
  • Initialization of lastBlock Variable
    The init function now initialises the lastBlock variable using xsync.NewMapOf which offers more capabilities than the old method of xsync.NewEmptyMapOf. As a result, the updated function will improve the program's performance and stability.

@pouya-eghbali pouya-eghbali merged commit 1f05942 into master Feb 29, 2024
1 check passed
@pouya-eghbali pouya-eghbali deleted the v0.11.13 branch February 29, 2024 23:09
logicalangel pushed a commit that referenced this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WTD Trigger What-The-Diff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant