Skip to content

Commit

Permalink
chore: Mirroring state changes update to block stream for roster valu…
Browse files Browse the repository at this point in the history
…es (hashgraph#15225)

Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
  • Loading branch information
jsync-swirlds authored Aug 28, 2024
1 parent 3158b49 commit 5fdc125
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion hapi/hedera-protobufs/block/stream/output/state_changes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ import "state/contract/bytecode.proto";
import "state/contract/storage_slot.proto";
import "state/file/file.proto";
import "state/recordcache/recordcache.proto";
import "state/roster/roster.proto";
import "state/roster/roster_state.proto";
import "state/schedule/schedule.proto";
import "state/throttles/throttle_usage_snapshots.proto";
import "state/token/account.proto";
Expand Down Expand Up @@ -341,6 +343,16 @@ enum StateIdentifier {
*/
STATE_ID_PLATFORM_STATE = 26;

/**
* A state identifier for the roster state singleton.
*/
STATE_ID_ROSTER_STATE = 27;

/**
* A state identifier for the rosters key/value map.
*/
STATE_ID_ROSTERS = 28;

/**
* A state identifier for the round receipts queue.
*/
Expand Down Expand Up @@ -545,6 +557,11 @@ message SingletonUpdateChange {
* A change to the platform state singleton.
*/
com.hedera.hapi.platform.state.PlatformState platform_state_value = 12;

/**
* A change to the roster state singleton.
*/
com.hedera.hapi.node.state.roster.RosterState roster_state_value = 13;
}
}

Expand Down Expand Up @@ -774,6 +791,10 @@ message MapChangeValue {
*/
proto.AccountPendingAirdrop account_pending_airdrop_value = 15;

/**
* A roster value.
*/
com.hedera.hapi.node.state.roster.Roster roster_value = 16;
}
}

Expand All @@ -797,7 +818,7 @@ message QueuePushChange {
google.protobuf.StringValue proto_string_element = 2;

/**
* All the transaction receipts for a round added to queue state.
* All transaction receipts for a round added to queue state.
*/
proto.TransactionReceiptEntries transaction_receipt_entries_element = 3;
}
Expand Down

0 comments on commit 5fdc125

Please sign in to comment.