Skip to content

Update Asset Index to be BigInt - #4

Open
PJvGrol wants to merge 11 commits into
manual-improvementsfrom
asset-index-bigint
Open

Update Asset Index to be BigInt#4
PJvGrol wants to merge 11 commits into
manual-improvementsfrom
asset-index-bigint

Conversation

@PJvGrol

@PJvGrol PJvGrol commented Jul 12, 2024

Copy link
Copy Markdown
Member

No description provided.

PJvGrol and others added 6 commits July 12, 2024 14:45
Updated the Algorand .NET SDK version from 0.2.2.0-beta14 to 0.2.2.0-beta15 to incorporate the latest features and bug fixes.
Updated the Algorand .NET SDK version from 0.2.2.0-beta15 to 0.2.2.0-beta16 to incorporate the latest features and bug fixes.
Changed the parameter type for `asset_id` from `int?` to `ulong?` in the `AccountsAsync` and `TransactionsAsync` methods within the `SearchApi.cs` file, affecting both overloads of each method in the `Algorand.V2.Indexer` namespace.
Updated the Algorand .NET SDK version from 0.2.2.0-beta16 to 0.2.2.0-beta17 to incorporate the latest features and bug fixes.
Comment thread dotnet-algorand-sdk/Transaction.cs Outdated
/// <returns>(empty)</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
System.Threading.Tasks.Task<Response> AccountsAsync(int? asset_id, int? limit, string next, ulong? currency_greater_than, bool? include_all, ulong? currency_less_than, string auth_addr, ulong? round, int? application_id);
System.Threading.Tasks.Task<Response> AccountsAsync(ulong? asset_id, int? limit, string next, ulong? currency_greater_than, bool? include_all, ulong? currency_less_than, string auth_addr, ulong? round, int? application_id);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're making assetid an ulong here, we should probably do the same on the actual asset model? (instead of bigint)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should =)

raymens and others added 5 commits July 18, 2024 11:56
Removed the automatic generation of `asset.MetadataHash` in the Algorand namespace within Utils.cs. Now, the validation logic only allows a `MetadataHash` that is exactly 32 bytes long and throws an exception for any other length, ensuring that a valid hash must be explicitly provided.
Updated the Algorand .NET SDK version from 0.2.2.0-beta17 to 0.2.2.0-beta18 to incorporate the latest features and bug fixes.
@PJvGrol
PJvGrol force-pushed the asset-index-bigint branch from 3b7c075 to 2e69ccc Compare October 8, 2024 12:22
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.

2 participants