From 7fe014e295b6d0a739e30880049716674c01e69b Mon Sep 17 00:00:00 2001 From: Trisfald Date: Tue, 1 Oct 2024 11:37:38 +0200 Subject: [PATCH] update protocol schema --- core/primitives/src/shard_layout.rs | 1 + .../res/protocol_schema.toml | 23 +++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/core/primitives/src/shard_layout.rs b/core/primitives/src/shard_layout.rs index b8b0caaa0c8..fe3d530971b 100644 --- a/core/primitives/src/shard_layout.rs +++ b/core/primitives/src/shard_layout.rs @@ -58,6 +58,7 @@ pub type ShardVersion = u32; Debug, PartialEq, Eq, + ProtocolSchema, )] pub enum ShardLayout { V0(ShardLayoutV0), diff --git a/tools/protocol-schema-check/res/protocol_schema.toml b/tools/protocol-schema-check/res/protocol_schema.toml index 7c138ad6180..64c2690aa82 100644 --- a/tools/protocol-schema-check/res/protocol_schema.toml +++ b/tools/protocol-schema-check/res/protocol_schema.toml @@ -103,11 +103,11 @@ EpochInfoV4 = 434230701 EpochSummary = 742414117 EpochValidatorInfo = 378323971 ExecutionMetadata = 3853243413 -ExecutionOutcome = 1325623645 -ExecutionOutcomeWithId = 36999569 -ExecutionOutcomeWithIdAndProof = 4044381219 -ExecutionOutcomeWithProof = 4104315440 -ExecutionStatus = 1810006625 +ExecutionOutcome = 2925419955 +ExecutionOutcomeWithId = 1289816961 +ExecutionOutcomeWithIdAndProof = 3179626578 +ExecutionOutcomeWithProof = 2219338929 +ExecutionStatus = 3681865123 ExtCosts = 1172935704 FetchingStateStatus = 2204896805 FlatStateChanges = 2811133731 @@ -115,7 +115,8 @@ FlatStateDeltaMetadata = 3401366797 FlatStateValue = 83834662 FlatStorageCreationStatus = 3717607657 FlatStorageReadyStatus = 677315221 -FlatStorageStatus = 1026335026 +FlatStorageReshardingStatus = 2079135057 +FlatStorageStatus = 1510148841 FunctionCallAction = 2405840012 FunctionCallError = 3652274053 FunctionCallPermission = 1517509673 @@ -126,7 +127,7 @@ HostError = 3173968216 IgnoredVecU8 = 1855789801 IntegerOverflowError = 2542362165 InvalidAccessKeyError = 2954698659 -InvalidTxError = 1219344901 +InvalidTxError = 2090866399 KeyForFlatStateDelta = 2002998927 LatestKnown = 2945167085 LatestWitnessesInfo = 2488443612 @@ -183,7 +184,7 @@ RoutedMessageBody = 4241045537 RoutingTableUpdate = 2987752645 Secp256K1PublicKey = 4117078281 Secp256K1Signature = 3687154735 -ServerError = 3794571225 +ServerError = 2338793369 ShardChunk = 834871798 ShardChunkHeader = 4215449923 ShardChunkHeaderInner = 3760333502 @@ -195,6 +196,7 @@ ShardChunkHeaderV2 = 3706194757 ShardChunkHeaderV3 = 2763275079 ShardChunkV1 = 1814805625 ShardChunkV2 = 1857597167 +ShardLayout = 3421343543 ShardProof = 2773021473 ShardStateSyncResponse = 2185281594 ShardStateSyncResponseHeaderV1 = 2708725662 @@ -209,6 +211,7 @@ SignedTransaction = 3898692301 SlashState = 3264273950 SlashedValidator = 2601657743 SnapshotHostInfo = 278564957 +SplittingParentStatus = 4074912992 StakeAction = 2002027105 StateChangeCause = 1569242014 StateHeaderKey = 1385533899 @@ -222,7 +225,7 @@ StateStoredReceipt = 3853311293 StateStoredReceiptMetadata = 2895538362 StateStoredReceiptV0 = 4029868827 StateSyncDumpProgress = 2225888613 -StorageError = 1838871872 +StorageError = 2572184728 StoredChunkStateTransitionData = 516372819 String = 2587724713 SyncSnapshotHosts = 4230057383 @@ -236,7 +239,7 @@ TrieKey = 768968236 TrieQueueIndices = 2601394796 TrieRefcountAddition = 2117109883 TrieRefcountSubtraction = 2150368599 -TxExecutionError = 706862037 +TxExecutionError = 214948980 VMKind = 2110212047 ValidatorKickoutReason = 2362237969 ValidatorKickoutView = 2660746751