Weekly Dev Update #26
THORChain Weekly Dev Update for Week 14–20 Jan 2020
Overview
No significant changes, with a focus on bug-fixing and validation.
Bug-fixes
Various fixes to address issues raised in testing.
- [bugfix] increase gas for cli txs
- Resolve “[FIX] create yggdrasil pool”
- [bugfix] allow bonding a second time
- [bugfix] Disable node account on request to leave
- [bugfix] save node account after removing
- [bugfix] hit max validator set, not max — 1
- Resolve “[FIX] add fund to vault on observe tx”
- [bugfix] mark leave accounts as standby
Enhancements
Bond events were added to allow Midgard to track nodes coming and going. Upgrade logic was added to the validator and vault manager, as well as the txout
store. This will allow easy network upgrades in future.
Other tweaks to augment the core infrastructure.
- Resolve “[ADD] add bond events”
- Resolve “versionize validator manager”
- Resolve “versionize vault manager”
- Resolve “versionize txout store”
- [infra] use new tss clis
- use addr instead of ports for tss
- 318-issue update yggdrasil handler
- [infra] Mocknet tweaks
- Resolve “[ChaosNet] 1 Day rotations”
- [testing] add unit tests that staks and unstakes process
Midgard
Fixes were merged that were discovered during integration with the client.
BEPSwap Client
More engineering resources have been applied to get the BEPSwap client to production. Fixes for various QA issues discovered.
- Resolve “Error loading stake page”
- Resolve “Update the asset price unit in the wallet drawer”
- Resolve “BUG: click stake pair doesn’t lead to the certain stake page”
- Resolve “Error loading stake page with no pool share”
- Resolve “Fix: issue in the price calculation”
- Resolve “Show base price tokens in the disconnect status”
- Resolve “Update price unit and amount in the swap and stake confirmation modal”
- Resolve “Update token detail section in the create pool page”
- Add basic TS support
- Resolve “Fix price logic in the token dropdown”
- Resolve “FIX: CLP formula msising on swap calc”
- Resolve “ADD: Order pools in list by depth”
- Resolve “FIX: Back button on landing page to be called ‘See all pools’”
- Resolve “FIX: Unable to stake assymetrically”
- Resolve “Fix: Avg slip in the pool list”
- Resolve “FIX: Stake confirmation values incorrect”
- Fix layout of input elements
- Resolve “ADD: Call to action change after swap”
Asgard Wallet
Engineering resources have been hired to begin the Asgard Wallet. In time the full team will include a wallet lead, front-end developer and a UX/UI designer.
Asgard Wallet V0.1 will be a cross-platform Binance Chain wallet, with a pathway to Bitcoin and Ethereum support. Asgard Wallet is a cornerstone of the project, allowing a censorship-resistant client to be provided to users. Asgard Wallet will allow seamless interaction with the network, with swaps, stakes and bonding as a THORNode.
Audit
Code Review: Commenced
Economic Review: Commenced
TSS Audit: Commenced
Next Milestones
The updated testnet is in the final stages of testing.
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