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

Fixed transient exception on missing balance changes in TransactionBa… #617

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## 1.3.0
Release Date: _unreleased_

- added support for new transaction types (flash transactions) that are gonna occur on protocol updates.
- moved vm_type to `package_code_history` table from package in `entity` table.
- Added support for new transaction types (flash transactions) that are gonna occur on protocol updates.
- Moved vm_type to `package_code_history` table from package in `entity` table.
- `vm_type`, `code_hash_hex` and `code_hex` are returned as collection (it's allowed after protocol update to have multiple codes per package). Previous properties will return empty strings to keep contract compatibility.
- created new `package_blueprint_aggregate_history` table which will hold pointers to all package blueprints.
- created new `package_code_aggregate_history` table which will hold pointers to all package codes.
- Created new `package_blueprint_aggregate_history` table which will hold pointers to all package blueprints.
- Created new `package_code_aggregate_history` table which will hold pointers to all package codes.

## 1.2.4
Release Date: 4.01.2024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ await Parallel.ForEachAsync(transactions, options, async (transaction, cancellat
throw balanceChangesResult.FailureResponse.OriginalApiException;
}

var balanceChanges = balanceChangesResult.SuccessResponse.CommittedTransactionOutcomes.Single();
var balanceChanges = balanceChangesResult.SuccessResponse.CommittedTransactionOutcomes.FirstOrDefault();

if (balanceChanges == null)
{
return;
}

await _observers.ForEachAsync(x => x.PostHandleOutcomeRequest(transaction.StateVersion, selectedNode.Name));

Expand Down