Comments (4)
Most comments seem to have been addressed in previous PRs. noir-lang/book#42 should address the remaining ones below:
This should generally be the default type reached for to solve problems as using a smaller integer type like u64 incurs extra range constraints and so is less efficient rather than more.
it seems convoluted to me. But being not a native english speaker, I may be totally wrong.
Note: This behaviour (n.b. pub in main arguments) and type will change in future releases, to catch a linearity bug in user code.
Why this behavior will change?
An array is a data structure which allows you to group together data types
to group together data of the same type
Note that currently Noir only supports arrays with integer or field elements.
we do not support array of struct?
I don't think we do yet. We can modify this when we've added support.
from docs.
I guess we are now in pre-beta instead of pre-alpha, and we do support another backend. However only the Aztec one is compatible with the ethereum contract.
Do you mean the arkworks backend's like Marlin? I don't know if we can say that we fully support them yet as they only support arithmetic gates. We still need to add some logic that converts our custom gates to arithmetic gates. We can build Noir with Marlin for example but simple examples still fail.
Section is empty, may be we want to rename it as well?
Looks like the master branch of the book has details here and has been renamed to Merkle Membership. Most likely just need to update the github pages
it seems convoluted to me. But being not a native english speaker, I may be totally wrong.
I can try and re-word this in a PR to update the docs
This should not be true anymore, odd-sized integers should be fine.
I still got this error on Noir master
branch
from docs.
Note: This behaviour (n.b. pub in main arguments) and type will change in future releases, to catch a linearity bug in user code.
Why this behavior will change?
Curious about this as well. Do you have any insight into this note @kevaundray ?
from docs.
...odd-sized integers should be fine.
I still got this error on Noir master branch
Good point! I removed this todo in PR #354
from docs.
Related Issues (20)
- bb.js-created proof fails when checking via the UltraVerifier contract, when circuits has mixed input types, uint and Filed arguments. HOT 2
- Document Noir PR 2541
- Document Noir PR 2541 HOT 1
- Document `nargo backend`
- Document Noir PR 2668 (1 contract per package) HOT 4
- Document `noir_js` HOT 2
- Document `test(should_fail)`
- Document Noir PR 2703 HOT 1
- Document extra steps needed for updating to Nargo v0.11 HOT 1
- Document assertion messages
- Document Noir PR 2713
- Document Noir PR 2754
- Document Noir PR 2764
- Document Noir PR 2776
- Document Noir PR 2803
- Document Noir PR 2815
- Document Noir PR 2899
- Document Noir PR 3081
- Document Noir PR 3081 HOT 1
- Document PR 3032 HOT 1
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 docs.