v0.2.8-pre.002

This commit is contained in:
2026-08-23 13:15:42 +02:00
parent 315e7e67e5
commit 0871b85df9
12 changed files with 767 additions and 50 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-onchain-transport-lib/unit_tests/ws_settings.rs
// version: 1
// version: 2
fn valid_endpoint(name: &str, url_text: &str) -> crate::WsEndpointSettings {
return crate::WsEndpointSettings::new(
@@ -47,8 +47,10 @@ fn websocket_endpoint_url_errors_do_not_echo_sensitive_url() {
}
#[test]
fn websocket_protocol_kind_is_extensible_but_only_standard_is_available_now() {
fn websocket_protocol_kind_distinguishes_standard_and_helius_laserstream_websocket() {
assert_eq!(crate::WsProtocolKind::SolanaStandard.as_str(), "solana_standard");
assert_eq!(crate::WsProtocolKind::HeliusLaserStream.as_str(), "helius_laserstream");
assert_ne!(crate::WsProtocolKind::SolanaStandard, crate::WsProtocolKind::HeliusLaserStream);
}
#[test]