Weekly Dev Update #85
THORChain Weekly Dev Update for Week 85, 08–14 Mar; V0.29, V0.30, New Testnet, app.runeyield.info, ASGARDEX tweaks
Summary
The last multichain testnet was shutdown and relaunched after a significant bug on the Ethereum chain caused the vaults to go partially insolvent, as well as several other compounded issues. The chain also needed a hard fork to get the latest asset naming conventions included. The chain *could* have been recovered, but the team decided for a clean start since maintaining versioning code creates additional entropy.
The team are internally testing the newest multichain testnet until it is stable, then will invite public nodes again. If this testnet is proven to be stable, it will be taken to chaosnet. All interfaces are ready, and Midgard is also ready, so it’s now down to testing and stablity.
Multichain Releases V0.29–0.30
As bugs are found on Testnet, they are deployed rapidly via the upgrade process, the following releases:
Version 0.29
1. Relax memo to 250 bytes and enforce it in bifrost , at the moment memo cap at 140 bytes, longer than that will be rejected by thorchain. PR (https://gitlab.com/thorchain/thornode/-/merge_requests/1535)
2. Errata for outbound tx , if an outbound tx get re-org out of external chain , reschedule tx . PR (https://gitlab.com/thorchain/thornode/-/merge_requests/1533)
3. Add “EventPoolBalanceChanged” event, which will be emitted when pool balance get changed due to network’s internal activity, for example when network burn dust left on retiring vault or charge pool stage cost.
PR (https://gitlab.com/thorchain/thornode/-/merge_requests/1536 )
Version 0.30
1. Not refund ERC20 RUNE , as ERC20 RUNE has been burned as soon as it reach router contract , also use migration to remove a stucked tx out item . PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1538
2. Bifrost report Errata for (BTC/BCH/LTC) as a mistake , also it fail detect re-org on ETH chain PR:https://gitlab.com/thorchain/thornode/-/merge_requests/1537
Multichain Resources
Midgard: https://testnet.midgard.thorchain.info
THORNode: https://testnet.thornode.thorchain.info
RPC: https://testnet.rpc.thorchain.info
(https://cosmos.network/rpc/v0.37.9)
Seed Service: https://testnet.seed.thorchain.info
THORNode
Several bugs around handling Ethereum re-orgs (which happens frequently) were pushed into V0.30. Stage pool events were also added to allow Midgard to track deductions in RUNE from the staged pools. A security edge case around node unbonding and potential re-orged chains were addressed by blocking rapid node unbonds (a node could return assets, then immediately re-org it back, then unbond and leave). Synths were renamed to simply BTC/BTC ETH/ETH
where the slash (instead of .
) indicates a synth.
Lastly, the significant bug, a blockscanner retry loop causes outbound transactions to be signed and sent, but not observed. This caused outbounds to be continually duplicated, causing solvency problems. This was fixed. The chain was exported to include existing RUNE balances, and re-launched.
Midgard
Work continues to update Midgard V2 to handle Multichain requirements. The new work was to include StagePoolFees
.
XChainJS
Stability and fixes for Asgardex requirements.
Bridges
Actively-developed bridges will be reported here going forward. Bridges are commissioned once a team who can implement is identified and work begins.
Complete
- Bitcoin: Deployed to testnet
- Ethereum: Deployed to testnet
- BitcoinCash: Deployed to testnet
- Litecoin: Deployed to testnet
UTXO Chains
- Dogecoin: Complete, will be activated after MCCN
- ZCash: Scoped, rain-checked
Cryptonote
- Haven: MSS complete, rain-checked until after MCCN since the MCTN is demanding resources to stabilise.
- Monero: Pending Haven implementation
Custom
- Cardano — Scoping
- Polkadot: Demo’d, rain-checked until after MCCN since the MCTN is demanding resources to stabilise.
- Avalanche: Rain-checked
- Zilliqa: Scoped, rain-checked
EVM Chains
- Binance Smart Chain: Likely after MCCN
- Ethereum Classic: Rain-checked
- Rootstock: Rain-checked
- Arbitrum: Rain-checked
IBC
Pending IBC integration — Cosmos, Terra, Kava, Secret Network, Injective Protocol, Sifchain, Akash Network
Clients
BEPSwap Client
Numerous UI/UX tweaks based on community feedback
ASGARDEX Client
Work continues to prepare the client for Multichain Chaosnet. V0.0.7 was released and includes BCH and many UX fixes.
ASGARD.EXCHANGE
Litecoin and BitcoinCash were integrated.
Community Work
The following tools receive regular updates:
Telegram Bot
Twitter Bot
Delphi Defi Dashboard
Upcoming Release for the Dashboard
https://defi.delphidigital.io/thorchain/chaosnet/network
THORChain Network Explorer
Continual Improvements, now with custom sub-domains for each net:
https://testnet.thorchain.net/
https://multichain-testnet.thorchain.net/
THORChain Official Block Explorer
https://viewblock.io/thorchain
https://dash.viewblock.io/d/thorchain
RUNEData
View historical yield and simulate future yield in pools:
RUNEBalance
View current arbitrage opportunities in the pools. New card-style overviews.
https://www.runebalance.com/#/pools
RUNEStake && RUNEYield
RUNEStake can be used to see yield in THORChain liquidity pools.
https://app.runeyield.info/wallet/walletlist
Trading Leaderboard
View the current leaderboard for traders on THORChain
https://leaderboard.thornode.org/
GrassRootsCrypto Youtube
GrassRootsCrypto consistently puts out great educational videos on THORChain, users should subscribe and bookmark the channel.
https://www.youtube.com/channel/UCuC_PiCEsNIT6HH88r7vCsw/videos
Next Milestones
1 week of internal testing, 1 week of public testing is the absolute minimum timeline to reach MCCN by end of month. Likelihood of delays is high. Pray to Odin for a smooth launch.
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
- Reddit: https://reddit.com/r/thorchain
- Gitlab (primary): https://gitlab.com/thorchain
- Github (secondary): https://github.com/thorchain
- Medium: https://medium.com/thorchain