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 "chronos >= 3.0.0 & < 4.0.0"
|
||||||
requires "contractabi >= 0.4.0 & < 0.5.0"
|
requires "contractabi >= 0.4.0 & < 0.5.0"
|
||||||
requires "questionable >= 0.10.2 & < 0.11.0"
|
requires "questionable >= 0.10.2 & < 0.11.0"
|
||||||
|
requires "upraises >= 0.1.0 & < 0.2.0"
|
||||||
requires "json_rpc"
|
requires "json_rpc"
|
||||||
requires "stint"
|
requires "stint"
|
||||||
requires "stew"
|
requires "stew"
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
import pkg/stew/byteutils
|
import pkg/stew/byteutils
|
||||||
import pkg/questionable
|
import pkg/questionable
|
||||||
|
import pkg/upraises
|
||||||
|
|
||||||
|
push: {.upraises: [].}
|
||||||
|
|
||||||
type
|
type
|
||||||
Address* = distinct array[20, byte]
|
Address* = distinct array[20, byte]
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
import pkg/chronos
|
import pkg/chronos
|
||||||
import pkg/questionable
|
import pkg/questionable
|
||||||
import pkg/stint
|
import pkg/stint
|
||||||
|
import pkg/upraises
|
||||||
import ./address
|
import ./address
|
||||||
|
|
||||||
export chronos
|
export chronos
|
||||||
export address
|
|
||||||
export questionable
|
export questionable
|
||||||
export stint
|
export stint
|
||||||
|
export upraises
|
||||||
|
export address
|
||||||
|
|
|
@ -2,6 +2,8 @@ import ./basics
|
||||||
|
|
||||||
export basics
|
export basics
|
||||||
|
|
||||||
|
push: {.upraises: [].}
|
||||||
|
|
||||||
type
|
type
|
||||||
Provider* = ref object of RootObj
|
Provider* = ref object of RootObj
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ import ./rpccalls
|
||||||
export basics
|
export basics
|
||||||
export provider
|
export provider
|
||||||
|
|
||||||
|
push: {.upraises: [].}
|
||||||
|
|
||||||
type JsonRpcProvider* = ref object of Provider
|
type JsonRpcProvider* = ref object of Provider
|
||||||
client: Future[RpcClient]
|
client: Future[RpcClient]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue