Comments (7)
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.
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.
digging this approach 🎉
from c-kzg-4844.
@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.
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.
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.
Fixed in #317. Closing.
from c-kzg-4844.
Related Issues (20)
- Rust benchmarks are broken HOT 2
- Consider using a char buffer instead of FILE HOT 5
- Can I just compile as a lib in C? HOT 3
- Some ops seem exceedingly slow on Apple M2 HOT 11
- Crashes with SIGILL on Linux/amd64 i7 CPU HOT 3
- Broken CI in rust-windows because of rust-1.7.0 HOT 1
- Stack overflow in Rust benchmarks on Windows HOT 1
- Nodejs does not support browsers HOT 5
- Problems with cross-platform docker images HOT 6
- Release Rust bindings on crates.io HOT 3
- Support new function ckzg_load_trusted_setup_from_bytes HOT 3
- Should we make FIELD_ELEMENTS_PER_BLOB runtime-configurable? HOT 8
- Rust binding can't cross compile on Apple Silicon HOT 3
- Rust bindings lack flexibility with current structure of build script HOT 3
- Rust build.rs: Pass -D__BLST_NO_ASM__ on non-x86-64/non-aarch64 ISAs HOT 7
- Python bindings' load_trusted_setup() segfaults if file does not exist HOT 1
- Blob value in argument to context.VerifyBlobKZGProof HOT 1
- [rust] Add compute_* verify_* functionsfor KzgSettings HOT 3
- no pypi source packages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-kzg-4844.