diff --git a/ethers.nimble b/ethers.nimble index 48d8f72..97abc71 100644 --- a/ethers.nimble +++ b/ethers.nimble @@ -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" diff --git a/ethers/address.nim b/ethers/address.nim index 16322aa..c6d1c7d 100644 --- a/ethers/address.nim +++ b/ethers/address.nim @@ -1,5 +1,8 @@ import pkg/stew/byteutils import pkg/questionable +import pkg/upraises + +push: {.upraises: [].} type Address* = distinct array[20, byte] diff --git a/ethers/basics.nim b/ethers/basics.nim index ecad3e5..da75339 100644 --- a/ethers/basics.nim +++ b/ethers/basics.nim @@ -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 diff --git a/ethers/provider.nim b/ethers/provider.nim index 78b83e5..6714e53 100644 --- a/ethers/provider.nim +++ b/ethers/provider.nim @@ -2,6 +2,8 @@ import ./basics export basics +push: {.upraises: [].} + type Provider* = ref object of RootObj diff --git a/ethers/providers/jsonrpc.nim b/ethers/providers/jsonrpc.nim index 7822425..cbc1ef0 100644 --- a/ethers/providers/jsonrpc.nim +++ b/ethers/providers/jsonrpc.nim @@ -7,6 +7,8 @@ import ./rpccalls export basics export provider +push: {.upraises: [].} + type JsonRpcProvider* = ref object of Provider client: Future[RpcClient]