Code Monkey home page Code Monkey logo

Comments (8)

antiochp avatar antiochp commented on August 15, 2024

Are these the upstream repos we want to be tracking?

from grin.

ignopeverell avatar ignopeverell commented on August 15, 2024

Correct.

from grin.

antiochp avatar antiochp commented on August 15, 2024

Quick update on where we are so far (putting it down here so I can refer back to this later...) -

I see we have a new repo created here -
https://github.com/mimblewimble/secp256k1-zkp

I forked this to my own github here -
https://github.com/antiochp/secp256k1-zkp

Right now I have 2 branches on my own fork - master and upstream.
And 2 upstream remotes setup -

git remote -v
origin	https://github.com/antiochp/secp256k1-zkp.git (fetch)
origin	https://github.com/antiochp/secp256k1-zkp.git (push)
upstream_elements	https://github.com/ElementsProject/secp256k1-zkp.git (fetch)
upstream_elements	https://github.com/ElementsProject/secp256k1-zkp.git (push)
upstream_mimblewimble	https://github.com/mimblewimble/secp256k1-zkp.git (fetch)
upstream_mimblewimble	https://github.com/mimblewimble/secp256k1-zkp.git (push)

I merged the secp256k1-zkp branch from ElementsProject onto my upstream branch.
Then merged this onto my master branch to give us a baseline.

Currently working on porting across the changes that we have made to the copy of this repo that we have in grin onto this master branch.
There are 2 changes -
ignopeverell@ca496e (relatively minor change)
ignopeverell@b5e62c (bigger change)

@ignopeverell what's the best way of getting this onto the mimblewimble/secp256k1-zkp repo once this is all ready to go?
You want me to open a PR(s) for this?

from grin.

antiochp avatar antiochp commented on August 15, 2024

One outstanding question -
once we do something similar for the rust-secp256k1 repo, I'm not sure how to best approach the dependency between these 2 repos.
We may just want to take secp256k1-zkp and "vendor" it in to rust-secp256k1 (and check it into the rust git repo). Then just keep this updated manually (like it is done currently in the various copies of rust-secp256k1).

I'm not sure if there is a better approach to this?

from grin.

ignopeverell avatar ignopeverell commented on August 15, 2024

Ooops, I've just created the vendor branch and merged to master on the new secp256k1-zkp. Ideally yes, you'd do a PR against that but I'm not sure whether you can do it now from your fork...

My plan was to use a git submodule to our secp256k1-zkp in our rust-secp256k1-zkp.

from grin.

ignopeverell avatar ignopeverell commented on August 15, 2024

I've created rust-secp256k1-zkp as well, removing the hard check-in of secp256k1 and replacing it by a submodule to secp256k1-zkp.

from grin.

antiochp avatar antiochp commented on August 15, 2024

Update on where we are with this -

  1. PR mimblewimble/secp256k1-zkp#5 that ports across secp256k1_pedersen_commit_sum (required by Grin).

  2. PR mimblewimble/rust-secp256k1-zkp#2 that ports over all the functions required by Grin and reworks the code to work with the more recent secp256k1-zkp code.

  3. PR ignopeverell/grin/pull/126 that removes checked in secp256k1zkp and specifies it as external dependency in Cargo.toml

(1) and (2) should be good to go. (3) should be mergeable with some cleanup once these are merged.

from grin.

antiochp avatar antiochp commented on August 15, 2024

Resolved by ignopeverell/grin#126

from grin.

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.