Skip to content

Commit

Permalink
Fix Comments (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Oct 5, 2022
1 parent b2d478e commit 68700ef
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"

[dependencies]
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
node-polkadex-runtime = { path = "../runtime", version = "3.0.0" }
node-polkadex-runtime = { path = "../runtime", version = "4.0.0" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ parking_lot = "0.12.1"
itertools = "0.10.1"
jsonrpsee = { version = "0.15.1", features = ["server"] }
# local dependencies
node-polkadex-runtime = { path = "../runtime", version = "3.0.0" }
node-polkadex-runtime = { path = "../runtime", version = "4.0.0" }
pallet-asset-handler-rpc = {path = "../pallets/asset-handler/rpc"}
polkadex-client = { path = "../client"}

Expand Down
2 changes: 1 addition & 1 deletion pallets/ocex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ocex-lmp"
version = "4.0.0-dev"
version = "4.0.0"
authors = ["Gautham J <gautham@polkadex.trade>"]
edition = "2021"
license = "GNU GPL v3"
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node-polkadex-runtime"
version = "3.0.0"
version = "4.0.0"
authors = ["Polkadex OÜ <https://polkadex.trade>"]
edition = "2021"
license = "GNU GPL v3"
Expand Down
6 changes: 0 additions & 6 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@ parameter_types! {
pub const SignedDepositByte: Balance = deposit(0, 10) / 1024;
// Each good submission will get 1 DOT as reward
pub SignedRewardBase: Balance = UNITS;
// pub SolutionImprovementThreshold: Perbill = Perbill::from_rational(5u32, 10_000);
pub BetterUnsignedThreshold: Perbill = Perbill::from_rational(1u32, 10_000);


Expand Down Expand Up @@ -707,10 +706,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
type SignedPhase = SignedPhase;
type BetterSignedThreshold = ();
type BetterUnsignedThreshold = BetterUnsignedThreshold;
// nothing to do upon rewards
// type SolutionImprovementThreshold = SolutionImprovementThreshold;
// type MinerMaxWeight = MinerMaxWeight;
// type MinerMaxLength = MinerMaxLength;
type OffchainRepeat = OffchainRepeat;
type MinerTxPriority = MultiPhaseUnsignedPriority;
type MinerConfig = Self;
Expand All @@ -728,7 +723,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
type RewardHandler = ();
type DataProvider = Staking;
type Fallback = onchain::BoundedExecution<OnChainSeqPhragmen>;
// type Solution = NposSolution16
type GovernanceFallback = onchain::BoundedExecution<OnChainSeqPhragmen>;
type Solver = SequentialPhragmen<
AccountId,
Expand Down

0 comments on commit 68700ef

Please sign in to comment.