Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

[chore] upgrade toolchain to nightly-2023-04-24 #1373

Merged

Conversation

lightsing
Copy link
Contributor

Description

Upgrade toolchain to nightly-2023-04-24 for future compatibilities.

Issue Link

N/A

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Contents

  • Toolchain upgrade to nightly-2023-04-24
  • Fix lint errors

Rationale

The toolchain currently in use is outdated and lacks stable features. Issue #1372 requires GAT, which has been stabilized since version 1.65.0. Meanwhile, the current stable Rust version is 1.69.0.

How Has This Been Tested?

N/A

@github-actions github-actions bot added crate-bus-mapping Issues related to the bus-mapping workspace member crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member crate-eth-types Issues related to the eth-types workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member T-bench Type: benchmark improvements labels Apr 25, 2023
Copy link
Member

@adria0 adria0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I think that maybe it deserves a test with a real prover.
Have you tested it?

@@ -28,12 +28,12 @@ pub enum Error {
/// Code not found in the CodeDB
CodeNotFound(H256),
/// Unable to figure out error at a [`GethExecStep`]
UnexpectedExecStepError(&'static str, GethExecStep),
UnexpectedExecStepError(&'static str, Box<GethExecStep>),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lightsing, this got my attention, moving GethExecStep is related to the toolchain upgrade or for another reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, It's related to clippy::result_large_err

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, makes sense

@lispc
Copy link
Collaborator

lispc commented Apr 26, 2023

i noticed there is a cron job running real prove tests in .github/workflows/integration.yml. Will that be enough?

Copy link
Contributor

@han0110 han0110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@han0110 han0110 added this pull request to the merge queue Apr 26, 2023
Merged via the queue into privacy-scaling-explorations:main with commit 757d1ee Apr 26, 2023
@lispc lispc deleted the feat/new-toolchain branch April 26, 2023 05:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-bus-mapping Issues related to the bus-mapping workspace member crate-circuit-benchmarks Issues related to the circuit-benchmarks workspace member crate-eth-types Issues related to the eth-types workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member T-bench Type: benchmark improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants