Skip to content

Commit

Permalink
vault-registry integration tests for rewards cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Oct 23, 2023
1 parent 07eea5e commit fd2804d
Show file tree
Hide file tree
Showing 3 changed files with 257 additions and 128 deletions.
3 changes: 2 additions & 1 deletion pallets/issue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ stellar-relay = { path = "../stellar-relay", default-features = false }
vault-registry = { path = "../vault-registry", default-features = false }
pooled-rewards = { path = "../pooled-rewards", default-features = false }
reward-distribution = { path = "../reward-distribution", default-features = false }
nomination = {path = "../nomination", default-features = false}


primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false }

Expand All @@ -47,6 +47,7 @@ orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-li
[dev-dependencies]
mocktopus = "0.8.0"
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" }
nomination = {path = "../nomination", default-features = false}

currency = { path = "../currency", features = ['testing-utils', 'testing-constants'] }
reward = { path = "../reward" }
Expand Down
1 change: 0 additions & 1 deletion pallets/issue/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,6 @@ mod integration_tests {
CurrencyId,
DefaultVaultId<Test>,
Balance,
CurrencyId,
>>::compute_reward(&vault.collateral_currency(), vault, reward_currency)
.unwrap()
}
Expand Down
Loading

0 comments on commit fd2804d

Please sign in to comment.