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

Fix issue when converting from gRPC Address #55

Merged
4 commits merged into from
Jul 24, 2023
Merged

Conversation

limemloh
Copy link
Collaborator

Purpose

Running the GetBlockItemStatus example with the following command causes an exception:

dotnet run --project examples/GetBlockItemStatus --endpoint http://node.testnet.concordium.com:20000 --transactionhash "d56a372453efff9fc98ce573f77e691ed8d78e9fdf2fb46e6a9f8d47b754bd00

Changes

  • Fix issue when converting the gRPC generated Address type to the SDK provided Address type.
  • Fix options for the GetBlockItemStatus example.

Since this is not released yet, I have not updated the changelog.

@limemloh limemloh force-pushed the fix-grpc-account-conversion branch from 44c9a75 to 71fcd61 Compare July 12, 2023 14:17
@limemloh limemloh requested a review from a user July 23, 2023 11:28
… conversions.

Corrected all places where Grpc.AccountAddress was called directly with .ToByteArray, since this will result in a protobuf encoded array instead of just plane as is.
schwartz-concordium added 2 commits July 24, 2023 09:30
Due to new added integration test a collection attribute is needed to avoid test to run in parallel.
@ghost ghost merged commit b1abdfd into main Jul 24, 2023
1 check passed
@ghost ghost deleted the fix-grpc-account-conversion branch July 24, 2023 07:59
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant