Skip to content

Commit

Permalink
disambiguate new eth types
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Sep 27, 2024
1 parent 0cc03e6 commit 6c83749
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/helpers/handlers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import

type
Hash256 = w3.Hash256
Address = w3.Address
FixedBytes[N: static int] = w3.FixedBytes[N]

func decodeFromString(x: JsonString, T: type): T =
let jsonBytes = JrpcConv.decode(x.string, string)
Expand Down
3 changes: 3 additions & 0 deletions tests/test_signed_tx.nim
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ contract NumberStorage {
}
}
]#

type Address = web3.Address

contract(NumberStorage):
proc setNumber(number: UInt256)
proc getNumber(): UInt256 {.view.}
Expand Down

0 comments on commit 6c83749

Please sign in to comment.