Weekly Dev Update #32
THORChain Weekly Dev Update for Week 25 Feb — 02 Mar 2020
Overview
Work continues to rebuild THORChain TSS with the new design, with an anticipated completion in the next few weeks. THORChain TSS has also been moved into the main Bifröst codebase. This has allowed removal of the http-based communication layer and ensures that TSS and Bifröst is tightly coupled.
THORNode
Changes to THORNode have also been made in support of the new architecture, as well as updating to the latest CosmosSDK version.
- Get TSS key sign party
- Resolve “bifrost key signer list”
- 347-issue update sign transactions, so we could stop it gracefully.
- Resolve “embed TSS”
- Blockscanner coverage
- Resolve “Cli set-end-pool command creates invalid MsgEndPool message”
- fail events after 200 blocks
- [refactor] remove tss containers
- Remove multiple output
- Resolve “Signer should retry sign a message and get a new list of signer from thorchain”
- update cosmossdk to v0.37.7
- Some embed TSS fixes
- Resolve “Wrong events generated on multiple coins SWAP”
THORChain TSS
THORChain TSS is now embedded in the Bifröst codebase and is undercoing the re-build.
- use separate go routine to process inbound messages
- omit if peers are empty
- the docker image stop building on master , trying to fix it
- Resolve “Add join party to key gen , and remove unnecessary code”
- Resolve “NewTss update private key type to crypto.PrivKey”
- upgrade libp2p to v0.5.2 and tendermint to v0.32.7
- 41-issue remove unnecessary dependencies, thus it won’t cause conflict when import it to thornode
Midgard API
Work on Midgard ensures it can provide the right data for the clients.
- add remote code coverage
- Resolve “Serialize big numbers as string”
- Resolve “Failed to unmarshal bond reward for EventRewards”
- Resolve “BUG: Incorrect values in “/v1/stakers/{address}/{asset}” endpoint”
- Change docker dind in all jobs
- Resolve “Extend existing or create new endpoints to get more than one asset once”
BEPSwap Client
BEPSwap is in a maturing phase, and implementing some nice-to-haves, such as the Typescript refactor and a new transaction page to show previous transactions.
- Resolve “ADD: Filter dropdown component in the tx page”
- Migrate `CoinList` + `CoinData` into TypeScript
- Add tests for pool’s `getCalcResult` helper function
- Bug fix: node.contains is not a function
- Resolve “Implement the transaction page layout”
- Migrate CoinCard and others to TypeScript
- Add installation of git
- Update master with latest development (26–02–2020)
- Resolve “Complete unit test for remaining helpers”
- Resolve “Bug: Filter menu does not render items properly”
- Fix: Extract commitHash from footer to run in storybook
- Resolve “Use latest Midgard API for loading asset data with single requests”
Asgard Wallet
With some lessons made from BEPSwap, the Asgard Wallet team have decided to complete an early refactor in Typescript and React, which is the focus for this weeks V0.0.2 release.
Bounty Program
There are currently open bounties on Asgard Wallet codebase:
Issues · THORChain / Asgard WalletAsgard WalletAsgard Walletgitlab.com
Audit
Code Review: Review Complete, Final Report Pending
Economic Review: Commenced
TSS Audit: delayed pending TSS re-design
Next Milestones
The updated testnet is in the final stages of testing. The current blocker to release is the re-design of THORChain TSS to achieve the reliability metrics the team want. A solution is being implemented for this.
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