-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable democracy #366
Merged
Merged
enable democracy #366
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
950bac2
fixes for new democracy tutorial
brenzi 87e7509
enable enactment and add command
brenzi 9e684c9
verbose list-communities
brenzi e66fefc
fixed CI + nice date info for list-proposals
brenzi 4656395
cosmetics
brenzi f05036c
parse nominal income as float
brenzi 6c408b7
fixes
brenzi c73e1ce
move more fetch helpers to APi traits
brenzi e30f32b
move bazaar fetchers as well
brenzi 88ae538
carg fix
brenzi 4a5e538
fmt
brenzi 49ce9c1
add get_cycle_duration
brenzi 379dd4f
add electorate estimate
brenzi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "encointer-client-notee" | |
authors = ["encointer.org <[email protected]>"] | ||
edition = "2021" | ||
#keep with node version. major, minor and patch | ||
version = "1.8.1" | ||
version = "1.8.2" | ||
|
||
[dependencies] | ||
# todo migrate to clap >=3 https://github.com/encointer/encointer-node/issues/107 | ||
|
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
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
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
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 |
---|---|---|
|
@@ -136,7 +136,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { | |
spec_name: create_runtime_str!("encointer-node-notee"), | ||
impl_name: create_runtime_str!("encointer-node-notee"), | ||
authoring_version: 0, | ||
spec_version: 31, | ||
spec_version: 32, | ||
impl_version: 0, | ||
apis: RUNTIME_API_VERSIONS, | ||
transaction_version: 5, | ||
|
@@ -408,7 +408,8 @@ parameter_types! { | |
|
||
impl pallet_encointer_scheduler::Config for Runtime { | ||
type RuntimeEvent = RuntimeEvent; | ||
type OnCeremonyPhaseChange = pallet_encointer_ceremonies::Pallet<Runtime>; | ||
type OnCeremonyPhaseChange = | ||
(pallet_encointer_ceremonies::Pallet<Runtime>, pallet_encointer_democracy::Pallet<Runtime>); | ||
type MomentsPerDay = MomentsPerDay; | ||
type CeremonyMaster = EnsureRoot<AccountId>; | ||
type WeightInfo = weights::pallet_encointer_scheduler::WeightInfo<Runtime>; | ||
|
@@ -525,7 +526,7 @@ impl pallet_encointer_faucet::Config for Runtime { | |
} | ||
|
||
parameter_types! { | ||
pub const ConfirmationPeriod:BlockNumber = 20; | ||
pub const ConfirmationPeriod: Moment = 5 * 60 * 1000; // [ms] | ||
pub const ProposalLifetime: Moment = 20 * 60 * 1000; // [ms] | ||
Comment on lines
+529
to
530
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 5min confirmation and 20min lifetime seem appropriate for Gesell testing |
||
} | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this finally enacts approved proposals upon Registering start