Ensure that no unexpected exceptions are raised

This commit is contained in:
Mark Spanbroek 2022-01-18 14:51:53 +01:00
parent 7bc102a421
commit 177ed78d65
5 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,7 @@ license = "MIT"
requires "chronos >= 3.0.0 & < 4.0.0"
requires "contractabi >= 0.4.0 & < 0.5.0"
requires "questionable >= 0.10.2 & < 0.11.0"
requires "upraises >= 0.1.0 & < 0.2.0"
requires "json_rpc"
requires "stint"
requires "stew"

View File

@ -1,5 +1,8 @@
import pkg/stew/byteutils
import pkg/questionable
import pkg/upraises
push: {.upraises: [].}
type
Address* = distinct array[20, byte]

View File

@ -1,9 +1,11 @@
import pkg/chronos
import pkg/questionable
import pkg/stint
import pkg/upraises
import ./address
export chronos
export address
export questionable
export stint
export upraises
export address

View File

@ -2,6 +2,8 @@ import ./basics
export basics
push: {.upraises: [].}
type
Provider* = ref object of RootObj

View File

@ -7,6 +7,8 @@ import ./rpccalls
export basics
export provider
push: {.upraises: [].}
type JsonRpcProvider* = ref object of Provider
client: Future[RpcClient]