Skip to content

Latest commit

 

History

History
315 lines (283 loc) · 16 KB

CHANGELOG.md

File metadata and controls

315 lines (283 loc) · 16 KB

Changelog

All notable changes to this project will be documented in this file.

Types of changes

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.

5.3.0 - 2023-07-22

Added

  • thea-executor tests to cover TheaExecutor::parachain_withdraw, TheaExecutor::update_asset_metadata and TheaExecutor::set_withdrawal_fee extrinsics (#823)
  • pallet-ocex-lmp tests to cover OCEX::remove_proxy_account, OCEX::set_snapshot, OCEX::set_exchange_state and OCEX::whitelist_orderbook_operator extrinsics (#819)
  • pallet-ocex-lmp tests (#835)
  • thea-message-handler tests, mock (#825)
  • Disputation period and validation in pallet-ocex-lmp pallet (#835)

Changed

  • Resolver abstraction (trait) with extending a list of members (methods) resolve_create and resolve_transfer (#821)
  • pallet-ocex-lmp pallet on_idle and on_initialize hooks (#822)
  • thea-message-handler pallet weights and benchmarks (#825)
  • Weights for liquidity, pallet-ocex-lmp, thea, thea-executor and thea-message-handler pallets (#841)
  • Percent instead of saturated arithmetics in thea-message-handler (#835)
  • submit_snapshot extrinsic in pallet-ocex-lmp pallet to update the state in proper condition (#835)
  • On chain validation (#835)

Fixed

  • thea-executor pallet weights usage (#824)
  • Network preferred default value in thea pallet (#828)
  • Docker environment with adding ca-certificates in release docker image (#842)
  • Pallet::change_authorities method in thea pallet (#839)

5.1.1 - 2023-06-26

Added

  • thea-message-handler pallet benchmarks and weights (#804)
  • update_outgoing_nonce extrinsic in thea-message-handler pallet update outgoing nonce (#805)
  • update_outgoing_nonce extrinsic in thea pallet to update last processed nonce (#805)
  • thea-executor pallet benchmarks and weights (#802)

Changed

  • liquidity, pallet-ocex-lmp, pdex-migration, pallet-rewards, thea-message-handler, thea pallets weights update (#806)

Fixed

  • Snapshot generation bug (#809)

5.0.0 - 2023-05-26

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)