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

Asset registry #516

Merged
merged 870 commits into from
Mar 28, 2022
Merged

Asset registry #516

merged 870 commits into from
Mar 28, 2022

Conversation

ark930
Copy link
Member

@ark930 ark930 commented Mar 24, 2022

No description provided.

ark930 and others added 30 commits July 7, 2021 19:17
* remove unused types

* move test cases into tests.rs

* fix

* remove unused types
* update chain spec

* fix
* 🐛 ($PALLET) Fix vsbond lock error

* 🎨 ($PALLET) Format code

* ✅ ($PALLET) Refactor vsbond-auction unit-tests

* ✅ ($PALLET) Add new unit-test
* Improve ci

* Fix codacy

* [skip ci]

[skip ci]
* move eos related files under eos directory

* update

* update readme resources
* companion for polkadot-v0.9.8

* fix test
* Fix build image

* Benchmark runtime integration
* Xcm test framework

* fix
* optimize vtoken-mint module

* refactor minter-reward module and related vtoken-mint related functions

* refactor mint-reward module

* refactor

* refactor

* refactor
* - change the name of charge-transaction-fee module to flexible fee
- add a add tokens function for sudo in Bancor module

* cargo +nightly fmt --all
* 🚧 ($PALLET) Refactor salp - contribute & contribution

* 🚧 ($PALLET) Refactor withdraw

* 🚧 ($PALLET) Add refund-pool

* 🚧 ($PALLET) Refactor salp - delete redeem-pool

* 🚧 ($PALLET) Refactor salp - delete useless code

* 🚧 ($PALLET) Refactor salp - fix compile error

* ✅ ($PALLET) Add/Update/Remove unit-tests

* ✅ ($PALLET) Add the unit-tests of refund

* 🐛 ($PALLET) Fix bug on refund

* ✨ ($PALLET) Refund can be called again after last refund is over

* ♻️ ($PALLET) Refactor contribution for auto unlock

* 🚧 ($PALLET) Refactor salp - refact redeem

* ♻️ ($PALLET) Complete the refactor of redeem

* 🎨 ($PALLET) Format salp

* 🐛 ($PALLET) Fix the potential bug in refund-pool&redeem-pool

* ✨ ($PALLET) Add unlock function

* 🎨 ($PALLET) Format code

* 🐛 ($PALLET) Add check for the balance of redeem-pool

* ✅ ($PALLET) Add the unit-tests of unlock&redeem

* 🐛 ($PALLET) Fix the bug of release from redeem to bancor

* ✅ ($PALLET) Add unit-tests for Hooks

* 🎨 ($PALLET) Format code

* 🔧 ($PALLET) Move dependencies

* 🔥 ($PALLET) Remove unused config

* 🚑 ($PALLET) Quick fix mock error

* minor fix

Co-authored-by: Edwin Wang <lark930@gmail.com>
* 🎨 ($PALLET) Adjust code

* 🐛 ($PALLET) Fix compile error

* 🔧 ($PALLET) Update dependencies

* ✨ ($PALLET) Support decimal

* 🎨 ($PALLET) Format code
* fix token types

* fix

* ♻️ ($PALLET) Finish salp

* remove assets from Cargo.toml

Co-authored-by: Allen Pocket <AllenPocketGamer@Gmail.com>
* 🔧 ($ROOT) Update rustfmt.toml

* 🎨 ($ALL) Reformat code

* 🚧 ($ROOT) Update Cargo.lock
* feat: 🎸 add a macro to convert between currencyid and assetid

* fix: 🐛 fix cargo check

* fix: 🐛 change the discriminant value of enum
* - modity add_token_to_pool call to support initial token adding by any account who has enough token balance.
- add functionalities to on_initialize hook to release certain amount of token by every block.

* cargo +nightly fmt --all

* cargo +nightly fmt --all
* Salp Revamp companion for dmp transfer

* Fix check
* fix: 🐛 add bootnode to bifrost.json

* fix: 🐛 change bootnode
* ♻️ ($PALLET) No longer exposed unit_price to front-end

* 🎨 ($PALLET) Format the code
* swap Native CurrencyId index(2) to index(0) with Token CurrencyId

* - Fix Flexible Fee Module unit tests
- Wrap ensure_can_charge_fee function into FeeDealer trait

* fix runtime errors caused by native currencyId index change

* unitests done with flexible-fee module

* cargo +nightly fmt --all
yrong and others added 28 commits January 13, 2022 20:50
* Support statemine asset transfer

* Add statemine testcases & Fix integration

* Rmrk integration

* Revamp asgard for westend integration

* Regenerate asgard session keys&help script in makefile

* Fix merge error

* Remove unclear USDT impl & Prepare for upcoming change

polkadot#4470
cumulus#831
* bump version to v0.9.20

* add RMRK to chain spec
* 🔀 ($FEATURE) Add time limit to lm's redeem

* ⬆️ ($RUNTIME) Upgrade to v0.9.22
* Revamp salp with fund continue flow

- add continue failed fund
- revamp refund & redeem accordingly
- some other refactor remove deprecated codes

* Fix breaking benchmarks
* Release v0.9.23

* Fix benchmark in ci
* add zlk as cross-chain fee

* fmt

* update runtime and native version to v0.9.24

* update lock file

* fmt Cargo.lock

Co-authored-by: Edwin Wang <lark930@gmail.com>
* Bump to v0.9.15

* Bump and integrate merkle-distributor

* Fix integration test

* Fix check failed

* Fix salp unlock issue

* Fix for CanonicalLocation compatibility

* Bump to v0.9.25

* Remove merkle-distributor from repo

* Fix per review

* Bump depencencies

* Fix salp xcm weight&Bump zenlink

Co-authored-by: yrong <yrong1997@gmail.com>
Co-authored-by: ubuntu <ubuntu@localhost.localdomain>
Co-authored-by: Edwin Wang <lark930@gmail.com>
* staking integration without nimbus

* Update weight for asgard

* Revamp spec&runtime param for staking

* Document usage and apis

* Inflation as configurable

* Fix for test

* Release v0.9.23

* Sync with develop

* Fix benchmark in ci

* Add to bifrost runtime

* Improve doc&Tweak staking params

* Fix staging spec&some staking params

* Release v0.9.30

* Bump to v0.9.30

* Remove unused

* For staking migration

* Params for quick test only

* Try runtime test for staking migration

* Revamp reward account

* Upgrade to v0.9.16

* Add SignedExtra check&Fix dev chain

* Fix salp unlock issue

* Fix per review

* Remove staking for 0.9.26

* Bump to 0.9.26

* Bifrost v0.9.25 (#492)

* Bump to v0.9.15

* Bump and integrate merkle-distributor

* Fix integration test

* Fix check failed

* Fix salp unlock issue

* Fix for CanonicalLocation compatibility

* Bump to v0.9.25

* Remove merkle-distributor from repo

* Fix per review

* Bump depencencies

* Fix salp xcm weight&Bump zenlink

Co-authored-by: yrong <yrong1997@gmail.com>
Co-authored-by: ubuntu <ubuntu@localhost.localdomain>
Co-authored-by: Edwin Wang <lark930@gmail.com>

* [skip ci] Fix bootnodes (#495)

* Fix salp xcm weight&Bump zenlink&Fix statemine xcm

* Allow issue when fund success

* Fix break test

* [skip ci] Some fixes

* Fix build wasm

* fix try-runtime

* Fix benchmark

* For fast test and rococo as relaychain

* Allow statemine asset back to arbitary account

* For sibling chain test

Co-authored-by: ubuntu <ubuntu@localhost.localdomain>
Co-authored-by: Kadokura <ymlll0508@gmail.com>
Co-authored-by: Edwin Wang <lark930@gmail.com>
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.78...v1.0.79)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Refact xcm interface and fee charge

* Bump version

* Remove migration

* Clean packages
@ark930 ark930 merged commit 8422762 into develop Mar 28, 2022
@ark930 ark930 deleted the asset-registry branch March 28, 2022 02:05
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.

6 participants