Skip to content

Commit

Permalink
Bifrost v0.11.0 (#1271)
Browse files Browse the repository at this point in the history
* feat: 🎸 add buy-back

* Bifrost v0.10.001

* feat: 🎸 benchmark

* SLPx mint support commission id (#1261)

* Add vtoken exchange rate rpc (#1260)

* fix: 🐛 add event (#1263)

* add update_currency_metadata function (#1259)

* add update_currency_metadata function

* fix: 🐛 correct update_currency_metadata weight

* add the use of Vec (#1264)

* Add vtoken exchange rate rpc

* add the use of Vec

* Upgrade to Polkadot-SDK v1.7.0 (#1262)

* Bifrost v0.10.0

* fix: 🐛 clippy

* Fix chain spec (#1243)

* Upgrade to polkadot-v1.7.0

---------

Co-authored-by: SunTiebing <1045060705@qq.com>
Co-authored-by: Edwin Wang <lark930@gmail.com>

* feat: 🎸 add metadata-hash-extension (#1265)

* Fix compile (#1266)

* Fix/fix vtoken voting unlock (#1267)

* update the exchange rate of vtokenminting of vtokenvoting test

* Resolve the frozen anomaly when unlocking

* Revert "feat: 🎸 add metadata-hash-extension (#1265)" (#1268)

This reverts commit 489fc9c.

* rename the version number to 0.11.0

* Slp supports XCMv4 and reconstruct integration tests (#1272)

* Fix compile

* Reconstruct integration tests and slp supports XCMv4

* Fix slp construct_xcm_message

* Feat/slpx mint add commission (#1273)

* SLPx mint support commission id

* remove the channel_id parameter from the mint method

* add mint_with_channel_id method

* perform data migration for OrderQueue storage

* slpx: set the default value of channel_id to 0

* resolve conflicts

* change the location of the old data structure during storage migration

* Feat/add vtoken exchange rate rpc (#1274)

* Add vtoken exchange rate rpc

* add the use of Vec

* supplement the RPC logic && fix bugs

* adjust the RPC exchange rate precision to three decimal places

* fix clippy

* fix bug: storage migration anomaly (#1276)

* SLPx mint support commission id

* remove the channel_id parameter from the mint method

* add mint_with_channel_id method

* perform data migration for OrderQueue storage

* slpx: set the default value of channel_id to 0

* resolve conflicts

* change the location of the old data structure during storage migration

* fix bug: storage migration anomaly

* Slp removes refund (#1275)

* Slp removes refund

* Fix clippy

* Feat/add vtoken exchange rate rpc (#1277)

* Add vtoken exchange rate rpc

* add the use of Vec

* supplement the RPC logic && fix bugs

* adjust the RPC exchange rate precision to three decimal places

* fix clippy

* supplement omissions: adjust the RPC exchange rate precision to three decimal places

* Remove dmp queue (#1279)

---------

Co-authored-by: yooml <ymlll0508@gmail.com>
Co-authored-by: NingBo Wang <2536935847@qq.com>
Co-authored-by: Edwin Wang <lark930@gmail.com>
  • Loading branch information
4 people authored Jun 25, 2024
1 parent d20fcd0 commit 9550425
Show file tree
Hide file tree
Showing 145 changed files with 5,962 additions and 8,387 deletions.
1,549 changes: 858 additions & 691 deletions Cargo.lock

Large diffs are not rendered by default.

321 changes: 163 additions & 158 deletions Cargo.toml

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ copy-genesis-config-release:

.PHONY: format # cargo fmt
format:
cargo +nightly fmt --all

.PHONY: format-check # cargo fmt check
format-check:
cargo +nightly fmt --all -- --check

.PHONY: clippy # cargo clippy
clippy:
clippy: format-check
SKIP_WASM_BUILD= cargo clippy --all --all-targets --features=with-all-runtime -- -D warnings

.PHONY: benchmarking-staking # benchmarking staking pallet
Expand Down
50 changes: 50 additions & 0 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[package]
name = "bifrost-integration-tests"
version = "0.8.0"
authors = ["hqwangningbo <2536935847@qq.com>"]
edition = "2021"

[dev-dependencies]
bifrost-asset-registry = { workspace = true }
bifrost-currencies = { workspace = true }
bifrost-polkadot-runtime = { workspace = true }
bifrost-primitives = { workspace = true }
bifrost-runtime-common = { workspace = true }
bifrost-slp = { workspace = true }
bifrost-vtoken-voting = { workspace = true }
bifrost-xcm-interface = { workspace = true }
cumulus-primitives-core = { workspace = true }
env_logger = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
hex-literal = { workspace = true }
log = { workspace = true }
orml-tokens = { workspace = true }
orml-traits = { workspace = true }
orml-xtokens = { workspace = true }
pallet-assets = { workspace = true }
pallet-balances = { workspace = true }
pallet-conviction-voting = { workspace = true }
pallet-message-queue = { workspace = true }
pallet-referenda = { workspace = true }
pallet-staking = { workspace = true }
pallet-xcm = { workspace = true }
parachain-info = { workspace = true }
parachains-common = { workspace = true }
parity-scale-codec = { workspace = true }
polkadot-core-primitives = { workspace = true }
polkadot-parachain-primitives = { workspace = true, features = ["std"] }
polkadot-runtime-common = { workspace = true, features = ["std"] }
polkadot-runtime-parachains = { workspace = true, features = ["std"] }
scale-info = { workspace = true }
serde = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-staking = { workspace = true }
sp-std = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-emulator = { workspace = true }
xcm-executor = { workspace = true }
xcm-simulator = { workspace = true }
45 changes: 0 additions & 45 deletions integration-tests/bifrost-kusama/Cargo.toml

This file was deleted.

185 changes: 0 additions & 185 deletions integration-tests/bifrost-kusama/src/account_id.rs

This file was deleted.

Loading

0 comments on commit 9550425

Please sign in to comment.