attempt to fix flaky simulator test

This commit is contained in:
jangko 2022-08-01 09:10:24 +07:00
parent 50af402f59
commit 21140191da
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 5 additions and 1 deletions

View File

@ -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