Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7135: ISS in account store after migration to disk (0.39) #7136

Merged
merged 2 commits into from Jun 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -110,6 +110,11 @@
this.hbarAllowances = that.hbarAllowances;
this.fungibleAllowances = that.fungibleAllowances;
this.nftOperatorApprovals = that.nftOperatorApprovals;
this.firstStorageKeyNonZeroBytes = that.firstStorageKeyNonZeroBytes;
if (that.firstStorageKey != null) {
this.firstStorageKey = new int[that.firstStorageKey.length];
System.arraycopy(that.firstStorageKey, 0, this.firstStorageKey, 0, that.firstStorageKey.length);

Check warning on line 116 in hedera-node/hedera-mono-service/src/main/java/com/hedera/node/app/service/mono/state/virtual/entities/OnDiskAccount.java

View check run for this annotation

Codecov / codecov/patch

hedera-node/hedera-mono-service/src/main/java/com/hedera/node/app/service/mono/state/virtual/entities/OnDiskAccount.java#L115-L116

Added lines #L115 - L116 were not covered by tests
}
System.arraycopy(that.ints, 0, this.ints, 0, IntValues.COUNT);
System.arraycopy(that.longs, 0, this.longs, 0, LongValues.COUNT);
}
Expand Down