Skip to content

Commit

Permalink
Merge pull request #870 from galacticcouncil/dca-params
Browse files Browse the repository at this point in the history
feat: DCA params constraints
  • Loading branch information
mrq1911 authored Jul 20, 2024
2 parents e3b8ead + d6d2198 commit 261915c
Show file tree
Hide file tree
Showing 16 changed files with 449 additions and 479 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

30 changes: 16 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,59 +1,61 @@
cargo := cargo --config net.git-fetch-with-cli=true

.PHONY: build
build:
cargo build --release --locked
$(cargo) build --release --locked

.PHONY: build-release
build-release:
cargo build --release --locked --features metadata-hash
$(cargo) build --release --locked --features metadata-hash

.PHONY: check
check:
cargo check --release
$(cargo) check --release

.PHONY: build-benchmarks
build-benchmarks:
cargo build --release --features runtime-benchmarks
$(cargo) build --release --features runtime-benchmarks

.PHONY: test
test:
cargo test --locked
$(cargo) test --locked

.PHONY: test-release
test-release:
cargo test --release --locked
$(cargo) test --release --locked

.PHONY: test-benchmarks
test-benchmarks:
cargo test --release --features runtime-benchmarks
$(cargo) test --release --features runtime-benchmarks

.PHONY: coverage
coverage:
cargo tarpaulin --avoid-cfg-tarpaulin --all-features --workspace --locked --exclude-files node/* --exclude-files runtime/* --exclude-files infrastructure/* --exclude-files utils/* --exclude-files **/weights.rs --ignore-tests -o Xml -o lcov --timeout 120
$(cargo) tarpaulin --avoid-cfg-tarpaulin --all-features --workspace --locked --exclude-files node/* --exclude-files runtime/* --exclude-files infrastructure/* --exclude-files utils/* --exclude-files **/weights.rs --ignore-tests -o Xml -o lcov --timeout 120

.PHONY: clippy
clippy:
cargo clippy --release --locked --all-targets -- -D warnings -A deprecated
$(cargo) clippy --release --locked --all-targets -- -D warnings -A deprecated

.PHONY: clippy-all
clippy-all:
cargo clippy --release --locked --all-targets --all-features -- -D warnings -A deprecated
$(cargo) clippy --release --locked --all-targets --all-features -- -D warnings -A deprecated

.PHONY: format
format:
cargo fmt
$(cargo) fmt

.PHONY: try-runtime
try-runtime:
cargo build --release --features try-runtime
$(cargo) build --release --features try-runtime
try-runtime --runtime ./target/release/wbuild/hydradx-runtime/hydradx_runtime.wasm on-runtime-upgrade --checks all live --uri wss://rpc.hydradx.cloud:443

.PHONY: build-docs
build-docs:
cargo doc --release --target-dir ./HydraDX-dev-docs --no-deps
$(cargo) doc --release --target-dir ./HydraDX-dev-docs --no-deps

.PHONY: clean
clean:
cargo clean
$(cargo) clean

.PHONY: docker
docker:
Expand Down
14 changes: 7 additions & 7 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runtime-integration-tests"
version = "1.22.5"
version = "1.23.0"
description = "Integration tests"
authors = ["GalacticCouncil"]
edition = "2021"
Expand Down Expand Up @@ -32,14 +32,14 @@ warehouse-liquidity-mining = { workspace = true }
pallet-otc = { workspace = true }
pallet-otc-settlements = { workspace = true }
pallet-relaychain-info = { workspace = true }
pallet-route-executor = { workspace = true}
pallet-dca = { workspace = true}
pallet-route-executor = { workspace = true }
pallet-dca = { workspace = true }
pallet-dynamic-fees = { workspace = true }
pallet-dynamic-evm-fee = { workspace = true }
pallet-staking = { workspace = true}
pallet-lbp = { workspace = true}
pallet-xyk = { workspace = true}
pallet-evm-accounts = { workspace = true}
pallet-staking = { workspace = true }
pallet-lbp = { workspace = true }
pallet-xyk = { workspace = true }
pallet-evm-accounts = { workspace = true }

pallet-treasury = { workspace = true }
pallet-democracy = { workspace = true }
Expand Down
Loading

0 comments on commit 261915c

Please sign in to comment.