Skip to content

Commit 33173c8

Browse files
committed
v8.5.0 release
## Latest changes - Updated getTransaction to allow different response encodings & added support for loadedAddresses, rewards and dynamic version json types. - Removed BouncyCastle & Chaos dependencies. Replaced them with BifrostSecurity in favor of in-house maintained cryptography libraries. - Stakepool program & staking classes. - AccountCompression program - Governance program - Address Lookup Table Program - Rate limiter fixes
1 parent 975c651 commit 33173c8

9 files changed

Lines changed: 208 additions & 266 deletions

File tree

CONTRIBUTING.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ own code:
1414

1515
- The `discussions`_ page
1616
can be used to discuss a number of different questions, including support.
17-
- The email blockmountainresearch(at)protonmail.com can be used for longer term
18-
discussion or larger issues.
1917

2018
.. _discussions: https://github.com/bmresearch/Solnet/discussions
2119

README.md

Lines changed: 181 additions & 245 deletions
Large diffs are not rendered by default.

RELEASE-NOTES.txt

Whitespace-only changes.

SharedBuildProperties.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Product>Solnet</Product>
5-
<Version>6.1.0</Version>
6-
<Copyright>Copyright 2022 &#169; Solnet</Copyright>
7-
<Authors>blockmountain</Authors>
8-
<PublisherName>blockmountain</PublisherName>
5+
<Version>8.5.0</Version>
6+
<Copyright>Copyright 2025 &#169; Solnet</Copyright>
7+
<Authors>blockmountain, Bifrost</Authors>
8+
<PublisherName>Bifrost</PublisherName>
99
<RepositoryUrl>https://github.com/bmresearch/Solnet</RepositoryUrl>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<LangVersion>latest</LangVersion>
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<PackageIcon>icon.png</PackageIcon>
1414
<PackageDescription>Solnet is Solana's .NET integration library.</PackageDescription>
15-
<PackageTags>solana;solnet;sol;net5;spl</PackageTags>
15+
<PackageTags>solana;solnet;sol;net8;spl</PackageTags>
1616
<PackageReleaseNotes>https://github.com/bmresearch/Solnet/releases</PackageReleaseNotes>
1717
<RepositoryType>git</RepositoryType>
1818
</PropertyGroup>

index.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/Solnet.Programs/StakePool/Models/FutureEpoch.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class One : FutureEpoch<T>
2828
/// </summary>
2929
public T Value { get; }
3030
/// <summary>
31-
/// Initializes a new instance of the <see cref="One{T}"/> class with the specified value.
31+
/// Initializes a new instance of the <see cref="FutureEpoch{T}.One"/> class with the specified value.
3232
/// </summary>
3333
/// <param name="value">The value to be assigned to the instance.</param>
3434
public One(T value) => Value = value;
@@ -58,7 +58,7 @@ public sealed class Two : FutureEpoch<T>
5858
/// <summary>
5959
/// Returns the value if it's ready (i.e., in the One state), otherwise null.
6060
/// </summary>
61-
public T? Get()
61+
public T Get()
6262
{
6363
return this is One one ? one.Value : default;
6464
}
@@ -80,7 +80,7 @@ public FutureEpoch<T> UpdateEpoch()
8080
/// <summary>
8181
/// Converts the FutureEpoch to an Option-like value (null if None, value otherwise).
8282
/// </summary>
83-
public T? ToOption()
83+
public T ToOption()
8484
{
8585
return this switch
8686
{

src/Solnet.Programs/StakePool/Models/PodStakeStatus.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ namespace Solnet.Programs.StakePool.Models
77
/// </summary>
88
public struct PodStakeStatus : IEquatable<PodStakeStatus>
99
{
10+
/// <summary>
11+
/// The byte value representing the pod's stake status.
12+
/// </summary>
1013
public byte Value;
1114

1215
/// <summary>
@@ -108,8 +111,20 @@ public static explicit operator StakeStatus(PodStakeStatus pod)
108111
/// <returns>An integer that represents the hash code for the current object.</returns>
109112
public override int GetHashCode() => Value.GetHashCode();
110113

114+
/// <summary>
115+
/// Determines whether two specified instances of <see cref="PodStakeStatus"/> are equal.
116+
/// </summary>
117+
/// <param name="left"></param>
118+
/// <param name="right"></param>
119+
/// <returns></returns>
111120
public static bool operator ==(PodStakeStatus left, PodStakeStatus right) => left.Equals(right);
112121

122+
/// <summary>
123+
/// Determines whether two specified instances of <see cref="PodStakeStatus"/> are not equal.
124+
/// </summary>
125+
/// <param name="left"></param>
126+
/// <param name="right"></param>
127+
/// <returns></returns>
113128
public static bool operator !=(PodStakeStatus left, PodStakeStatus right) => !(left == right);
114129
}
115130
}

src/Solnet.Programs/StakePool/Models/StakePoolExtensions.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ namespace Solnet.Programs.StakePool.Models
99
// TODO: This needs to be implemented after Token2022
1010
//public static class StakePoolExtensions
1111
//{
12-
13-
/// <summary>
14-
/// Checks if the given extension is supported for the stake pool mint.
15-
/// </summary>
16-
/// <param name="extensionType">The extension type to check.</param>
17-
/// <returns>True if supported, false otherwise.</returns>
12+
1813
//public static bool IsExtensionSupportedForMint(ExtensionType extensionType)
1914
//{
2015
// // Note: This list must match the Rust SUPPORTED_EXTENSIONS array.

src/Solnet.Rpc/Models/RewardInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public class RewardInfo
2121
/// </summary>
2222
public ulong PostBalance { get; set; }
2323

24-
24+
/// <summary>
25+
/// The epoch in which the reward was credited or debited.
26+
/// </summary>
2527
public RewardType RewardType { get; set; }
2628
}
2729

0 commit comments

Comments
 (0)