Skip to content

Commit

Permalink
disabled running doc tests for some of the examples as they fail due …
Browse files Browse the repository at this point in the history
…to RPC issues
  • Loading branch information
frol committed Dec 24, 2023
1 parent 91a1c66 commit 64d0929
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/methods/broadcast_tx_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//!
//! A full example on how to use `broadcast_tx_async` method can be found at [`contract_change_method`](https://github.com/near/near-jsonrpc-client-rs/blob/master/examples/contract_change_method.rs).
//!
//! ```
//! ```no_run
//! use near_jsonrpc_client::{methods, JsonRpcClient};
//! use near_primitives::types::{AccountId};
//! use near_primitives::transaction::{Action, FunctionCallAction, Transaction};
Expand Down
2 changes: 1 addition & 1 deletion src/methods/broadcast_tx_commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//!
//! ## Example
//!
//! ```
//! ```no_run
//! use near_jsonrpc_client::{methods, JsonRpcClient};
//! use near_jsonrpc_primitives::types::{query::QueryResponseKind, transactions::TransactionInfo};
//! use near_primitives::types::{AccountId, BlockReference};
Expand Down
2 changes: 1 addition & 1 deletion src/methods/experimental/check_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! ## Example
//!
//! ```
//! ```no_run
//! use near_jsonrpc_client::{methods, JsonRpcClient};
//! use near_jsonrpc_primitives::types::{query::QueryResponseKind, transactions};
//! use near_primitives::types::{AccountId, BlockReference};
Expand Down
4 changes: 2 additions & 2 deletions src/methods/experimental/protocol_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! Returns the protocol config of the blockchain at a given block.
//!
//! ```
//! ```no_run
//! use near_jsonrpc_client::{methods, JsonRpcClient};
//! use near_primitives::types::{BlockReference, BlockId};
//!
Expand All @@ -15,7 +15,7 @@
//! let client = JsonRpcClient::connect("https://archival-rpc.mainnet.near.org");
//!
//! let request = methods::EXPERIMENTAL_protocol_config::RpcProtocolConfigRequest {
//! block_reference: BlockReference::BlockId(BlockId::Height(47988413))
//! block_reference: BlockReference::BlockId(BlockId::Height(100_000_000))
//! };
//!
//! let response = client.call(request).await?;
Expand Down

0 comments on commit 64d0929

Please sign in to comment.