Files
Nim/tests/ic/mtoffcodec.nim
2026-06-16 18:31:52 +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)