Skip to content

Commit

Permalink
Disable new CI tests until bugs are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jan 15, 2023
1 parent 0702797 commit 07e3f55
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ pub(crate) async fn run() -> Result<()> {

tokio::time::sleep(EXPECTED_MEMPOOL_TRANSACTION_TIME).await;

/* TODO: activate this test after #5925 and #5953 have merged,
and we've checked for any other bugs using #5944.
tracing::info!(
"calling getblocktemplate RPC method at {rpc_address}, \
with a mempool that likely has transactions and attempting \
Expand All @@ -110,6 +112,7 @@ pub(crate) async fn run() -> Result<()> {
try_validate_block_template(&client)
.await
.expect("block proposal validation failed");
*/

zebrad.kill(false)?;

Expand All @@ -135,6 +138,7 @@ pub(crate) async fn run() -> Result<()> {
/// If an RPC call returns a failure
/// If the response result cannot be deserialized to `GetBlockTemplate` in 'template' mode
/// or `ProposalResponse` in 'proposal' mode.
#[allow(dead_code)]
async fn try_validate_block_template(client: &RPCRequestClient) -> Result<()> {
let response_json_result = client
.json_result_from_call("getblocktemplate", "[]".to_string())
Expand Down Expand Up @@ -182,6 +186,7 @@ async fn try_validate_block_template(client: &RPCRequestClient) -> Result<()> {
///
/// Returns an array of 3 block proposals using `curtime`, `mintime`, and `maxtime`
/// for their `block.header.time` fields.
#[allow(dead_code)]
fn proposal_block_from_template(
GetBlockTemplate {
version,
Expand Down

0 comments on commit 07e3f55

Please sign in to comment.