ethereum / c-kzg-4844

A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C.
Apache License 2.0
118 stars 109 forks source link

[nim] Add completeStruct pragma which workarounds Nim compiler's issue with C codegen. #437

Closed cheatfate closed 4 months ago

cheatfate commented 4 months ago

This helps to avoid Nim codegen issues when KZG types become parts of pure Nim objects. PR works for both pre-gcc-14 and gcc-14.