Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statemine more test #2380

Closed

Conversation

zqhxuyuan
Copy link
Contributor

@zqhxuyuan zqhxuyuan commented Oct 12, 2022

statemine now support using self sufficent asset paying for xcm fee in this PR: paritytech/cumulus#1278.

  • testcase support using self sufficent asset as fee on statemine
  • and also support using relaychain asset as fee on statemine
  • in some case(e.g. statemint) user may still want to use relaychain asset as fee

PS: I merge master in my branch, compare to Acala old branch it seems lots of old commit. can I merge to master ?

wangjj9219 and others added 30 commits May 10, 2022 11:54
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](lquixada/cross-fetch@v2.2.5...v2.2.6)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Removed global interest rate in honzon
Updated tests and configs accordingly

* Changed the method signature of get_interest_rate_per_sec
Updated tests accordingly.

* Fixed broken test

* Replaced the CollateralInterestRateNotSet error with InvalidCollateralType
Updated code and tests accordingly

* WIP removed CollateralCurrencyIds
Now uses CollateralParams to determine valid collateral currencies.

* Fixed test, runtimes and benchmarking tests

* Fixed test and minor improvements

* minor improvement

* Addressed some PR review comments

Co-authored-by: Roy Yang <roy@laminar.one>
* support Multi-platform

* add linux/arm/v7,linux/arm64/v8

* fix
* locked balance not as fee

* pass withdraw reason
…ystem would not allow it. (AcalaNetwork#2109)

Now minimum collateral amount is only maintained if user does not withdraw all of its collaterals

Co-authored-by: Roy Yang <roy@laminar.one>
* fix rpc gas limit

* fix test

* move evm rpc limits into runtime

* fix test

* fix

* update ts-tests

* fix

* make special method for rpc_mode

* create new rpc methods for max_gas_limit and max_storage_limit

* fix

* evm limits test

* eth_call 10x capped gas limit

* rpc_call no need to check permission

* rename parameter rpc_mode to skip_storage_rent

* use api versioning

* move gas and storage limit rpc methods into single method evm_blockLimits

* rename struct

* fix block_limits

* update method param

* rpc evm_blockLimits backward compatible

* update estimate resources

* fix

* remove deprecated
* add testnet chainId

* add EvmChainId

* update evm-tests

* add migrations

* add try_runtime

* fix ts-tests

* fix tests

* Update node/service/src/chain_spec/acala.rs

* Update node/service/src/chain_spec/karura.rs

* Update node/service/src/chain_spec/acala.rs

* Update node/service/src/chain_spec/karura.rs

Co-authored-by: Shaun Wang <spxwang@gmail.com>
* add storage to call weight

* add storage to other dispatch call

* reserve weight to fee

* evm reserve and unreserve use payment

* option named reserve and unreserve

* fix CI

* mock reserved payment

* fix benchmark

* refactor

* clean

* payment reserve fee testcase

* clean

* add intergration test

* reserve fee consider multiplier

* testcase of reserve fee consider multiplier

* consider multiplier for other method

* fee multiplier flag

* add option Multiplier to cal_final_fee

* remove noop

* update dep

* revert orml

* pub weight_to_fee

* fix dead code in test

* allow dead code

* fix import

* rename calculate_final_fee to apply_multiplier_to_fee and change default behaviour

* fix clippy

* add more methods to trait

* update

* update evm-tests

* fix beanch compile CI

* fix dep

* use real ChargeTransactionPayment
* auto publish

* add call_address

* Apply review suggestions

* update tests

* update tests

* fix maintainer

* remove env_logger

* Apply suggestions from code review

Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>

* Apply review suggestions

* format

Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
* add stable asset

* update token name
Co-authored-by: Roy Yang <roy@laminar.one>
* cdp minor refactor

* change order

* add default implementation for swap with best price

* clean

* fix cdp engine error

* error type changed

* Apply suggestions from code review

Co-authored-by: Shaun Wang <spxwang@gmail.com>

* rename to swap_with_best_price

* move CanotSwap to dex

* add default implementation in trait

* clippy

* rm default implementation in trait

* refactor AlternativeSwapPathJointList

* fix CI

Co-authored-by: Shaun Wang <spxwang@gmail.com>
* add homa precompile

* add to tests and add Pricer

* comments

* expose precompile in mandala

* fmt

* fmt

* change bool_at

* remove unused import

* fix imports
…rk#2123)

* Added the new features no-metadata-docs and full-metadata-docs to the runtimes
Updated build script so publish-release uses no-metadata-docs feature
Added new make commands to build with no and full metadata-docs

* Reverted changes to the make file

* Added no-metadata-docs to srtool target

Co-authored-by: Roy Yang <roy@laminar.one>
* fix weight

* fix clippy

* format
* enable evm for acala

* fix build
* impl Swap trait

* impl AggregatedSwap

* add tests

* fix clippy

* add aggregated dex module

* update stable-asset

* update

* fix
* fix stable asset token

* fix
xlc and others added 29 commits September 10, 2022 22:31
* remove dex saving rewards

* update

* update

* update

* update
* Skip checking relay chain block numbers on testnet

* add tests

* add comment
* Remove GetDexRewardRate

* fix clippy
* bump deps

* bump
…wards for Pool aUSD-IBTC (AcalaNetwork#2357)

* reset incentives.PendingMultiRewards and rewards.SharesAndWithdrawnRewards for Pool aUSD-IBTC

* reset rewards.PoolInfos for Pool aUSD-IBTC

* fix clippy

* update
* 0.9.27

* update polkadot-0.9.28

* fix tests

* Update evm-tests

* update Benchmark Subcommand

* update patch

* update dependencies

* fix ci
* add option to pause evm precompiles

* update trait

* remove unused import

* update mock

* update Cargo.lock

* revert submodule change

* revert submodule changes

Co-authored-by: Bryan Chen <xlchen1291@gmail.com>
* wrap the deposit/withdraw for some assets

* more check when config homa.LastEraBumpedBlock

* fix benchmarking
* Remove compound-cash and starport.

* Update cargo lock.
* remove unused patch

* update bootnodes
@zqhxuyuan zqhxuyuan closed this Oct 12, 2022
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.