-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from cardano-foundation/issue_147
Enable governance store, update conway genesis files and add new conway params
- Loading branch information
Showing
16 changed files
with
707 additions
and
35 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
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
47 changes: 47 additions & 0 deletions
47
application/src/main/resources/db/migration/ledgersync/V1_1_6__add-conway-param-columns.sql
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,47 @@ | ||
ALTER TABLE epoch_param | ||
ADD COLUMN pvt_motion_no_confidence double precision, | ||
ADD COLUMN pvt_commit_normal double precision, | ||
ADD COLUMN pvt_committee_no_confidence double precision, | ||
ADD COLUMN pvt_hard_fork_initiation double precision, | ||
ADD COLUMN pvt_p_p_security_group double precision, | ||
ADD COLUMN pvt_p_p_technical_group double precision, | ||
ADD COLUMN pvt_p_p_gov_group double precision, | ||
ADD COLUMN pvt_treasury_withdrawal double precision, | ||
ADD COLUMN dvt_motion_no_confidence double precision, | ||
ADD COLUMN dvt_commitee_normal double precision, | ||
ADD COLUMN dvt_committee_no_confidence double precision, | ||
ADD COLUMN dvt_update_to_constitution double precision, | ||
ADD COLUMN dvt_hard_fork_initiation double precision, | ||
ADD COLUMN dvt_p_p_network_group double precision, | ||
ADD COLUMN dvt_p_p_economic_group double precision, | ||
ADD COLUMN committee_min_size numeric(20, 0), | ||
ADD COLUMN committee_max_term_length numeric(20, 0), | ||
ADD COLUMN gov_action_lifetime numeric(20, 0), | ||
ADD COLUMN gov_action_deposit numeric(20, 0), | ||
ADD COLUMN drep_deposit numeric(20, 0), | ||
ADD COLUMN drep_activity numeric(20, 0), | ||
ADD COLUMN min_fee_ref_script_cost_per_byte numeric(20, 0); | ||
|
||
ALTER TABLE param_proposal | ||
ADD COLUMN pvt_motion_no_confidence double precision, | ||
ADD COLUMN pvt_commit_normal double precision, | ||
ADD COLUMN pvt_committee_no_confidence double precision, | ||
ADD COLUMN pvt_hard_fork_initiation double precision, | ||
ADD COLUMN pvt_p_p_security_group double precision, | ||
ADD COLUMN pvt_p_p_technical_group double precision, | ||
ADD COLUMN pvt_p_p_gov_group double precision, | ||
ADD COLUMN pvt_treasury_withdrawal double precision, | ||
ADD COLUMN dvt_motion_no_confidence double precision, | ||
ADD COLUMN dvt_commitee_normal double precision, | ||
ADD COLUMN dvt_committee_no_confidence double precision, | ||
ADD COLUMN dvt_update_to_constitution double precision, | ||
ADD COLUMN dvt_hard_fork_initiation double precision, | ||
ADD COLUMN dvt_p_p_network_group double precision, | ||
ADD COLUMN dvt_p_p_economic_group double precision, | ||
ADD COLUMN committee_min_size numeric(20, 0), | ||
ADD COLUMN committee_max_term_length numeric(20, 0), | ||
ADD COLUMN gov_action_lifetime numeric(20, 0), | ||
ADD COLUMN gov_action_deposit numeric(20, 0), | ||
ADD COLUMN drep_deposit numeric(20, 0), | ||
ADD COLUMN drep_activity numeric(20, 0), | ||
ADD COLUMN min_fee_ref_script_cost_per_byte numeric(20, 0); |
39 changes: 37 additions & 2 deletions
39
application/src/main/resources/networks/mainnet/conway-genesis.json
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 |
---|---|---|
@@ -1,3 +1,38 @@ | ||
{ | ||
"genDelegs": {} | ||
} | ||
"poolVotingThresholds": { | ||
"committeeNormal": 0.51, | ||
"committeeNoConfidence": 0.51, | ||
"hardForkInitiation": 0.51, | ||
"motionNoConfidence": 0.51, | ||
"ppSecurityGroup": 0.51 | ||
}, | ||
"dRepVotingThresholds": { | ||
"motionNoConfidence": 0.51, | ||
"committeeNormal": 0.51, | ||
"committeeNoConfidence": 0.51, | ||
"updateToConstitution": 0.51, | ||
"hardForkInitiation": 0.51, | ||
"ppNetworkGroup": 0.51, | ||
"ppEconomicGroup": 0.51, | ||
"ppTechnicalGroup": 0.51, | ||
"ppGovGroup": 0.51, | ||
"treasuryWithdrawal": 0.51 | ||
}, | ||
"committeeMinSize": 0, | ||
"committeeMaxTermLength": 200, | ||
"govActionLifetime": 10, | ||
"govActionDeposit": 1000000000, | ||
"dRepDeposit": 2000000, | ||
"dRepActivity": 20, | ||
"constitution": { | ||
"anchor": { | ||
"url": "", | ||
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"committee": { | ||
"members": { | ||
}, | ||
"quorum": 0 | ||
} | ||
} |
37 changes: 36 additions & 1 deletion
37
application/src/main/resources/networks/preprod/conway-genesis.json
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 |
---|---|---|
@@ -1,3 +1,38 @@ | ||
{ | ||
"genDelegs": {} | ||
"poolVotingThresholds": { | ||
"committeeNormal": 0.51, | ||
"committeeNoConfidence": 0.51, | ||
"hardForkInitiation": 0.51, | ||
"motionNoConfidence": 0.51, | ||
"ppSecurityGroup": 0.51 | ||
}, | ||
"dRepVotingThresholds": { | ||
"motionNoConfidence": 0.51, | ||
"committeeNormal": 0.51, | ||
"committeeNoConfidence": 0.51, | ||
"updateToConstitution": 0.51, | ||
"hardForkInitiation": 0.51, | ||
"ppNetworkGroup": 0.51, | ||
"ppEconomicGroup": 0.51, | ||
"ppTechnicalGroup": 0.51, | ||
"ppGovGroup": 0.51, | ||
"treasuryWithdrawal": 0.51 | ||
}, | ||
"committeeMinSize": 0, | ||
"committeeMaxTermLength": 200, | ||
"govActionLifetime": 10, | ||
"govActionDeposit": 1000000000, | ||
"dRepDeposit": 2000000, | ||
"dRepActivity": 20, | ||
"constitution": { | ||
"anchor": { | ||
"url": "", | ||
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"committee": { | ||
"members": { | ||
}, | ||
"quorum": 0 | ||
} | ||
} |
Oops, something went wrong.