Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Staking Miner #3141

Merged
merged 39 commits into from Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
36502dc
Companion for Decouple Staking and Election - Part 3: Signed Phase
coriolinus Apr 1, 2021
1e509e9
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus May 26, 2021
9638fcf
Merge remote-tracking branch 'origin/master' into prgn-companion-for-…
coriolinus May 27, 2021
59646c2
Merge branch 'prgn-companion-for-7910' of github.com:paritytech/polka…
kianenigma May 29, 2021
271d351
Template added
kianenigma May 29, 2021
7e21f24
Add stuff
kianenigma May 29, 2021
61cf070
First working version
kianenigma May 31, 2021
95b6ea0
revamp rpc stuff
kianenigma May 31, 2021
1709494
remove all the stale js stuff
kianenigma Jun 1, 2021
0c10c66
Major updates, closer to completion.
kianenigma Jun 3, 2021
a4aa730
removing my generic WIP for tidyness.
kianenigma Jun 3, 2021
72db361
add --at
kianenigma Jun 3, 2021
dc1a623
ass measure snapshot
kianenigma Jun 13, 2021
5fa5a3f
some new little debugging thigs
kianenigma Jun 17, 2021
138e8b9
pre-merge
kianenigma Jun 25, 2021
c3cfe94
Merge branch 'master' of github.com:paritytech/polkadot into kiz-stak…
kianenigma Jun 25, 2021
863ea3a
Master.into()
kianenigma Jun 28, 2021
3980e85
Fix
kianenigma Jun 28, 2021
d1ba0cb
revert dep update
kianenigma Jun 30, 2021
fe76cee
update to master
kianenigma Jun 30, 2021
3777a8a
revert all the toml shit
kianenigma Jun 30, 2021
64c22d9
Apply suggestions from code review
kianenigma Jun 30, 2021
bcd394d
cleanup
kianenigma Jun 30, 2021
e74218e
Fix more
kianenigma Jun 30, 2021
3ce287f
Fix era
kianenigma Jul 1, 2021
7dd7e64
Apply suggestions from code review
kianenigma Jul 1, 2021
ab87195
Few fixes
kianenigma Jul 1, 2021
c77bf51
Better reward scheme
kianenigma Jul 1, 2021
b25ee40
y
kianenigma Jul 1, 2021
10508ae
Update utils/staking-miner/src/main.rs
kianenigma Jul 1, 2021
f83ddb6
Update utils/staking-miner/src/dry_run.rs
kianenigma Jul 1, 2021
913e75a
Update utils/staking-miner/src/dry_run.rs
kianenigma Jul 1, 2021
89e0a38
Update utils/staking-miner/src/monitor.rs
kianenigma Jul 1, 2021
dcbe582
More chnages
kianenigma Jul 1, 2021
f10f00b
Merge branch 'kiz-staking-miner' of github.com:paritytech/polkadot in…
kianenigma Jul 1, 2021
df8725b
Fix
kianenigma Jul 1, 2021
1e4f6be
Master.into()
kianenigma Jul 1, 2021
01e92c4
Make it restart automatically.
kianenigma Jul 1, 2021
979cfcc
Final touches
kianenigma Jul 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2,257 changes: 1,173 additions & 1,084 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -78,6 +78,7 @@ members = [
"parachain/test-parachains",
"parachain/test-parachains/adder",
"parachain/test-parachains/adder/collator",
"utils/staking-miner",
]

# We want to be able to build the bridge relayer without pulling it (and all of its
Expand Down
52 changes: 26 additions & 26 deletions bridges/bin/millau/node/Cargo.toml
Expand Up @@ -24,35 +24,35 @@ pallet-bridge-messages = { path = "../../../modules/messages" }

# Substrate Dependencies

frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" }
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }

[build-dependencies]
substrate-build-script-utils = "3.0.0"
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }

[features]
default = []
Expand Down
52 changes: 26 additions & 26 deletions bridges/bin/millau/runtime/Cargo.toml
Expand Up @@ -28,32 +28,32 @@ pallet-shift-session-manager = { path = "../../../modules/shift-session-manager"

# Substrate Dependencies

frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" , default-features = false }
frame-executive = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-api = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-session = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }
sp-version = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "kiz-staking-miner" }

[build-dependencies]
substrate-wasm-builder = "3.0.0"
Expand Down
52 changes: 26 additions & 26 deletions bridges/bin/rialto/node/Cargo.toml
Expand Up @@ -25,35 +25,35 @@ rialto-runtime = { path = "../runtime" }
# Substrate Dependencies


frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
node-inspect = { git = "https://github.com/paritytech/substrate", branch = "master" }
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["wasmtime"] }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
node-inspect = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-cli = { git = "https://github.com/paritytech/substrate", features = ["wasmtime"] , branch = "kiz-staking-miner" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }
substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }

[build-dependencies]
substrate-build-script-utils = "3.0.0"
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "kiz-staking-miner" }

[features]
default = []
Expand Down