-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 82cc5c1 Merge: 8229fc0 e3dc0a0 Author: Carlos LopezDeLara <[email protected]> Date: Thu May 2 13:10:52 2024 -0600 Merge branch 'cl/hardforkinit' of github.com:IntersectMBO/cardano-cli into cl/hardforkinit commit 8229fc0 Author: Carlos LopezDeLara <[email protected]> Date: Wed May 1 12:09:49 2024 -0600 action create-hardfork command Co-Authored-By: Clément Hurlin <[email protected]> commit e3dc0a0 Author: Carlos LopezDeLara <[email protected]> Date: Wed May 1 12:09:49 2024 -0600 action create-hardfork command Co-Authored-By: Clément Hurlin <[email protected]>
- Loading branch information
1 parent
829af70
commit b28cb9c
Showing
8 changed files
with
208 additions
and
2 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
5 changes: 5 additions & 0 deletions
5
.../cardano-cli-golden/files/golden/governance/action/hardfork/conway-create-hardfork.action
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,5 @@ | ||
{ | ||
"type": "Governance proposal", | ||
"description": "Hardfork initiation governance action", | ||
"cborHex": "84193039581de18f4a3466a404c11eb410313015b88e447d81b60089e25f611600e6058301f6820a00826b6578616d706c652e636f6d5820c7ddb5b493faa4d3d2d679847740bdce0c5d358d56f9b1470ca67f5652a02745" | ||
} |
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
52 changes: 52 additions & 0 deletions
52
...li/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli
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,52 @@ | ||
Usage: cardano-cli conway governance action create-hardfork | ||
( --mainnet | ||
| --testnet | ||
) | ||
--governance-action-deposit NATURAL | ||
( --deposit-return-stake-verification-key STRING | ||
| --deposit-return-stake-verification-key-file FILE | ||
| --deposit-return-stake-key-hash HASH | ||
| --deposit-return-stake-script-file FILE | ||
| --deposit-return-stake-address ADDRESS | ||
) | ||
[--prev-governance-action-tx-id TXID | ||
--prev-governance-action-index WORD32] | ||
--anchor-url TEXT | ||
--anchor-data-hash HASH | ||
--protocol-major-version MAJOR | ||
--protocol-minor-version MINOR | ||
--out-file FILE | ||
|
||
Create a hardfork initiation proposal. | ||
|
||
Available options: | ||
--mainnet Use the mainnet magic id. | ||
--testnet Use the testnet magic id. | ||
--governance-action-deposit NATURAL | ||
Deposit required to submit a governance action. | ||
--deposit-return-stake-verification-key STRING | ||
Stake verification key (Bech32 or hex-encoded). | ||
--deposit-return-stake-verification-key-file FILE | ||
Filepath of the staking verification key. | ||
--deposit-return-stake-key-hash HASH | ||
Stake verification key hash (hex-encoded). | ||
--deposit-return-stake-script-file FILE | ||
Filepath of the staking script. | ||
--deposit-return-stake-address ADDRESS | ||
Target stake address (bech32 format). | ||
--prev-governance-action-tx-id TXID | ||
Txid of the previous governance action. | ||
--prev-governance-action-index WORD32 | ||
Action index of the previous governance action. | ||
--anchor-url TEXT Anchor URL | ||
--anchor-data-hash HASH Proposal anchor data hash (obtain it with | ||
"cardano-cli conway governance hash anchor-data ...") | ||
--protocol-major-version MAJOR | ||
Specify the major protocol version to fork into. It | ||
must be the next natural number after the current | ||
version and must be supported by the node. | ||
--protocol-minor-version MINOR | ||
Minor protocol version. Must be zero when the major | ||
protocol version is increased. | ||
--out-file FILE Output filepath of the hardfork proposal. | ||
-h,--help Show this help text |