Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(codespell): typos #8612

Merged
merged 2 commits into from
Jun 14, 2024
Merged
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 changes: 1 addition & 1 deletion book/src/dev/rfcs/0009-zebra-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ A specific set of _privileged_ RPC endpoints:
via a firewall)

Support for sending tx's via _non-privileged_ RPC endpoints, or via Stolon:
- sendTransaction: once you author a transcation you can gossip it via any
- sendTransaction: once you author a transaction you can gossip it via any
Zcash node, not just a specific instance of zebrad

## Wallet functionality
Expand Down
2 changes: 1 addition & 1 deletion zebra-grpc/src/tests/snapshot.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Snapshot tests for Zebra Scan gRPC responses.
//!
//! Currently we snapshot the `get_info` and `get_results` responses for both mainnet and testnet with a
//! mocked scanner database. Calls that return `Empty` responses are not snapshoted in this suite.
//! mocked scanner database. Calls that return `Empty` responses are not snapshotted in this suite.
//!
//! To update these snapshots, run:
//! ```sh
Expand All @@ -26,7 +26,7 @@
};

/// The extended Sapling viewing key of [ZECpages](https://zecpages.com/boardinfo)
pub const ZECPAGES_SAPLING_VIEWING_KEY: &str = "zxviews1q0duytgcqqqqpqre26wkl45gvwwwd706xw608hucmvfalr759ejwf7qshjf5r9aa7323zulvz6plhttp5mltqcgs9t039cx2d09mgq05ts63n8u35hyv6h9nc9ctqqtue2u7cer2mqegunuulq2luhq3ywjcz35yyljewa4mgkgjzyfwh6fr6jd0dzd44ghk0nxdv2hnv4j5nxfwv24rwdmgllhe0p8568sgqt9ckt02v2kxf5ahtql6s0ltjpkckw8gtymxtxuu9gcr0swvz";

Check warning on line 29 in zebra-grpc/src/tests/snapshot.rs

View workflow job for this annotation

GitHub Actions / Test stable on windows-latest

constant `ZECPAGES_SAPLING_VIEWING_KEY` is never used

#[tokio::test(flavor = "multi_thread")]
#[cfg(not(target_os = "windows"))]
Expand All @@ -45,7 +45,7 @@
);
}

async fn test_mocked_rpc_response_data_for_network(network: Network, random_port: u16) {

Check warning on line 48 in zebra-grpc/src/tests/snapshot.rs

View workflow job for this annotation

GitHub Actions / Test stable on windows-latest

function `test_mocked_rpc_response_data_for_network` is never used
// get a mocked scan service
let mock_scan_service = MockService::build().for_unit_tests();

Expand Down Expand Up @@ -223,12 +223,12 @@
}

/// Snapshot `getinfo` response, using `cargo insta` and JSON serialization.
fn snapshot_rpc_getinfo(info: InfoReply, settings: &insta::Settings) {

Check warning on line 226 in zebra-grpc/src/tests/snapshot.rs

View workflow job for this annotation

GitHub Actions / Test stable on windows-latest

function `snapshot_rpc_getinfo` is never used
settings.bind(|| insta::assert_json_snapshot!("get_info", info));
}

/// Snapshot `getresults` response, using `cargo insta` and JSON serialization.
fn snapshot_rpc_getresults(results: GetResultsResponse, settings: &insta::Settings) {

Check warning on line 231 in zebra-grpc/src/tests/snapshot.rs

View workflow job for this annotation

GitHub Actions / Test stable on windows-latest

function `snapshot_rpc_getresults` is never used
settings.bind(|| insta::assert_json_snapshot!("get_results", results));
}

Expand Down
Loading