Giter Club home page Giter Club logo

Comments (7)

asn-d6 avatar asn-d6 commented on May 18, 2024 2

Hello, that seems like a promising approach to solving the problem, and requires less tinkering of the audited code than making FIELD_ELEMENTS_PER_BLOB configurable. I can look next week at how to achieve this (since honestly I have no idea). Thanks for the suggestion.

from c-kzg-4844.

asn-d6 avatar asn-d6 commented on May 18, 2024 2

So, I pushed #313 which includes some cursed macro code 2c58b2a that gets used around the codebase 6253751 .

To use this cursed feature you need to define a LIB_PREFIX as follows: LIB_PREFIX=ckzg

Would this work for you guys?

Either way, I think we should probably wait until Justin is back from OOO to see if this is acceptable in terms of code quality. I don't really like it, but if it's a needed feature I can probably turn a blind eye.

from c-kzg-4844.

divagant-martian avatar divagant-martian commented on May 18, 2024 1

digging this approach 🎉

from c-kzg-4844.

michaelsproul avatar michaelsproul commented on May 18, 2024

@asn-d6 That looks like it would work for us, and I don't think the macros are too bad from an aesthetics/maintainability PoV. If I get some time I'll try to re-work the Rust bindings and confirm that it works end-to-end.

Thanks for your work on that!

from c-kzg-4844.

ppopth avatar ppopth commented on May 18, 2024

Either way, I think we should probably wait until Justin is back from OOO to see if this is acceptable in terms of code quality. I don't really like it, but if it's a needed feature I can probably turn a blind eye.

Yeah, let's wait for his comment, but I think the PR already looks good.

from c-kzg-4844.

jtraglia avatar jtraglia commented on May 18, 2024

Either way, I think we should probably wait until Justin is back from OOO to see if this is acceptable in terms of code quality. I don't really like it, but if it's a needed feature I can probably turn a blind eye.

Yeah, let's wait for his comment, but I think the PR already looks good.

Reviewed the PR yesterday. I'm not ecstatic about it either, but I think it's a clever solution with minimal changes. I want to look into how complicated it would be to do it "properly". Maybe we do it this way now & the complicated way later.

from c-kzg-4844.

jtraglia avatar jtraglia commented on May 18, 2024

Fixed in #317. Closing.

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.