From 21140191da3f5c25f531f358ccb687cb03ff1108 Mon Sep 17 00:00:00 2001 From: jangko Date: Mon, 1 Aug 2022 09:10:24 +0700 Subject: [PATCH] attempt to fix flaky simulator test --- hive_integration/nodocker/engine/helper.nim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hive_integration/nodocker/engine/helper.nim b/hive_integration/nodocker/engine/helper.nim index e78a8ceb3..93d22e5c3 100644 --- a/hive_integration/nodocker/engine/helper.nim +++ b/hive_integration/nodocker/engine/helper.nim @@ -4,7 +4,7 @@ import test_env, eth/[common, rlp, keys], stew/byteutils, - json_rpc/rpcclient, + json_rpc/[rpcclient, errors], ../../../nimbus/rpc/hexstrings, ../../../nimbus/transaction @@ -220,6 +220,10 @@ proc debugPrevRandaoTransaction*(client: RpcClient, tx: Transaction, expectedPre ok() except ValueError as e: err(e.msg) + except JsonRpcError as ex: + # occasionally for unknown reason this proc will fail in CI + # let's see what actually trigger it + err(ex.msg) proc customizeTx(baseTx: Transaction, vaultKey: PrivateKey, customTx: CustomTx): Transaction = # Create a modified transaction base, from the base transaction and customData mix