Ensure that no unexpected exceptions are raised
This commit is contained in:
parent
7bc102a421
commit
177ed78d65
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import pkg/stew/byteutils
|
||||
import pkg/questionable
|
||||
import pkg/upraises
|
||||
|
||||
push: {.upraises: [].}
|
||||
|
||||
type
|
||||
Address* = distinct array[20, byte]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,6 +2,8 @@ import ./basics
|
|||
|
||||
export basics
|
||||
|
||||
push: {.upraises: [].}
|
||||
|
||||
type
|
||||
Provider* = ref object of RootObj
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ import ./rpccalls
|
|||
export basics
|
||||
export provider
|
||||
|
||||
push: {.upraises: [].}
|
||||
|
||||
type JsonRpcProvider* = ref object of Provider
|
||||
client: Future[RpcClient]
|
||||
|
||||
|
|
Loading…
Reference in New Issue