From f014ea44a56c1f45ea7498363234a1fec23feccb Mon Sep 17 00:00:00 2001 From: henridf Date: Thu, 27 Apr 2023 10:37:23 +0200 Subject: [PATCH] Fix FIELD_ELEMENTS_PER_BLOB pragma (#294) --- bindings/nim/kzg_abi.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/nim/kzg_abi.nim b/bindings/nim/kzg_abi.nim index f5363f6..52e2558 100644 --- a/bindings/nim/kzg_abi.nim +++ b/bindings/nim/kzg_abi.nim @@ -10,7 +10,7 @@ from os import DirSep const # FIELD_ELEMENTS_PER_BLOB is overrideable from # compiler switch -d: or --define: - FIELD_ELEMENTS_PER_BLOB* {.strdefine.} = 4096 + FIELD_ELEMENTS_PER_BLOB* {.intdefine.} = 4096 # kzgPath: c-kzg-4844 project path, removing 3 last elem kzgPath = currentSourcePath.rsplit(DirSep, 3)[0] & "/" blstPath = kzgPath & "blst/"