This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add consensus_failure member roles (#218)
* add consensus_failure member roles Introduces `consensus_failure_member` and `consensus_failure_failed_member` as actor roles and uses them in `blockchain_txn_consensus_group_failure_v1` transactions as actors to distinguish from the normal `consensus_member` role. A `backfill consensus_failure_members` is provided to adjust the existing actor role entries, it: * Fixes up the fields for the affected transactions * Removes all actors associated with the affected transaction * Inserts the new/fixed actors for the affected transactions
- Loading branch information
Showing
7 changed files
with
138 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- migrations/1628080839-consensus_failure_member.sql | ||
-- :up | ||
|
||
ALTER TYPE transaction_actor_role ADD VALUE IF NOT EXISTS 'consensus_failure_member'; | ||
|
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,4 @@ | ||
-- migrations/1628082883-consensus_failure_failed_member.sql | ||
-- :up | ||
|
||
ALTER TYPE transaction_actor_role ADD VALUE IF NOT EXISTS 'consensus_failure_failed_member'; |
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