Weekly Dev Update #27
THORChain Weekly Dev Update for Week 21–27 Jan 2020
Overview
The team welcome two additional engineers to the team to assist in the client development and Bifröst module. They have sufficient experience in the blockchain industry and will bring a fresh set of eyes to the codebase.
THORNode
The THORNode team have been focussing on identifying and fixing issues in the validation of a full life-cycle of THORChain. There number of edge cases found and addressed is reducing.
- [bugfix] emit both inbound and outbound txns if both apply
- Update thorclient
- 322-issue the highest version that has majority
- 319-issue add logic to subsidize pool with slashed bond (RUNE)
- Refactor docker builds
- ensure pools have an asset
- [bugfix] add rune in leave msg to bond
- [bugfix] Mocknet patches
- [refactor] merge pubkey managers
- Resolve “[FIX] slash node account if it send the same txout item many times”
The Bifröst team have just upgrade the module to a V2, which will allow greater abstraction across multiple chains. This work is necessary to ensure the module can be quickly re-adapted for chains with good code re-use.
- [ADD] Bifrost v2 config, types, pkg components
- [ADD] Update metrics to v2
- Use int64 for block height instead of uint64
Midgard API
The Midgard team have been implementing fixes and additional tweaks to ensure a robust client service.
- Added: Extented tests, notes, extra test output.
- Add: Smoke test data
- Resolve “CHANGE: Slip to Basis Points”
- Resolve “Midgard reward event json implementation does’t match the one implemented in Thornode latest version”
- Fixes: buyTxAverage, buyFeeAverage, Standardised sell methods, Expaned tests
- Complete Block Reward event handler
Frontend Client
The frontend team have been addressing issues found in QA and are getting closer to public consumption.
- Resolve “FIX: Styling on wallet drawer”
- Resolve “Update: show 2 decimal points for price and exchange rate”
- Resolve “FIX: Styling on sliders”
- Resolve “Fix: stake list issue in the wallet drawer”
- Resolve “FIX: Advanced stake calculation UX issues”
- Resolve “Fix: exchange rate calculation”
- Fix withdraw timer modal for withdrawing stake
- Remove `console.log` and log errors only
- Fix state handling of timer modal
- Re-define pw handling
- Fix modal styles on mobile
- Resolve “Fix: trade slip calc in swap”
- Resolve “Make create pool page UI to be responsive”
- Fix websocket handling for staking / swapping results
- Resolve “Fix: close token dropdown in the stake card”
- Resolve “Add: base price token selector in the mobile view”
- Fix CI — lint error
- Resolve “Fix: page glitch in swap address input”
- Upgrade dependencies
- Resolve “Add skeleton loader for pool create page”
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