Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update constantine backend #291

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ArtiomTr
Copy link
Contributor

@ArtiomTr ArtiomTr commented Feb 1, 2025

In this PR:

  • Updated rust toolchain to latest stable version
  • Updated constantine to latest commit. Replaced branch = ... specifier with rev = ..., because when I tried to add constantine backend to grandine, cargo picked up latest commit in branch, and build failed, as constantine has changed some function names. I believe this happens because cargo always picks latest commit in branch. To make builds not break in future, I've specified latest commit in that branch with rev = .
    • In latest constantine, EthKzgContext holds a reference to threadpool. Because of that, mixed constantine context is wrapped into Pin<Box<>>.

Needed for grandinetech/grandine#88

@ArtiomTr ArtiomTr force-pushed the update-constantine-backend branch from 27fc236 to 4083b3e Compare February 4, 2025 16:25
@sauliusgrigaitis
Copy link
Member

Thanks, but seems it fails?

@ArtiomTr
Copy link
Contributor Author

ArtiomTr commented Feb 5, 2025

Yeah, still fighting clippy issues :)

@ArtiomTr ArtiomTr force-pushed the update-constantine-backend branch from 4083b3e to e2bba8b Compare February 5, 2025 15:44
@ArtiomTr ArtiomTr force-pushed the update-constantine-backend branch 3 times, most recently from 3fa99a3 to 8206d66 Compare February 5, 2025 17:26
@ArtiomTr
Copy link
Contributor Author

ArtiomTr commented Feb 5, 2025

Macos constantine currently fails, I see there was PR in constantine mratsim/constantine#517 about some issue in macos, but it is not currently merged into constantine-public-sys branch. Disabled constantine macos for now

@ArtiomTr ArtiomTr force-pushed the update-constantine-backend branch from 8206d66 to d9fae11 Compare February 6, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants