-
Notifications
You must be signed in to change notification settings - Fork 52
Decentralization of configuration parameters phase 1 - Aggregator local parameters #2736
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
base: main
Are you sure you want to change the base?
Changes from all commits
a3bf45e
6f1d085
7c0f6b5
758c48c
53bfc51
dcd103a
961e880
83d9a18
3a497cd
bad67ff
229c9e7
78ce58b
b032862
6319f63
df320c5
b5d7048
c42e7a8
3f771a3
File filter
Filter by extension
Conversations
Jump to
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.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,116 @@ | ||||||
| use sqlite::Value; | ||||||
|
|
||||||
| use mithril_persistence::sqlite::{Query, SourceAlias, SqLiteEntity, WhereCondition}; | ||||||
|
|
||||||
| use crate::database::record::EpochSettingsRecord; | ||||||
|
|
||||||
| /// Query to update [EpochSettingsRecord] in the sqlite database | ||||||
|
||||||
| /// Query to update [EpochSettingsRecord] in the sqlite database | |
| /// Query to insert [EpochSettingsRecord] into the sqlite database if it doesn't exist |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| mod delete_epoch_settings; | ||
| mod get_epoch_settings; | ||
| mod update_epoch_settings; | ||
| mod insert_or_ignore_epoch_settings; | ||
|
|
||
| pub use delete_epoch_settings::*; | ||
| pub use get_epoch_settings::*; | ||
| pub use update_epoch_settings::*; | ||
| pub use insert_or_ignore_epoch_settings::*; |
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.
Typo in the configuration field name: the error message refers to
protocol_parameter(singular) but the actual field name isprotocol_parameters(plural). This should be corrected to match the actual field name for clarity.