Weekly Dev Update #49
THORChain Weekly Dev Update for Week 23–30 June 2020; Internal Audit, Large Scale Ragnarok and Churning, Gauntlet Audit,
THORChain Weekly Dev Update for Week 23–30 June 2020; Internal Audit, Large Scale Ragnarok and Churning, Gauntlet Audit, Block Explorer.
Summary
Internal Audit
The team continued to audit the code base in preparation for Chaosnet.
Large Scale Ragnarok Tests
The team tested THORChain in large-scale Ragnarok scenarios and found it worked as intended after some minor bug fixes.
Large Scale Churning
The team are preparing to test that THORChain works as designed in large scale churn scenarios, with up to 30 nodes.
THORNode
Bugfixes from testnets, as well as some quality and feature inclusions from testing.
- Resolve “[FIX] fix vault error and unit test on master”
- Fix enable telemetry genesis
- Resolve “[CLEANUP] Internal code audit , code clean up (handlers-2)”
- 531-issue add test for observedTxin handler
- [bugfix] charge a rune to use cli commands
- [audit] handlers
- [bugfix] mimir max bond patch, and halted trading endpoint tweak
- [bugfix] don’t unbond when ygg returns funds automatically
- Resolve “[CLEANUP] Internal code audit, handler-4”
- add some test for switch handler
- fix build , lint error
- Add external address for thor-daemon
- Use IP from param if available
Midgard
Bugfixes and feature
TSS
- add support of passing public ip to nodes p2p network
- check the file name to ensure it is a valid point
- Party timeout
- resolve the freeze in join party
Clients
BEPSwap Client
Numerous UI/UX tweaks based on community feedback
ASGARDEX Client
Work continues to prepare the client for Chaosnet.
- Check keystore at start
- Add tests for `services/wallet/util.ts`
- Resolve “Calculate `blocks left` for deepest pending pool “
- Add TokenDetailCard component
- Setup BinanceClient + Load balances
- Fix storybook
- Add test partially to `binance/service/`
- Use latest `asgardex-crypto`
- Resolves: Switch `mainnet` <-> `testnet`
THORNode Infra
The team continue to mature out the k8s infrastructure:
- Add THORChain dashboard
- Handle external ip
- Gateway
- Fix set ip address from param
- Add resource limits requests
Community Work
A block explorer from an external team has been commissioned and will be ready within the month.
Audits
The team received the final report from Gauntlet.
- 1million Rune is sufficient to start the network
- The Incentive Pendulum works as intended
- The system stays safe in a variety of market conditions.

This completes the initial round of Audits the team intended:
- Code Review by Certik
- TSS Review by Kudelski
- Economic Review by Gauntlet
Next Milestones
The testnet 4 is being prepared and will be made public soon. Chaosnet is expected once testnet has been fully-validated in several environments.
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
- Github: https://github.com/thorchain
- Medium: https://medium.com/thorchain