Xar Network official collapsed logo in colour
  • Xar Wallet
  • Explorer
  • FAQ’s
  • Contact Us
  • Xar Enterprise
  • Blog
Xar dora_hub_2 Changelog 03/12/2019
Home keyboard_arrow_right Xar dora_hub_2 Changelog 03/12/2019
July 24, 2020 - 7:49 AM
Tweet

Xar Network is ready to upgrade to dora_hub_2. It contains several updates, removals, and bugfixes.


Updates

dora_hub_2 includes the following feature upgrades:

  • New token life cycle management via /x/denominations
  • Denominations are managed via parameters controlled by governance
  • Nominee modules added to /x/csdt, /x/denominations, /x/markets, /x/oracle for management
  • All configs moved to parameters that can be changed via governance
  • Added governance parameter proposals that can change parameters via governance votes
  • Oracles are managed per asset instead of globally
  • CSDTs can mint multi asset denoms, no longer has to be ucsdt
  • Message types for nominees added into Oracles
  • Liquidator module refactored to use module accounts instead of bank keeper
  • Auction moved to used params and moved away from global variables
  • Issue module refactored to use module accounts instead of bank keeper
  • CSDTs split into deposit collateral, withdraw collateral, settle debt, and withdraw debt
  • Order module refactored to use module accounts instead of bank keeper
  • Freeze accounts share module account templates instead of embedded accounts
  • REST interface added for CSDT
  • All REST calls return current height as first parameter
  • CLI tools added for all asset types and CSDT types
  • Added nominees to manage CSDT collateral
  • Add parameter fees to all modules, set default fees to 0

Removals

The following modules were moved to a WIP branch pending their finalisation:

  • Compound
  • Deposit
  • Escrow
  • Lock
  • Futures
  • Pool
  • Uniswap

Bug fixes

dora_hub_2 contain a few other improvements:

  • Export tool updated to support different hub versions
  • PrettyPrint mappings removed on denominations list call
  • Gas timeout issue fixed in CreateModifyDeleteCSDT
  • Gas timeout issue fixed in ForwardReverseAuction

Linting

  • All message objects have been standardized to lowercase yaml/json

Devops

  • Travis-CI integrated for all automated builds, moved away from circle CI

Unit tests

  • All units now have coverage, but there is still quite a bit to cover, the current code coverage profile has been published
  • Code coverage improved from 22% to 54%

Code standards

  • The codebase has an A+ rating on goreportcard and GolangCI

SDKs

The @xar-network\javascript-sdk was updated to 2.17.3 and include the following upgrades:

  • Token management was added as a stand alone module
  • Issuer, authority, and liquidity provider were removed
  • Record module was added
  • CSDT module was added with support for the new type calls
  • Oracle types were added
  • Getters for most parameters were added

Code Examples

The Code Examples repo was deployed with coverage for most javascript examples. Current modules covered include:

  • Token Management
  • Chain Basics
  • Oracles
  • CSDTs
  • Recording

– Picture by Carol M Highsmith on Rawpixel

Tweet


Featured
  • Github launch
  • Blog
Xar Network
  • For Developers
  • For Validators
  • For Stakers
  • For Enterprise
Communicate
  • Twitter launch
  • Facebook launch
  • LinkedIn launch
  • contact@xar.network
More
  • Brand Elements
  • FAQs
  • Privacy Policy
  • Terms of Use
  • Cookie Policy