Skip to content

Release v5.0.0

Compare
Choose a tag to compare
@Gauthamastro Gauthamastro released this 07 Jun 04:03
· 1093 commits to mainnet-release since this release

Changelog

v5.0.0 - 2023-06-07

Added

  • thea-client crate (#412, #709, #728, #729, #730, #732, #733, #748, #750)
  • thea pallet (#597, #595, #669, #749, #750)
  • thea-message-handler pallet (#709, #749, #750, #756)
  • Github pull request template (#425)
  • pallet-ocex-lmp pallet (#434, #678, #741, #748, #755, #759):
    • Weights (#486)
    • Tests (#479, #748)
    • remove_proxy_account extrinsic (#489)
    • update_trading_pair extrinsic (#522)
    • Token allow-listing (#527)
    • set_balances extrinsic (#569)
    • set_snapshot extrinsic (#633, #631)
    • whitelist_orderbook_operator extrinsic (#680)
  • Test token provider pallet for testnet (#424)
  • chainbridge pallet (#411)
  • asset-handler pallet (#411, #753)
  • polkadex-client crate (#505)
  • Whitelist tokens mechanism for the chainbridge (#523)
  • pallet-asset-handler-runtime-api crate to perform Get Balances RPC calls (#510, #528)
  • Automated release deployment (#590)
  • asset-handler pallet tests (#602, #741)
  • PDEX token handler (#642)
  • liquidity pallet (#624)
  • rewards pallet (#622)
  • pallet-amm pallet (#634)
  • pallet-amm pallet benchmarks, weights, tests (#705)
  • support pallet (#634)
  • router pallet (#634)
  • thea-executor pallet (#706, #707, #741, #757)
  • Node compiled binary as an artifact (via CI) to be fetched from other repositories for the testing purpose (#679)
  • Snapshot generation related logic (#681)
  • Orderbook client crate (#693, #736, #748, #755)
  • Orderbook client tests (#675, #721)
  • API to check recovery state (#688)
  • Feature to process withdrawals from the snapshot (#687)
  • Signature verifier to process user actions (#680)
  • Calculations for rewards RPC (#712)
  • RPC to fetch crowdloan reward information (#711)
  • Runtime build check to the CI (#715)
  • NoOpConnector for Dev mode (#723)
  • Documentation for gossiping logic (#735)
  • Changelog (#747)
  • foreign_chain_url CLI argument (#752)

Changed

  • Udon testnet genesis config (#423)
  • Added delay for withdrawals above a certain limit in the asset-handler pallet (#490)
  • pallet-ocex-lmp pallet:
    • In that how withdrawal takes place (#497)
    • Removed TradingPairStatus (#511)
    • Balance handling now uses Decimal instead of Balance (#516)
    • claim_withdraw extrinsic to make it fee-free (#556)
  • CI/CD to include formatter and clippy checks (#506)
  • CI to lint/check formatting of .toml files (#760)
  • CI to test weights generation (#760)
  • Fee collection mechanism so that only the orderbook council can call it (#515)
  • Error type naming in the asset-handler pallet (#558)
  • Bumped Runtime and Client versions (#557)
  • Dependencies source location changed from branches to tags (#566)
  • Behaviour on block delay (#571)
  • Bumped polkadex-primitives as a dependency version in the consuming crates (#576)
  • spec_name changed from default (#585)
  • OrderDetails struct properties scope to public (#700)
  • Bumped Substrate version to v0.9.37 (#701)
  • Bumped subxt version to polkadot-v0.9.37 (#716)
  • Snapshot interval defaults to 20 withdrawals or 5 blocks (#722)
  • TheaHandler pallet name in thea-connector (#727)
  • Ingress message storage to be map based (#734)
  • Reload last snapshot state in case of Error (#740)

Removed

  • Old ingress messages (#723)
  • BLS Host functions (#731)

Fixed

  • Dockerfile to build the node by bumping toolchain version (#409)
  • pallet-ocex-lmp pallet:
    • To respect polkadex-primitives state (#437)
    • Tests (#498, #577, #694)
    • Minor issues (#514)
    • submit_snapshot extrinsic to not add onchain event if snapshot has empty withdrawals (#500)
    • register_trading_pair extrinsic with adding assertion of minimum volume trading pair (#524)
    • update_trading_pair extrinsic with adding assertion of minimum volume trading pair (#547)
    • set_exchange_state extrinsic (#550)
    • Withdrawal double spend bug (#548)
  • mint_asset extrinsic and amount precision in asset-handler pallet (#473)
  • Chain spec (#504)
  • Code style (#519, #760)
  • Order of assertion in asset-handler pallet mint_asset extrinsic (#549)
  • Unsafe arithmetic in pallet-ocex-lmp and asset-handler pallets (#551)
  • Post-release bugs (#554, #560)
  • Node build in docker (#568)
  • Runtime dependency (#574)
  • Make precision calculation programmable (#580)
  • Benchmarks (#579)
  • Github workflows clean up (#598)
  • Tarpaulin used in the CI (#627, #630)
  • Removed unused dependencies (#653, #699)
  • Docker build by pinning toolchain version (#667)
  • Order comparators (#691)
  • Orderbook client (#713, #710)
  • pallet-rewards-runtime-api name in runtime std feature (#714)
  • Bugs found during Thea testing (#738, #739)

Security

  • Prevented double spend attack scenario in collect_fees extrinsic of OCEX pallet (#552)