Skip to content

Commit

Permalink
Activate block proposal tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jan 16, 2023
1 parent 45d7553 commit 95bd2da
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ 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 @@ -104,7 +102,6 @@ pub(crate) async fn run() -> Result<()> {
try_validate_block_template(&client)
.await
.expect("block proposal validation failed");
*/

zebrad.kill(false)?;

Expand All @@ -130,7 +127,6 @@ 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

0 comments on commit 95bd2da

Please sign in to comment.