Dev Update #122-#125
THORChain Dev Update for Weeks 122–125, 20 Dec — 09 Jan; Stagenet Update, DOGE in Stagenet, Mimir Handover, MCCN Updates, Community Updates.
Summary
Happy New Year! Last year was a big year, and this year will be even bigger for THORChain. 2022 will be the year THORChain’s functionality is completed. This will include;
- DOGE, TERRA, ATOM, with more on the way (depending on what the community wants to see added)
- Mainnet
- Thornames
- THORFi (Synths, THORSavings (Synths Vault), Lending, Composites)
- Multi bonder validator nodes
- Vault nodes (aka lite nodes)
- A push for wallet and liquidity integrations to increase trade volume (and pool depths)
- Planned obsolescence
Everything afterwards will likely be maintenance and adding more chains/assets.
Highlights over the last 3 weeks:
- Stagenet deployed
- Ethereum Router V3 Upgraded
- Cap Raise by 1M RUNE
- Node Mimir deployed in v0.78.0
- Soft cap to bond percentage increased from 50% to 55%
- Emission Curve updated to 8 to increase average pool APY to 30%.
- DOGE deployed to Stagenet
Stagenet Update
Stagenet nodes were fully synced and Stagenet was deployed. DOGE pool was added to Stagenet and was visible on THORSwap.
Swaps have successfully been done on DOGE in Stagenet and when testing is fully completed Nodes will be able to vote to accept it to Chaosnet.
As DOGE is the first case-sensitive address in THORChain, new Stagenet version of Midgard was deployed to handle this (https://gitlab.com/thorchain/midgard/-/merge_requests/253) which will need to be merged into Chaosnet before DODGE can be added there. Follow the full DOGE to Chaosnet deployment here. https://gitlab.com/thorchain/thornode/-/issues/1211
After DOGE, TERRA (LUNA and UST only) will be next followed by ATOM.
Stagenet is accessible via THORSwap and AsgardEx Desktop.
Node Mimir Change
The implementation of “Node operator controlled mimir” https://gitlab.com/thorchain/thornode/-/merge_requests/2023 marked the handover of Mimir control from the core team to the Node Operators. It is an important achievement increasing THORChain decentralisation and a required step for Mainnet and Planned Obsolescence.
Planned Obsolescence
- PO is necessary for THORChain to “grow up” and serve as the original (centralised but necessary) controls the OG team had on the project. Without PO, how will anyone ever be sure that the OG Team are still controlling the network, treasury, mimir and more, such as domains, git, servers etc?
- PO can only happen if there is a strong community-led team to hand over to. Luckily for THORChain, team @Nine Realms stood up for the task. Thus at this stage, PO is being directed for a 9R handover.
- But 1 team is not enough. Community should be aiming for 2–3. Protocol team, middleware team, interface team and more. There is an ongoing focus to find and recruit these teams.
- Why would a team be interested? Because the Operational Treasury is going to be cut up and distributed to these teams for the next 5–10 year management. No DAOs. Just 2–3 handpicked operational teams to manage the funds and deliver. There is likely $50m+ of treasury funds for this. These teams spend the funds as required to deliver.
Call to Action
If you think you can self-organise and lead a team for this purpose, stand up now, start building and get in touch.
Halborn Update
Pleased to let you know that our engineering team is and has been working closely with THORChain core team in the past months. We’ve been planning out the next upcoming work for Q1 and Q1 2022.
Halborn is currently working on THORChain Node Security Testing. Once this task is ready, the private report will be sent to the TC core dev team — and they shall carry out the remediations. After this is finished — public reports will be released.
Retiring of ETH.RUNE and BNB.RUNE
Core team upgraded the Protocol Reserve of 120m BNB.RUNE to Native RUNE. Additionally, 50m (team) and 26m (seeds) vested allocation were also upgraded from BNB.RUNE to Native RUNE”. Approx Rune distribution is as follows:
- Native Rune: 71%
- BNB.RUNE: 26%
- ETH.RUNE: 3%
Upgrade guide of Rune is available at https://medium.com/@THORNOOB/how-to-switch-to-native-rune-using-ledger-2-ways-d7830dd9bc4
There are currently incentives in the THORSwap + Olympus DAO Partnership to reduce the ETH.RUNE supply.
ETH.RUNE KillSwitch
- Code is released (yet to be written), but will be flagged off, to be done sometime after the mainnet.
- Nodes can flag it using node-mimir.
- ETH.RUNE is killed after 6 months.
BNB.RUNE KillSwitch
- Released, flagged off, likely sometime close to Planned Obsolescence
- Nodes can flag it on using node-mimir
- BNB.RUNE is killed after another 6 months.
Timeframes for Mainnet net and Planned Obsolescence have NOT been set. KillSwitch code is yet to be written.
Reasons Node Operators would flag it on?
- Reduces the third-party dependency of Binance Chain which is centralised and a “heavy” chain
- Kills the old RUNE and forces exchanges to adopt native rune
- This kills the old market and any discount between the two
- Removes SWITCH logic, and the possibility of IOU RUNE causing an infinite mint bug on THORChain
MCCN Updates
AsgardEx Desktop Update
Important Security and Stagenet release.
https://github.com/thorchain/asgardex-electron/releases/tag/v0.6.2
THORNODE Update 0.77.2
1) [BUG] Update go-tss & tss-lib dependencies. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2027
2) [BUG] Fix asgard vault balance that caused by a donation. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2024
3) [BUG] fix small typo. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2022
4) [BUG] Update DODO over solvent amount. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2029
5) [BUG] Store Migration used the wrong pub key. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2037
release: https://gitlab.com/thorchain/thornode/-/tags/v0.77.0
release: https://gitlab.com/thorchain/thornode/-/tags/v0.77.1
Note: release 0.77.2 only update the vault pubkey value, which should not cause consensus failure , and the change is not applicable to testnet , thus it will be released directly
release: https://gitlab.com/thorchain/thornode/-/tags/v0.77.2
THORNODE Update 0.77.3
1) Cherry-pick changes in PR #2044 “[BUG] Binance Daemon Not responding cause bifrost double spent, node bond get slashed” for release 0.77.3 to chaosnet. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2046
release: https://gitlab.com/thorchain/thornode/-/tags/v0.77.3-chaosnet
THORNODE Update 0.78.0
1) [BUG] Binance Daemon Not responding cause bifrost double spent, node bond get slashed. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2044
2) [BUG] Affiliated Fee cause node bond to be slashed. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2042
3) [BUG] Fix seeds_list , so new node can sync with the network. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2041
4) [ADD] Chain Gas Metrics. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2039
5) [BUG] Allow ETH gas to drop to half. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2035
6) [ADD] Static Analysis. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2034
7) [ADD] Slash Metrics. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2033
8) [ADD] whitelist validators for stagenet. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2032
9) [BUG] Inbound tx to inactive asgard should be ignored. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2031
10) [BUG] blacklist binance CEX. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2028
11) [ADD] Make validator block rewards relative to bond up to a hard cap. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2025
12) [ADD] Node operator controlled mimir. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2023
13) [ADD] Stagenet. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/2019
14) [ADD] 1inch erc20 whitelist. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1988
https://gitlab.com/thorchain/thornode/-/tags/v0.78.0
Note:
1) This release will also start dogecoin-daemon, and start to sync a DOGE full node, prepare to add DOGE chain next
2) There is a new service thornode-bepswap get enabled by a mistake, it will be removed in a following PR.
Community Updates
THORNoob
Weekly Community Recap Dec 17-Dec 29: THORChain
Brokkr Dev Report 🚀
- Improve transaction confirmation window
- Fee calculation improvements
- Terra Wallet integration (not active yet)
- Various bug fixes
- Show maximum available amount for the “From” Asset
- Added a network status page
- Improved loading time by about 50%
- Various UI/UX improvements
- Better decimal handling
- Simplified fees in confirmation window
- Improve change asset function
- Add THORChain security checks
- Fix various smaller issues
You can follow Brokkr updates here:
Twitter: @Brokkrfinance TG: https://t.me/brokkrfinance Discord: https://discord.gg/brokkr
TRX1’s Weekly Dev Report (20/12–26/12)
Slack bot: Working on a front end for NodeOp tools settings (see screenshot below).
This will be a convenient and universal way to set up node status notifications for all messengers (Telegram, Discord, Slack).
I plan to finish this task after the New Year holidays.
TRX1’s Weekly Dev Report (27/12–02/01)
THORChain Monitoring bot
- NodeOp tools settings:
- Search & filtering the node list
- Improved design
- Added a few alert settings
- Investigating a couple of bugs related to TX notifications
*Not much has been done this week because of the New Year’s holidays.
*Next to do:
- API for loading/storing settings
- New Docker + WebServer configuration to serve both Slack’s OAuth flow and HTTP-API
- Security features
- Prepare a roadmap for Q1 2022
TRX1’s Weekly Dev Report (03/01–09/01)
THORChain Monitoring bot
• Basic $Doge support
• Merging two actions having the same input hashes (it is related to the affiliate fee)
• As a bonus: added a note to large TX notification about affiliate fees, if applicable
• Messages about Mimir changes are accompanied by an indication of the actor: admin or automatic solvency checker (there is no “team” word anymore)
• A new notification when there is free space in the liquidity pools
• Fixed formatting of small Rune amounts
• More unit-tests and debugging scenarios
• WIP: Monitoring of BEP2 Rune flows (CEX inflow/outflow)
Next week:
• Integrate NodeOp settings front end to the bot code and API for it
- Finish BEP2 monitoring and introduce new notification types
Bridge Status
Immediate Focus
- DOGE — Completed, in Stagenet.
- TERRA — Completed, Awaiting Stagenet Deployment (LUNA and UST only).
- ATOM — Completed, Awaiting Stagenet Deployment. Will follow after TERRA.
Upcoming in 2022
- Decred — https://gitlab.com/thorchain/thornode/-/issues/991
- Dash — https://gitlab.com/thorchain/thornode/-/issues/982
- Solana — https://gitlab.com/thorchain/thornode/-/merge_requests/1514. Reach
- Monero —
- https://gitlab.com/thorchain/tss/go-tss/-/tree/moneroTss, https://gitlab.com/thorchain/tss/monero-sign, https://gitlab.com/thorchain/tss/monero-wallet-rpc
More details follow Terra is done.
Want to see bridges built quicker, get involved on our Discord Server!
Community
To keep up to date, please monitor community channels, particularly Telegram and Twitter:
- Twitter: https://twitter.com/thorchain_org
- Telegram Community: https://t.me/thorchain_org
- Telegram Announcements: https://t.me/thorchain
- Dev Discord https://discord.gg/kvZhpEtHAw
- Reddit: https://reddit.com/r/thorchain
- Gitlab (primary): https://gitlab.com/thorchain
- Github (secondary): https://github.com/thorchain
- Medium: https://medium.com/thorchain