-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * orml utils leaks substrate v2 dependencies so it had to be removed * init author pallet * standalone runtime but not node * remove Account workaround in author pallet and decode directly into AccountId from inherent * remove dependency on pallet sessions, add leave nominators runtime method, and revert previous unnecessary changes * fmt * add empty genesis * constant issuance * standalone node still fails to build * fix Cargo.lock * add canonical validator set as storage item bc no longer using session * author pallet ensures block author is in the validator set tracked in stake before setting author * bump versions, panic in on finalize if author is not set, change input param for IsValidator to ref * add RoundIndex type to polkadotjs type jsons * reorg storage visibility identifiers * make all storage items private for now, revert polkadotjs type attempt bc it didnt do anything * need to publish new version of moonbeam-types-bundle in order for integration tests to recognize RoundIndex is u32 * type registration still fails * Fixes CI for moonbeam type bundle * revert block author set requirement Co-authored-by: Joshy Orndorff <admin@joshyorndorff.com> Co-authored-by: Crystalin <alan@purestake.com>
- Loading branch information
1 parent
ccb5b63
commit e72de06
Showing
23 changed files
with
1,684 additions
and
801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[package] | ||
name = "author" | ||
version = "0.1.0" | ||
description = "Block Author tracking" | ||
authors = ["PureStake"] | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
homepage = "https://substrate.dev" | ||
repository = "https://github.com/paritytech/substrate/" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
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 } | ||
parity-scale-codec = { version = "1.0.0", default-features = false, features = ["derive"] } | ||
sp-authorship = { 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-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } | ||
|
||
[dev-dependencies] | ||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } | ||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"frame-support/std", | ||
"frame-system/std", | ||
"parity-scale-codec/std", | ||
"sp-authorship/std", | ||
"sp-inherents/std", | ||
"sp-runtime/std", | ||
"sp-std/std", | ||
] |
Oops, something went wrong.
So that's the only modification you added to the types, right @4meta5 ? Is this type relevant for the current version of the runtime (6) or for the next release (7) ?