Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------------------------------------------
- 1/7/2021 ZAI INCIDENT REPORT
- ------------------------------------------------------------------------------
- As you all know, the system is currently bugged as we are continuously expanding whilst we should be in debt. A few community members have deciphered the problem and believe it is due to a very small error (1 line of code) with the price oracle.
- Analysis:
- "oracle was copy pasted from DSD-USDC oracle code
- usdc has 6 decimals while dsd has 18. therefore the oracle multiplied the ratio by 10^12
- however dai has 18 decimals and dsd has 18 decimals so no multiplication is required
- but the copy pasted code still multiplied by 10^12
- therefore the updated proposal dao code divides the result by 12^12 to cancel that out and report the correct price"
- The developer has seemed to notice right away and worked on a fix. A new contract was deployed and a new governance proposal was launched. A community member has checked the code and found that the new code had fixed the problem AND was the only thing different.
- Resolution:
- We need everyone in DAO to go and vote YES on the proposal. We require 66% approval for the new contract to deploy and we are almost there (65. 70 %). Once approved, the new contract will takeover in 2 days.
- Note: In order to vote, you must be in DAO, be UNLOCKED, and BONDED. Also, when voting, it will show as "STAKED ZAIS" as "0". Ignore this as it is a UI glitch.
- The developer is still unknown, however, he/she/they are always quick to respond to the community by working in the background. Let's keep our faith in this project!
- CREDITS:
- @aliev224, @gibsatoshii, @airdroppered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement