Skip to content
Open
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
2,653 changes: 1,829 additions & 824 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ check-cfg = [

[workspace.metadata.spellcheck]
config = "scripts/spellcheck.toml"

[patch.crates-io]
solana-stake-interface = { path = "interface" }
2 changes: 1 addition & 1 deletion clients/rust/src/generated/types/delegation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ pub struct Delegation {
pub stake: u64,
pub activation_epoch: Epoch,
pub deactivation_epoch: Epoch,
pub warmup_cooldown_rate: f64,
pub reserved: [u8; 8],
}
1 change: 1 addition & 0 deletions interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ serde_json = { version = "1.0", optional = true }
anyhow = "1"
assert_matches = "1.5.0"
bincode = "1.3.3"
proptest = "1.10.0"
serial_test = "3.4.0"
solana-account = { version = "4.0.0", features = ["bincode"] }
solana-borsh = "3.0.0"
Expand Down
15 changes: 11 additions & 4 deletions interface/idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,18 @@
},
{
"kind": "structFieldTypeNode",
"name": "warmupCooldownRate",
"name": "reserved",
"type": {
"endian": "le",
"format": "f64",
"kind": "numberTypeNode"
"count": {
"kind": "fixedCountNode",
"value": 8
},
"item": {
"endian": "le",
"format": "u8",
"kind": "numberTypeNode"
},
"kind": "arrayTypeNode"
}
}
],
Expand Down
3 changes: 3 additions & 0 deletions interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ pub mod state;
#[cfg(feature = "sysvar")]
pub mod sysvar;
pub mod tools;
#[cfg(test)]
mod ulp;
pub mod warmup_cooldown_allowance;

#[cfg(feature = "codama")]
use codama_macros::codama;
Expand Down
Loading
Loading