Yield Farming Launch: Bug Fixes and Next Steps
Dear LOAders, pursuant to our communications yesterday regarding the issues faced during the yield farming launch, we would like to update the community with further details on what happened, as well as what to expect moving forward.
For context, the above statement was issued at 4.25pm UTC on 31 May 2022, referring to an initial UI bug we discovered, where APR, rewards, and tokens staked were not being displayed correctly or shown at all. This issue has since been rectified by the team.
After implementing the fix, we discovered a new issue in which the yield farming interface was not displaying the correct amount of rewards earned; users observed a fluctuating number that is much lower than the actual amount that was supposed to be earned instead.
What caused it?
Following a deep dive into the smart contract, a decimal error related to the rewards distributed per second was discovered, leading to the miscalculation of rewards displayed.
Once again, we would like to assure the community that all tokens are still safely contained within the smart contract, and that this is merely a calculation error related to the rewards system itself.
The solution
To rectify the issue, a new smart contract will be deployed to correct the error. Thereafter, users will be able to migrate their tokens from the old smart contract to the new smart contract, thus resolving the issue.
What about the rewards we’ve earned thus far?
Undoubtedly, the most pressing issue on everyone’s minds is: what will happen to my rewards? Will I be compensated for the shortfall caused by the error?
The answer is yes.
When users migrate their tokens from the old smart contract to the new one, the rewards owed from the time of staking up until the deployment of the new smart contract will be accurately calculated and automatically claimed into the user’s wallet.
Next steps
Once the deployment of the updated smart contract is complete and the error rectified, we will notify the community via our social media channels, so please keep your eyes peeled for any new announcements.
To guide users through the migration process, our team and mods will be available on the official LOA Discord channel to assist with any queries.
We wholeheartedly apologise for the inconvenience caused by this issue, and resolve to do better moving forward. The team has already scheduled a post-mortem to assess the incident so we can prevent further missteps down the road.
In the meantime, we are committed to keeping the community in the loop with the latest developments and maintaining a clear channel of communication between our LOAders and the dev team. Please feel free to reach out to us on Discord to leave feedback or seek assistance during this time.
Thank you for your patience as we weather through these unforeseen difficulties.
If you would like to find out more about League of Ancients, visit our website at www.leagueofancients.com, and join our Discord at https://discord.gg/loa