-
Notifications
You must be signed in to change notification settings - Fork 87
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
Chore: update clippy to toolchain 1.84 rules #986
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aleksuss
approved these changes
Jan 14, 2025
aleksuss
reviewed
Jan 23, 2025
birchmd
approved these changes
Jan 23, 2025
aleksuss
pushed a commit
that referenced
this pull request
Feb 5, 2025
## Description 🛋️ PR updates clippy rules to `rutst toolchain 1.84`. But rust itself still: `1.81.0`. The only reason is `near-vm-runner`. Also we can't update ro `near-vm-runner 0.28` as tests fail with a deserialization error. ### Changes ➡️ Updated `clippy` requirements to `rust toolchain 1.84` ➡️ Rust toolchain not changed. It's related to `near-vm runner v0.27` - it doesn't support a higher Rust version. ➡️ `near-vm-runner` was not updated to `v0.28` as it's still not supported even `rust 1.83` (it was tested for aurora-engine toolchains: `1.83`, `1.84`)⚠️ clippy `div_ceil` was enabled, as `Engine` used own custom `div` implementation. When was started `engine tests` with `div_ceil` it happened to have a gas overflow.
Merged
aleksuss
added a commit
that referenced
this pull request
Feb 5, 2025
## [3.8.0] 2025-02-05 ### Changes - Bumped the SputnikVM up to 0.46.1-aurora by [@mrLSD]. ([#966]) - The nightly rust compiler has been replaced with stable by [@aleksuss]. ([#977]) - Added changes regarding bumping the `primitive-types` crate by [@mrLSD]. ([#982]) - The code coverage by clippy has been extended by [@aleksuss]. ([#984]) - The code is changed by the clippy suggestions from the toolchain 1.84.0 by [@mrLSD]. ([#986]) - The precompile `exitToNear` now is compatible with the OMNI bridge by [@aleksuss]. ([#992]) ### Fixes - Added optimisations to the `AccountId` creation methods by [@aleksuss]. ([#985]) - The `README.md` has been actualized by [@aleksuss]. ([#978]) - Modified CI scripts by [@aleksuss]. ([#969], [#973], [#975], [#976], [#981]) - Fixed the vulnerability in the `remove_relayer_key` transaction by [@aleksuss]. ([#972]) [#966]: #966 [#969]: #969 [#972]: #972 [#973]: #973 [#975]: #975 [#976]: #976 [#977]: #977 [#978]: #978 [#981]: #981 [#982]: #982 [#984]: #984 [#985]: #985 [#986]: #986 [#992]: #992 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: cuibuwei <[email protected]> Co-authored-by: Evgeny Ukhanov <[email protected]> Co-authored-by: omahs <[email protected]> Co-authored-by: Elias Rad <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cuibuwei <[email protected]> Co-authored-by: NotNotARobot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
🛋️ PR updates clippy rules to
rutst toolchain 1.84
. But rust itself still:1.81.0
. The only reason isnear-vm-runner
. Also we can't update ronear-vm-runner 0.28
as tests fail with a deserialization error.Changes
➡️ Updated
⚠️ clippy
clippy
requirements torust toolchain 1.84
➡️ Rust toolchain not changed. It's related to
near-vm runner v0.27
- it doesn't support a higher Rust version.➡️
near-vm-runner
was not updated tov0.28
as it's still not supported evenrust 1.83
(it was tested for aurora-engine toolchains:1.83
,1.84
)div_ceil
was enabled, asEngine
used own customdiv
implementation. When was startedengine tests
withdiv_ceil
it happened to have a gas overflow.