Skip to content

Commit

Permalink
fix ServicesState class id
Browse files Browse the repository at this point in the history
Signed-off-by: Neeharika-Sompalli <[email protected]>
  • Loading branch information
Neeharika-Sompalli committed Jan 24, 2024
1 parent 0d03207 commit f81e086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ public class MerkleHederaState extends PartialNaryMerkleInternal implements Merk
*/
private static final long DO_NOT_USE_IN_REAL_LIFE_CLASS_ID = 0x0000deadbeef0000L;

private static final long CLASS_ID = 0x2de3ead3caf06392L;
// private static final long CLASS_ID = 0x2de3ead3caf06392L;
// Uncomment the following class ID to run a mono -> modular state migration
// NOTE: also change class ID of ServicesState
// private static final long CLASS_ID = 0x8e300b0dfdafbb1aL;
private static final long CLASS_ID = 0x8e300b0dfdafbb1aL;
private static final int VERSION_1 = 30;
private static final int CURRENT_VERSION = VERSION_1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ public class ServicesState extends PartialNaryMerkleInternal
implements MerkleInternal, SwirldState, StateChildrenProvider {
private static final Logger log = LogManager.getLogger(ServicesState.class);

private static final long RUNTIME_CONSTRUCTABLE_ID = 0x8e300b0dfdafbb1aL;
// private static final long RUNTIME_CONSTRUCTABLE_ID = 0x8e300b0dfdafbb1aL;
// Uncomment the following class ID to run a mono -> modular state migration
// NOTE: also change class ID of MerkleHederaState
// private static final long RUNTIME_CONSTRUCTABLE_ID = 0x8e300b0dfdafbb1bL;
private static final long RUNTIME_CONSTRUCTABLE_ID = 0x8e300b0dfdafbb1bL;
public static final ImmutableHash EMPTY_HASH = new ImmutableHash(new byte[DigestType.SHA_384.digestLength()]);

// Only over-written when Platform deserializes a legacy version of the state
Expand Down

0 comments on commit f81e086

Please sign in to comment.