Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
67f139b
first add slp pallet
herryho Feb 17, 2022
bd93988
split kusama_agent from pallet<T>
herryho Feb 18, 2022
2b1f600
impl KusamaAgent initialize_delegator function
herryho Feb 18, 2022
0664710
basic setup for kusama_agent
herryho Feb 22, 2022
b661dca
add set storage dispatchables
herryho Feb 22, 2022
7529c06
remove unecessary getters in trait DeligatorManager and ValidatorManager
herryho Feb 22, 2022
e23e197
add minimum and maximum constraints
herryho Feb 23, 2022
50f3094
add minimumsAndMaximums constraints setter
herryho Feb 23, 2022
be490f3
bond function implementation
herryho Feb 23, 2022
6cdd2cb
fix bond impl's call into call as derivative
herryho Feb 23, 2022
62b7063
impl bond_extra function
herryho Feb 24, 2022
2a4172c
extract the common function construct_xcm_and_send_as_subaccount
herryho Feb 24, 2022
2b95f43
add storage ValidatorsByDelegator<T> and some maximum bounds
herryho Feb 24, 2022
ce64923
delete currency_id as a param to pass to KSMAgent, and write initiali…
herryho Feb 24, 2022
8afa136
change CurrencyId and Balance types from trait type endownment into t…
herryho Feb 25, 2022
7ee967b
add bond_extra outer callable
herryho Feb 25, 2022
56dcde0
impl unbond function and outer callable
herryho Feb 25, 2022
4d9b992
add rebond impl
herryho Feb 28, 2022
c35b302
change the way of currency matching agent struct
herryho Feb 28, 2022
96f9809
fix decoding error
herryho Feb 28, 2022
c87c450
add delegate implementation
herryho Mar 1, 2022
916683c
add redelegate implementation
herryho Mar 1, 2022
f44bbfe
add implementation for undelegate
herryho Mar 1, 2022
aa890b7
add liquidize implementation
herryho Mar 1, 2022
0ea358b
add trait VtokenMintingOperator to act as the interface to interact w…
herryho Mar 1, 2022
9a96de7
impl DelegatorManager trait
herryho Mar 2, 2022
94cdd50
impl callable set_delegators
herryho Mar 2, 2022
6e4c8bf
impl validatorManager trait
herryho Mar 2, 2022
aefa24b
add kill, transfer_back and transfer_to functions to StakingAgent trait
herryho Mar 6, 2022
4c5adc2
implement transfer_to function of stakingAgent trait
herryho Mar 7, 2022
9deeb4a
impl chill function of StakingAgent trait
herryho Mar 7, 2022
d7b7631
impl callable refund_currency_due_unbond
herryho Mar 7, 2022
99135f1
impl move_fund_from_exit_to_entrance_account callable
herryho Mar 7, 2022
4bb0133
impl supplement_fee_reserve function in StakingFeeManager trait
herryho Mar 8, 2022
9da8f04
fix bond function payee param
herryho Mar 8, 2022
46c366f
impl callable transfer_back
herryho Mar 8, 2022
cd85faa
impl callable chill
herryho Mar 8, 2022
1081439
impl callable transfer_to
herryho Mar 8, 2022
c26c2f6
add update token_to_add and token_to_deduct functions
herryho Mar 9, 2022
85d983d
fixes for callable origin
herryho Mar 9, 2022
af1d8d3
slp mock setup
herryho Mar 10, 2022
94abd06
impll some storage setters
herryho Mar 10, 2022
2cf6fe8
impl unbod_all and set_delegator_ledger callables
herryho Mar 11, 2022
c6f3d97
ajustments for slp mock environment
herryho Mar 11, 2022
1aee8b7
add slp to bifrost-kusama-runtime
herryho Mar 11, 2022
26b46fe
change cross-chain transfer module from xtokens to XcmExecutor
herryho Mar 14, 2022
3e7c84d
fix local multilocation
herryho Mar 14, 2022
2037314
move some convert utility functions from agent to lib
herryho Mar 15, 2022
cb43baa
integration tests temp save
herryho Mar 15, 2022
d835f5b
integration tests temp save 2
herryho Mar 15, 2022
2377d03
bond_extra_works
herryho Mar 15, 2022
bd470da
move out delegator register frrom register_subaccount_index_0()
herryho Mar 15, 2022
a44e35c
Fix transfer fee location
yrong Mar 16, 2022
f3e9a4a
transfer_to_works
herryho Mar 16, 2022
e3ca11e
fix and merge
herryho Mar 16, 2022
5ad5e8b
Fix bond call
yrong Mar 16, 2022
072d73c
unbond_works
herryho Mar 16, 2022
3f1d423
rebond_works
herryho Mar 16, 2022
1448f26
fix add_validator
herryho Mar 16, 2022
07b14a3
register_validators
herryho Mar 16, 2022
8e1a576
temp save
herryho Mar 16, 2022
56148e7
fix nominate
herryho Mar 16, 2022
11f21b2
delegate_works
herryho Mar 16, 2022
d33a2f2
undelegate_works
herryho Mar 17, 2022
95df462
redelegate_works
herryho Mar 17, 2022
ab04c47
payout_works
herryho Mar 17, 2022
f5040eb
liquidize_works
herryho Mar 17, 2022
3c0f541
chill_works
herryho Mar 17, 2022
828259d
transfer_back_works
herryho Mar 17, 2022
6475913
supplement_fee_reserve_works
herryho Mar 17, 2022
0024145
tests
herryho Mar 17, 2022
342ad6f
new test
herryho Mar 17, 2022
6b9a99b
Fix tests
yrong Mar 18, 2022
8acc3c3
Bump serde_json from 1.0.78 to 1.0.79 (#496)
dependabot[bot] Feb 15, 2022
9869f09
feat: 🎸 add pallet vtoken-minting
yooml Feb 17, 2022
29429bb
feat: 🎸 define storage
yooml Feb 21, 2022
e3410e0
feat: 🎸 define Event and Error
yooml Feb 23, 2022
4f8cea0
feat: 🎸 add tx logic
yooml Mar 1, 2022
14c82c8
feat: 🎸 add VtokenMintingOperator
yooml Mar 3, 2022
ae12613
fix: 🐛 fix redeem
yooml Mar 3, 2022
e11d258
feat: 🎸 impl rebond
yooml Mar 3, 2022
8d502b5
fix: 🐛 fix era
yooml Mar 4, 2022
c33c256
feat: 🎸 update VtokenMintingOperator
yooml Mar 9, 2022
da9db97
fix: 🐛 fix rebond
yooml Mar 9, 2022
423a9ed
feat: 🎸 add weights.rs
yooml Mar 13, 2022
08f2601
fix: 🐛 fix hook
yooml Mar 15, 2022
fa85fc3
feat: 🎸 add test
yooml Mar 15, 2022
1236a56
fix: 🐛 fix mint & redeem test
yooml Mar 16, 2022
0648eca
fix: 🐛 change Era to TimeUnit
yooml Mar 17, 2022
0a5b0f7
fix: 🐛 fix rebond test
yooml Mar 17, 2022
2280e1e
fix: 🐛 fix redeem
yooml Mar 17, 2022
60fb76b
feat: 🎸 add hook test
yooml Mar 17, 2022
f017371
fix: 🐛 fix
yooml Mar 17, 2022
0d973f3
fix: 🐛 fix name
yooml Mar 18, 2022
3125cba
feat: 🎸 add Cargo.toml
yooml Mar 18, 2022
d3e8d1f
merge vtoken-minting and slp two modules
herryho Mar 18, 2022
f3babcd
fix slp cargo.toml
herryho Mar 18, 2022
754f592
vtoken-minting operater api testing
herryho Mar 18, 2022
0ff552a
add some assert_eq
herryho Mar 18, 2022
c6f41e1
fix: 🐛 fix deduct_unlock_amount
yooml Mar 18, 2022
cc0e7ab
fix auto transfer from exit account to entrance account
herryho Mar 18, 2022
f0577c1
more tests
herryho Mar 18, 2022
8fc1789
add some more unit tests for slp
herryho Mar 18, 2022
3760d28
fix slp integration test
herryho Mar 18, 2022
e5b9c00
slp merge with develop
herryho Mar 18, 2022
ab33da9
version change to 0.9.40
herryho Mar 18, 2022
33fe248
fix: 🐛 fix unwrap
yooml Mar 21, 2022
c2650f8
fix: 🐛 fix match
yooml Mar 22, 2022
5c03e4e
fix: 🐛 fix exchange rate calculation
yooml Mar 22, 2022
6e31ee1
fix-vksm-ed
herryho Mar 22, 2022
5017077
Merge pull request #512 from bifrost-finance/fix-vksm-ed
herryho Mar 22, 2022
a941102
Merge pull request #511 from bifrost-finance/vtoken-minting-fix
herryho Mar 22, 2022
5191357
fix-update-ongoing-time-unit
herryho Mar 24, 2022
a58ae55
Merge pull request #515 from bifrost-finance/fix-update-ongoing-time-…
herryho Mar 24, 2022
fdb8872
first draft of frame
herryho Mar 25, 2022
6f70f8c
first draft of frame
herryho Mar 25, 2022
4c08202
expose interface to confirm xcm query response for outer calls
herryho Mar 28, 2022
26003c5
non xcm v3 ready query response processing
herryho Mar 28, 2022
4e0f1df
add QueryResponse check functions
herryho Mar 29, 2022
f234e77
simplify struct KusamaAgent generics
herryho Mar 29, 2022
88b0bd6
fix: 🐛 change saturating_mul to checked_mul
yooml Mar 29, 2022
c3fbc9d
deal with xcm query response
herryho Mar 29, 2022
5160e81
add query into update entry
herryho Mar 30, 2022
20541e5
fix: 🐛 fix hook
yooml Mar 30, 2022
e5ebb38
add auto delete ouutdated query
herryho Mar 30, 2022
bfcfe83
feat: 🎸 add get_token_pool
yooml Mar 30, 2022
9dde57a
add update entry solution for liquidize
herryho Mar 30, 2022
fba24b7
add charging hosting fee function
herryho Mar 30, 2022
a83da45
fix exit_account_balance ed
herryho Mar 30, 2022
20d5f08
split construct_xcm_message into with or without query_id functions
herryho Mar 30, 2022
3b7ccc8
Merge pull request #521 from bifrost-finance/vtoken-minting-fix
herryho Mar 30, 2022
022bb40
Merge pull request #522 from bifrost-finance/slp-xcm-v3
herryho Mar 30, 2022
161e0b3
fix on_initialize counter
herryho Mar 31, 2022
ebbc065
Merge pull request #523 from bifrost-finance/slp-xcm-v3
herryho Mar 31, 2022
861efa9
fix slp mock for ResponseManager
herryho Mar 31, 2022
9b1522e
Merge pull request #524 from bifrost-finance/fix-slp-mock
herryho Mar 31, 2022
ec4942c
slp integration tests fixed
herryho Mar 31, 2022
685e054
restrict the usage of transfer_to and transfer_back
herryho Mar 31, 2022
bea54d6
optimize ensure_authorized
ark930 Mar 31, 2022
a5874cd
Merge branch 'v0.9.40' into slp-rc3
herryho Mar 31, 2022
caae672
Merge pull request #527 from bifrost-finance/slp-rc3
herryho Mar 31, 2022
e2e2400
fix confirm and fail origin
herryho Apr 1, 2022
31bc702
Merge pull request #530 from bifrost-finance/slp-rc3
herryho Apr 1, 2022
ba8dfca
fixes
herryho Apr 1, 2022
e4c0678
Merge pull request #531 from bifrost-finance/slp-rc3
herryho Apr 1, 2022
49a303d
temporarily banned Queries storage removing checking
herryho Apr 1, 2022
97181f1
Merge pull request #532 from bifrost-finance/slp-rc3
herryho Apr 1, 2022
e295748
add transactional tag and put sending xcm to the last step of functions
herryho Apr 2, 2022
b94d36c
splict tune_vtoken_exchange_rate function and adjust the operation au…
herryho Apr 2, 2022
2588b45
fix charge_host_fee_and_tune_vtoken_exchange_rate and add its unit tests
herryho Apr 2, 2022
a61cc78
fix: 🐛 fix
yooml Mar 31, 2022
13520d0
feat: 🎸 add mint_without_tranfer
yooml Apr 2, 2022
b28f445
feat: 🎸 add rebond_by_unlock_id
yooml Apr 2, 2022
232b119
feat: 🎸 add tests::rebond_by_unlock_id
yooml Apr 2, 2022
a3238a0
fix confirm_delegator_ledger_query_response and add integration test …
herryho Apr 2, 2022
cfc5bb1
fix: 🐛 fix
yooml Apr 2, 2022
da8f8a4
add integration test confirm_delegator_ledger_query_response_with_bon…
herryho Apr 2, 2022
ab7a845
fix: 🐛 fix
yooml Apr 2, 2022
470d293
fixes for confirm and fail functions and add some integration tests
herryho Apr 3, 2022
2abcb8a
Merge pull request #535 from bifrost-finance/slp-rc3
herryho Apr 3, 2022
c881d0f
Merge pull request #534 from bifrost-finance/vtoken-minting-fix
herryho Apr 3, 2022
7adf042
fix: 🐛 fix MinTimeUnit
yooml Apr 6, 2022
e85b837
reduce the number of cloning
herryho Apr 7, 2022
f35956e
add compact to numbers
herryho Apr 7, 2022
b0b1b15
fix: 🐛 fix hook
yooml Apr 7, 2022
a4b8664
feat: 🎸 add currency_unlocking_total
yooml Apr 7, 2022
2b4c03d
remove increase/decrease token_to_add and token_to_deduct
herryho Apr 7, 2022
40a3c26
Merge pull request #538 from bifrost-finance/vtoken-minting-fix
herryho Apr 7, 2022
dd7e6de
Merge pull request #539 from bifrost-finance/slp-code-optimization
herryho Apr 7, 2022
814b18b
fix: 🐛 fix
yooml Apr 8, 2022
708c6f6
fix: 🐛 fmt
yooml Apr 8, 2022
63579bf
Merge pull request #540 from bifrost-finance/vtoken-minting-fix
herryho Apr 8, 2022
15879f5
merge 940 with develop branch
herryho Apr 9, 2022
6300f63
Merge pull request #541 from bifrost-finance/merge-940-with-develop
herryho Apr 9, 2022
803d0ac
fix payout interest ledger update
herryho Apr 9, 2022
d67aaa9
change set_delegator_ledger origin to include multisig account
herryho Apr 9, 2022
d9af729
merge traits into only one trait StakingAgent
herryho Apr 9, 2022
5f5cded
Merge pull request #542 from bifrost-finance/slp-rc3-adjustments
herryho Apr 9, 2022
b18a73a
fix private import
herryho Apr 9, 2022
ef2c5bd
Merge pull request #543 from bifrost-finance/slp-rc3-adjustments
herryho Apr 9, 2022
5b491cb
prefer use contains_key to check value exists
ark930 Apr 13, 2022
5ebbf94
add DelegatorLatestTuneRecord and CurrencyTuneExchangeRateLimit storage
herryho Apr 14, 2022
4eaee96
Merge branch 'v0.9.40' of https://github.com/bifrost-finance/bifrost …
herryho Apr 14, 2022
25224b6
Merge branch 'develop' into v0.9.40
herryho Apr 14, 2022
ec9d04f
fix transactional
herryho Apr 14, 2022
ea9047e
ensure source is located within BBifrost for do_transfer_to function …
herryho Apr 15, 2022
cef0a46
refactor: 💡 add handle_on_initialize
yooml Apr 18, 2022
caf431a
batch remarkWithEvent call with xcm calls that have query_id
herryho Apr 18, 2022
2696c78
fix: 🐛 fmt
yooml Apr 18, 2022
cf08986
Merge pull request #550 from bifrost-finance/slp-rc4
herryho Apr 18, 2022
ea073c1
fix: 🐛 fix
yooml Apr 18, 2022
149fc40
Merge pull request #549 from bifrost-finance/vtoken-minting-fix
herryho Apr 18, 2022
b698012
add query_id hash to relevant events
herryho Apr 19, 2022
3a5dd6f
fix: 🐛 fix
yooml Apr 20, 2022
6b2934b
Merge pull request #554 from bifrost-finance/vtoken-minting-fix
herryho Apr 20, 2022
625d9b0
fix integrity test
herryho Apr 21, 2022
3ec9400
fix: 🐛 fmt (#555)
yooml Apr 21, 2022
acd859e
Fix too large call data
ark930 Apr 21, 2022
e13f313
change percent to perrmill
herryho Apr 22, 2022
9ffcec4
refactor: 💡 Fees
yooml Apr 22, 2022
a925f1f
fix: 🐛 fix
yooml Apr 22, 2022
1420242
Merge pull request #557 from bifrost-finance/slp-rc6
herryho Apr 22, 2022
5b9f7b1
Merge pull request #556 from bifrost-finance/vtoken-minting-fix
herryho Apr 22, 2022
2a8b912
fix: 🐛 fix vstoken-conversion
yooml Apr 22, 2022
e1965f9
Merge pull request #558 from bifrost-finance/vtoken-minting-fix
herryho Apr 22, 2022
15e325b
fix: 🐛 fix
yooml Apr 22, 2022
b8dcb02
Merge pull request #559 from bifrost-finance/vtoken-minting-fix
herryho Apr 22, 2022
7d14631
fix: 🐛 fix MaximumUnlockId
yooml Apr 24, 2022
a6802fa
fx due era refund number perblock
herryho Apr 24, 2022
bf438aa
Merge pull request #561 from bifrost-finance/vtoken-minting-fix
herryho Apr 24, 2022
151f1df
Merge pull request #562 from bifrost-finance/slp-rc7
herryho Apr 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ members = [
"pallets/vsbond-auction",
"pallets/call-switchgear",
"pallets/xcm-interface",
"pallets/slp",
"pallets/vtoken-minting",
"pallets/vstoken-conversion",
"runtime/bifrost-kusama",
"runtime/bifrost-polkadot",
Expand Down Expand Up @@ -93,12 +95,12 @@ yamux = { opt-level = 3 }
zeroize = { opt-level = 3 }

[patch.crates-io]
zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", rev = "30486888d4ae2621b87ab025fc16e47aad800f67"}
zenlink-protocol = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", rev = "30486888d4ae2621b87ab025fc16e47aad800f67" }
zenlink-protocol-rpc = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", rev = "30486888d4ae2621b87ab025fc16e47aad800f67" }
zenlink-protocol-runtime-api = { git = "https://github.com/zenlinkpro/Zenlink-DEX-Module", rev = "30486888d4ae2621b87ab025fc16e47aad800f67" }
merkle-distributor = { git = "https://github.com/zenlinkpro/merkle-distributor", rev = "72b1b16ae98b33bfaf14489f089302049d167130" }
orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
orml-currencies = {git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "2b5d4ce1d08fb54c0007c2055653892d2c93a92e" }
Expand Down
30 changes: 17 additions & 13 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ edition = "2021"

[dependencies]
# third-party dependencies
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
"derive",
"max-encoded-len",
] }
log = { version = "0.4.16", default-features = false }
serde = { version = "1.0.124", optional = true }
static_assertions = "1.1.0"
hex = { version = "0.4", default-features = false, optional = true }
hex-literal = { version = "0.3.4"}
hex-literal = { version = "0.3.4" }
smallvec = "1.7.0"

# primitives
Expand All @@ -27,12 +30,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkad
sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }

# frame dependencies
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
Expand All @@ -57,6 +60,7 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate",
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }

# Cumulus dependencies
cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.18" }
Expand Down Expand Up @@ -86,7 +90,9 @@ bifrost-liquidity-mining = { path = "../pallets/liquidity-mining", default-featu
bifrost-runtime-common = { path = "../runtime/common", default-features = false }
bifrost-salp = { path = "../pallets/salp", default-features = false }
bifrost-salp-rpc-runtime-api = { path = "../pallets/salp/rpc/runtime-api", default-features = false }
bifrost-slp = { path = "../pallets/slp", default-features = false }
bifrost-vsbond-auction = { path = "../pallets/vsbond-auction", default-features = false }
bifrost-vtoken-minting = { path = "../pallets/vtoken-minting", default-features = false }
pallet-vesting = { package = "bifrost-vesting", path = "../pallets/vesting", default-features = false }
bifrost-kusama-runtime = { path = "../runtime/bifrost-kusama", default-features = false }
bifrost-polkadot-runtime = { path = "../runtime/bifrost-polkadot", default-features = false }
Expand Down Expand Up @@ -123,16 +129,12 @@ westmint-runtime = { git = "https://github.com/paritytech/cumulus", branch = "po
[features]
default = ["std"]
no_std = []
with-bifrost-runtime=[
with-bifrost-runtime = [
"node-service/with-bifrost-kusama-runtime",
"node-service/with-bifrost-polkadot-runtime"
]
with-bifrost-kusama-runtime=[
"node-service/with-bifrost-kusama-runtime"
]
with-bifrost-polkadot-runtime=[
"node-service/with-bifrost-polkadot-runtime"
"node-service/with-bifrost-polkadot-runtime",
]
with-bifrost-kusama-runtime = ["node-service/with-bifrost-kusama-runtime"]
with-bifrost-polkadot-runtime = ["node-service/with-bifrost-polkadot-runtime"]
std = [
"codec/std",
"log/std",
Expand Down Expand Up @@ -193,7 +195,9 @@ std = [
"bifrost-runtime-common/std",
"bifrost-salp/std",
"bifrost-salp-rpc-runtime-api/std",
"bifrost-slp/std",
"bifrost-vsbond-auction/std",
"bifrost-vtoken-minting/std",
"orml-currencies/std",
"orml-traits/std",
"orml-tokens/std",
Expand All @@ -203,5 +207,5 @@ std = [
"zenlink-protocol/std",
"zenlink-protocol-runtime-api/std",
"bifrost-kusama-runtime/std",
"bifrost-polkadot-runtime/std"
"bifrost-polkadot-runtime/std",
]
2 changes: 1 addition & 1 deletion integration-tests/src/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mod bifrost_imports {
create_x2_multilocation, AccountId, Balance, Balances, BifrostCrowdloanId, BlockNumber,
Call, Currencies, CurrencyId, Event, ExistentialDeposit, ExistentialDeposits,
NativeCurrencyId, Origin, OriginCaller, ParachainInfo, ParachainSystem, Proxy,
RelayCurrencyId, Runtime, Salp, Scheduler, Session, SlotLength, System, Tokens,
RelayCurrencyId, Runtime, Salp, Scheduler, Session, SlotLength, Slp, System, Tokens,
TreasuryPalletId, Utility, Vesting, XTokens, XcmConfig,
};
pub use bifrost_runtime_common::dollar;
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/kusama_test_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn default_parachains_host_configuration() -> HostConfiguration<BlockNumber> {
max_upward_queue_size: 1024 * 1024,
max_downward_message_size: 1024,
ump_service_total_weight: 4 * 1_000_000_000,
max_upward_message_size: 1024 * 1024,
max_upward_message_size: 1024 * 50,
max_upward_message_num_per_candidate: 5,
hrmp_sender_deposit: 0,
hrmp_recipient_deposit: 0,
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ mod kusama_cross_chain_transfer;
#[cfg(feature = "with-bifrost-kusama-runtime")]
mod kusama_test_net;
#[cfg(feature = "with-bifrost-kusama-runtime")]
mod slp_tests;
#[cfg(feature = "with-bifrost-kusama-runtime")]
mod statemine;
Loading