Code Monkey home page Code Monkey logo

Comments (4)

jtraglia avatar jtraglia commented on May 22, 2024 1

Alternatively, I've made a PR to expose these functions in blst:

from c-kzg-4844.

xrchz avatar xrchz commented on May 22, 2024

Seems like a reasonable idea presuming it works :) - want to make this change as a PR?

from c-kzg-4844.

henridf avatar henridf commented on May 22, 2024

Hmm, the change works fine for the purpose of the nim bindings, but fails CI: https://github.com/henridf/c-kzg-4844/actions/runs/3677224128/jobs/6218899526

from c-kzg-4844.

henridf avatar henridf commented on May 22, 2024

To clarify my above comment - I can build c_kzg_4844.o locally, with warnings but no errors:

$ clang -Wall -I../inc -DFIELD_ELEMENTS_PER_BLOB=4096 -O2 -fPIC -c c_kzg_4844.c
In file included from c_kzg_4844.c:17:
In file included from ./c_kzg_4844.h:30:
In file included from ./../blst/src/sha256.h:9:
./../blst/src/vect.h:179:13: warning: unused function 'exp_mont_384' [-Wunused-function]
static void exp_mont_384(vec384 out, const vec384 inp, const byte *pow,
            ^
./../blst/src/vect.h:181:13: warning: unused function 'exp_mont_384x' [-Wunused-function]
static void exp_mont_384x(vec384x out, const vec384x inp, const byte *pow,
            ^
./../blst/src/vect.h:183:13: warning: unused function 'div_by_zz' [-Wunused-function]
static void div_by_zz(limb_t val[]);
            ^
./../blst/src/vect.h:184:13: warning: unused function 'div_by_z' [-Wunused-function]
static void div_by_z(limb_t val[]);
            ^
4 warnings generated.

I'm not sure why the failure occurs in CI.

from c-kzg-4844.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.