Skip to content

[Gemini] update deps and resolve small compile errors #11

Open

Description

@z-tech

Synopsis:

First I noticed gemini -> main compile fails:

error: failed to load source for dependency `ark-ec`

Caused by:
  Unable to update https://github.com/mmaker/algebra?branch=feature/additive-groups#1419b95a

Then I noticed the PR merged on May 10, 2023 arkworks-rs/algebra <- feature/additive-groups

I updated cargo.toml to point to arkworks-rs/algebra -> main and resolved some tiny type errors like these:

fn advance_by(&mut self, n: usize) -> Result<(), usize> {
                                            ^^^^^^^^^^^^^^^^^
                                            expected `core::num::NonZeroUsize`, found `usize`
                                            help: change the output type to match the trait: `core::result::Result<(), core::num::NonZeroUsize>`

Result:

  • no compile errors for cargo test, cargo rustdoc --open, cargo run --features asm,print-trace,parallel --example snark -- -i 4
  • tests pass, benches work

Activity

  1. converted this from a draft issue on Oct 4, 2023
  2. mmaker commented on Oct 11, 2023

    @mmaker
    Member

    Hello! thank you so much, indeed part of the work here was based on PR's that are now merged in arkworks. I think we can update them once ark-group exists. What do you think?

    I think the remaining issues are only minor rust updates.

  3. z-tech commented on Nov 13, 2023

    @z-tech
    Author

    Sorry for the delay. This of course sounds good to me 😛

  4. moved this from In Progress to Todo in Repo organization and CIon Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions