profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/kevaundray/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
kevaundray Independent Contractor Interested in Number Theory and Cryptography.

dusk-network/plonk 169

Pure Rust implementation of the PLONK ZKProof System done by the Dusk-Network team.

kevaundray/CryptoResources 39

A place where satoshi would like

crate-crypto/MLSAG 18

Multilayered Linkable Spontaneous Anonymous Group - Implemented as is from paper. Not Monero specific

dusk-network/Hades252 15

Implementation of the Hades permutation algorithm used in Poseidon Hashes with ZKProof capabilities.

circify/circ 8

Rust rewrite of CirC. Using SMT-solver engineering techniques for improved performance (and accuracy?).

dusk-network/dusk-crypto 7

Cryptographic primitives created for the Dusk Network ecosystem but widely applicable everywhere else

crate-crypto/Vanilla-Schnorr 6

Vanilla schnorr signature scheme

dusk-network/bulletproofs_gadgets 3

A container to test bulletproofs gadgets implementations

issue commentlzanini/mdbook-katex

Core dump on ARMv7 when run by mdbook

The problem seems to be in quickjs. mdbook-katex uses the katex dependency which in turn uses quickjs as a backend.

This problem only seems to be reproducible on MacBooks, I did not look into the reason as to why, however the debugger points to an empty stack frame in C code when the program tries to initialise the KATEX global variable in katex-rs.

Reproducing

If on a MacBook, you can reproduce this issue by cloning mdbook-katex and running cargo test. The following tests will fail with a SIGSEGV invalid memory reference.

  • test_macros_without_argument
  • test_macros_with_argument
  • test_display_rendering

Quick Fix (locally)

The quick fix will involve using a different backend to the default quickjs one in katex-rs.

  1. Clone mdbook-katex
  2. The Cargo.toml file will have a katex dependency. Replace it with: katex = { version = "0.4.1", default-features = false, features = ["duktape"] }
  3. run cargo install --path .

The second step turns off the default features which is quickjs and in turn compiles with duktape. The third line will overwrite the mdboook-katex binary with the modified version.

Note

The output from quickjs and duktape differ slightly and so you will still have a failing test test_display_rendering. It is okay to ignore this, semantically the output is the same.

Possible Solution

This seems to be a problem with katex-rs and not mdbook-katex. A solution for this crate would be to use the duktape backend by default since it works on MacOS and I am assuming on Linux and Window.

Alternatively, you could enable quickjs by default and feature gate duktape for MacOS

whooie

comment created time in 2 hours

issue closedarkworks-rs/algebra

CI Breakage on num-bigint 0.4.0

Problem

int_roundings has now been feature gated as an unstable feature, and is now a breaking change on recent nightly builds.

Tracking issue: https://github.com/rust-lang/rust/issues/88581

In the issue, they note that num-bigint version 0.4.0 has this problem, which is the version that arkworks is using in ark-ff ( and possibly in other crates).

Quick fix:

The simplest fix is to locally run cargo update -p num-bigint to update the num-bigint dependency in your lockfile or cargo update to update all dependencies including num-bigint.

Solution:

Since num-bigint 0.3.3 or 0.4.2 has this fix applied, a solution would be to update to 0.4.2.

Reasons to not apply solution:

  • This is not breaking for stable, so may not be a priority since there is a quick fix.
  • It is not clear to me that discussions around function naming have been resolved, so eagerly updating may require you to update again if the function names do change.

For the second point, it is possible to fix the version to 0.4.2 to stop the CI breaking on the now unstable feature and then update again at a later date, if the names do change.

closed time in 4 hours

kevaundray

issue commentarkworks-rs/algebra

CI Breakage on num-bigint 0.4.0

Hi Kevaundray, I made a recent PR which is just merged. On my side, it seems to be solve the problem in ark-algebra itself. (And it seems that Rust is able to catch the latest version).

Are you using ark-ff as a dependency of another project which has a Cargo.lock? In that situation, I feel that cargo update seems necessary.

Hey Weikeng,

Yep I agree, cargo update is the only solution for already deployed applications due to Cargo.lock.

Thanks :) Will close this issue as the PR is merged!

kevaundray

comment created time in 4 hours

push eventethereum/verkle-dev-website

Kevaundray Wedderburn

commit sha a05c4af07799489b66543532f598ed1f22e5678a

add multipoint document

view details

push time in 10 hours

push eventethereum/verkle-dev-website

Kevaundray Wedderburn

commit sha 5c307d9ea092f41e6a7b91ccd7465899fbc1f187

katexify a letter to test katex compile

view details

push time in 11 hours

push eventcrate-crypto/plark

Kevaundray Wedderburn

commit sha d71aaa85f41223b3bd8e9bb255bedd6c3909316f

update cargo.toml

view details

Kevaundray Wedderburn

commit sha fe7e060dc4385dbef7caba9d7cf0e3367f37cdb2

use bls12_381 in tests

view details

push time in 12 hours

push eventcrate-crypto/plark

Kevaundray Wedderburn

commit sha 9e3d8a4b8992dc634acdd4e6f57f4a8449214c0b

update dependencies and move concrete curves to dev-dependencies

view details

Kevaundray Wedderburn

commit sha 16c2421b9c128c686f491b4cb8b3493ced77ccbd

Move all code that relies on a specifi curve to conditionally compile under the test flag

view details

push time in 12 hours

push eventcrate-crypto/plark

Kevaundray Wedderburn

commit sha 627ad19c4795b5757c6c67a89407906431e76987

update readme

view details

push time in 12 hours

create barnchcrate-crypto/plark

branch : master

created branch time in 12 hours

created repositorycrate-crypto/plark

playground -- do not use

created time in 12 hours

delete branch noir-lang/noir

delete branch : fix_derivable_impl_clippy

delete time in 12 hours

push eventnoir-lang/noir

kevaundray

commit sha 44dff7d982b8b79f453f239d6cd888fc976eba71

fix clippy warnings (#118)

view details

push time in 12 hours

PR merged noir-lang/noir

Fixes new clippy warnings
+8 -30

0 comment

6 changed files

kevaundray

pr closed time in 12 hours

PR opened noir-lang/noir

Fixes new clippy warnings
+8 -30

0 comment

6 changed files

pr created time in 12 hours

create barnchnoir-lang/noir

branch : fix_derivable_impl_clippy

created branch time in 12 hours

push eventnoir-lang/noir

Kevaundray Wedderburn

commit sha 459216b52324f2e4ce3f1b19c1378d1e707e542b

update cargo.lock

view details

Kevaundray Wedderburn

commit sha a49d2dff4c604f98e0ce833568a6ee5a94b57050

Merge branch 'master' of github.com:noir-lang/noir

view details

push time in 12 hours

push eventnoir-lang/noir

Squirrel

commit sha b58fee7653b6a9bceeddfd4bd1d5703e75bc8b3c

Update num-bigint and remove unused deps(#117) * Fix nightly by bumping num-bignum * less deps

view details

push time in 12 hours

PR merged noir-lang/noir

Less deps

Fixed nightly by bumping num-bigint (see lockfile) and less deps.

+9 -46

1 comment

3 changed files

gilescope

pr closed time in 12 hours

pull request commentnoir-lang/noir

Less deps

Looks good! The new version of clippy also adds the derivable-impls which is why clippy is failing. I'll merge this in for you and fix those clippy errors

gilescope

comment created time in 12 hours

push eventethereum/verkle-dev-website

Kevaundray Wedderburn

commit sha c78343de657acc387a7be1465ae6fc5a24a13174

add katex support

view details

push time in a day

push eventethereum/verkle-dev-website

kevaundray

commit sha 5bff8e6031b987295546ab783828ee2411f2a317

Create blank.yml

view details

push time in a day

push eventethereum/verkle-dev-website

Kevaundray Wedderburn

commit sha b2e47984969a9a624f9fadae6943ff37d28f8c6f

mdbook init

view details

push time in a day

push eventethereum/verkle-dev-website

Kevaundray Wedderburn

commit sha c6ffb97d3ec3f6b11d3bc63c9afd26efb6df1be9

test git permission

view details

push time in a day

pull request commentnoir-lang/noir

Update Merkle Tree API

The merkle api seems to be complete bar the API decision on how to detect the merkle database. Currently it is hardcoded to be in the same directory under data/merkle_db , maybe we can make this configurable by including a SETTINGS.toml file or something along those lines with the merkle database path

kevaundray

comment created time in a day

push eventnoir-lang/noir

Kevaundray Wedderburn

commit sha 8e73f860252726083fedbc0166dadbf818d4fd31

acvm make the backend modules public

view details

Kevaundray Wedderburn

commit sha e98c50a10dfbbc89086d75005dbf9a5adaf7bae8

acvm - csat plonk - implement the correct checks for satte management

view details

Kevaundray Wedderburn

commit sha 0ada05d11a91c3bf13e21a49a6a4f0381f848877

acvm - csat plonk - Add depth to permanent storage

view details

Kevaundray Wedderburn

commit sha 1502a1bdf9eb1fb9963bd05927a81e0630337a2b

examples - Move merkle tree examples in a sub folder called circuit

view details

Kevaundray Wedderburn

commit sha aec97129285beff281b7bf5eee015f9264001cfc

update gitignore

view details

Kevaundray Wedderburn

commit sha 0b9491a9052f26ca1d5270a4ae616ebe2fdb9850

cargo.toml exclude merkle tree processor example code from workspace

view details

Kevaundray Wedderburn

commit sha 9e68dc4436e59933d5ee702292ceb6cad05ea61d

examples - add database and also rust code to modify db

view details

Kevaundray Wedderburn

commit sha a68b59d6c20525f81ee0620e124cba3cc169b8c9

fix clippy

view details

push time in a day

issue openedethereum/verkle-dev-website

Template for documentation

We only require two things for a template:

  • Latex support
  • Chapter support
  • Code inlining

It would be nice to have interactive code, but it is not needed.

I am leaning towards using mdbook as it is what I am familiar with.

Example sites using mdbook:

  • doubleodd.group
  • ristretto.group

created time in 2 days

issue openedethereum/verkle-dev-website

Structure of Documentation

This issue is being used to track what roughly will be placed in the docs, subject to change.

We can split the documentation into two parts; cryptography/technical aspects and ethereum specific topics.

This documentation will for the most part, focus on the cryptography and only allude or expand on ethereum specific topics when it directly affects the technical aspects.

For the technical aspects, some categories I think will be useful:

  • Overview
  • Opening proof, PCS
  • Test Vectors
  • Implementations
  • Optimisations - Eg. Recomputing commitment without computing every value, precomputing CRS points for scalar multiplication

Note

  • Overview is needed to provide a narrative for the rest of the chapters, so things do not seem random.
  • It may be helpful to start off with a non-optimised easy to understand implementation and then iterate to what we have now.
  • Each chapter should also have a summary section, where we say what functionality the concept provides. So for PCS, the summary may say something like "This allows us to commit to a vector and produce short proofs of the values in that vector using it's commitment"

created time in 2 days

push eventnoir-lang/noir

Kevaundray Wedderburn

commit sha d0243de8da72b4c5973d1fcdf9badb739249a6ed

acvm - add tempfile as a test dependency. Tests will run in parallel and not compete for the same database file.

view details

Kevaundray Wedderburn

commit sha 297d996fd9885be0a58e45e1b0470478e377510c

arkworks - update to 0.3

view details

Kevaundray Wedderburn

commit sha 41942dd68a79523feb445385027ada528040ba5b

acvm - plonk backend - use tempfile in tests and change MerkeTree to take a path

view details

Kevaundray Wedderburn

commit sha d380a349ddbcdf5123c76f28b381e78ed24e5a3c

fix clippy

view details

Kevaundray Wedderburn

commit sha 0094fcdb6f8c579808171676419ace7698ed7df3

update cargo.lock

view details

Kevaundray Wedderburn

commit sha 274969b81234d81e175912427cdc15d68a93e4ba

barretenberg - remove unused import

view details

push time in 3 days

push eventnoir-lang/noir

Kevaundray Wedderburn

commit sha 8d742de9b0705fafabe1cb466ebeb889433c5dce

update readme

view details

push time in 3 days