Skip to content

Commit

Permalink
Merge branch 'bmresearch:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
BifrostTitan authored Nov 26, 2022
2 parents 2f6d8dc + 690f4c8 commit b468954
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
with:
script-path: build.cake
target: Report
cake-version: 1.1.0
cake-bootstrap: true
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@v1.1.2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
script-path: build.cake
target: Pack
cake-version: 1.1.0
cake-bootstrap: true
- name: Publish Solnet.Extensions on version change
uses: bmresearch/publish-nuget@master
Expand Down
4 changes: 2 additions & 2 deletions src/Solnet.Rpc/IRpcClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -715,15 +715,15 @@ RequestResult<List<AccountKeyPair>> GetProgramAccounts(string pubKey, Commitment
/// </summary>
/// <param name="commitment">The state commitment to consider when querying the ledger state.</param>
/// <returns>Returns a task that holds the asynchronous operation result and state.</returns>
[Obsolete("DEPRECATED: Please use GetLatestBlockhashAsync instead. This method is expected to be removed in solana-core v2.0")]
[Obsolete("DEPRECATED: Please use GetLatestBlockHashAsync instead. This method is expected to be removed in solana-core v2.0")]
Task<RequestResult<ResponseValue<BlockHash>>> GetRecentBlockHashAsync(Commitment commitment = Commitment.Finalized);

/// <summary>
/// Gets a recent block hash.
/// </summary>
/// <param name="commitment">The state commitment to consider when querying the ledger state.</param>
/// <returns>Returns an object that wraps the result along with possible errors with the request.</returns>
[Obsolete("DEPRECATED: Please use GetLatestBlockhash instead. This method is expected to be removed in solana-core v2.0")]
[Obsolete("DEPRECATED: Please use GetLatestBlockHash instead. This method is expected to be removed in solana-core v2.0")]
RequestResult<ResponseValue<BlockHash>> GetRecentBlockHash(Commitment commitment = Commitment.Finalized);

/// <summary>
Expand Down
5 changes: 5 additions & 0 deletions src/Solnet.Rpc/Models/Block.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@ public class TokenBalanceInfo
/// </summary>
public string Mint { get; set; }

/// <summary>
/// Pubkey of the token owner
/// </summary>
public string Owner { get; set; }

/// <summary>
/// Token balance details.
/// </summary>
Expand Down

0 comments on commit b468954

Please sign in to comment.