Files
Nim/tests/ic/mtoffcodec.nim
2026-06-25 23:20:34 +02:00

4 lines
154 B
Nim

# Helper for ttypeoffer.nim: the extra overload that flips `compiles(toSszType(Gwei))`.
import mtoffgwei
template toSszType*(v: Gwei): uint64 = uint64(v)