Skip to content

refactor weight trader#2178

Merged
zqhxuyuan merged 9 commits into
masterfrom
refactor_trader
Jun 14, 2022
Merged

refactor weight trader#2178
zqhxuyuan merged 9 commits into
masterfrom
refactor_trader

Conversation

@zqhxuyuan

@zqhxuyuan zqhxuyuan commented Jun 2, 2022

Copy link
Copy Markdown
Contributor
  • move FixedRateOfAssetRegistry to runtime/common.
    • rename to FixedRateOfAsset as it's not related to asset-registry anymore
  • remove TransactionFeePoolTrader and implements BuyWeightRateOfTransactionFeePool
  • replace ForeignAssetUnitsPerSecond with BaseRate
  • move other common xcm related fn to xcm_impl.rs

@zqhxuyuan zqhxuyuan marked this pull request as ready for review June 7, 2022 05:08
@zqhxuyuan zqhxuyuan requested review from shaunxw, xlc and zjb0807 June 7, 2022 05:08
Comment thread modules/transaction-payment/src/lib.rs Outdated
Comment thread modules/transaction-payment/src/lib.rs
Comment thread runtime/common/src/xcm_impl.rs Outdated
Comment thread runtime/common/src/xcm_impl.rs Outdated
Comment thread runtime/acala/src/xcm_config.rs Outdated
@zqhxuyuan zqhxuyuan merged commit 8d2a46f into master Jun 14, 2022
@zqhxuyuan zqhxuyuan deleted the refactor_trader branch June 14, 2022 10:06
syan095 pushed a commit that referenced this pull request Jun 16, 2022
…a into fee_distribution

* 'fee_distribution' of ssh://github.com/AcalaNetwork/Acala: (31 commits)
  update polkadot-v0.9.23 (#2183)
  make sure acala precompiles are called only from other contracts (#2202)
  remove AccountId from XcmFeeToTreasury
  Acala XcmFeeToTreasury
  fix precompile array encode & other improvements (#2196)
  move HomaTreasuryPalletId to common
  update loan proxy type (#2200)
  Add bifrost (#2199)
  fix benchmark
  build_pool_percents helper method
  benchmark
  update to v0.9.22
  refactor weight trader (#2178)
  fix with_fee_currency (#2194)
  Support arm64 (#2107)
  add Homa to ProxyType (#2191)
  disable with_fee_paid_by (#2187)
  Convert rebase token amount when calculate swap amount for StableAsset (#2169)
  2.7.0 (#2186)
  fix origin of erc20 xtokens transfer (#2180)
  ...

# Conflicts:
#	modules/cdp-engine/src/lib.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants