Skip to content

chore: bump dependencies#1834

Merged
KolbyML merged 2 commits into
ethereum:masterfrom
KolbyML:update-dependencies
May 17, 2025
Merged

chore: bump dependencies#1834
KolbyML merged 2 commits into
ethereum:masterfrom
KolbyML:update-dependencies

Conversation

@KolbyML
Copy link
Copy Markdown
Member

@KolbyML KolbyML commented May 17, 2025

What was wrong?

We haven't updated most of our dependencies in a long long time

How was it fixed?

bump most of them

I left 2
I left 1

  • jsonrpcee since we depend on reth-ipc for it and currently there is an awkward dependency issue they are working out
    - vergen as updating it is a little involved as they almost redid the libraries interface, so probably best for a future PR
    vergen wasn't that bad I will include it in this PR

@KolbyML KolbyML requested a review from morph-dev May 17, 2025 20:20
@KolbyML KolbyML self-assigned this May 17, 2025
@KolbyML KolbyML force-pushed the update-dependencies branch from d92b9ea to 18f429f Compare May 17, 2025 20:28
@KolbyML KolbyML changed the title chore: bump most dependencies chore: bump dependencies May 17, 2025
#[cfg(test)]
mod tests {
use std::{str::FromStr, sync::Arc};
use std::{result::Result::Ok, str::FromStr, sync::Arc};
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do we have to import Ok?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

image

traced_test throws this error unless we import it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I removed the import, by just adding an empty anyhow result as the return type

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we even need traced_test and why?

Reading at documentation,my understanding is that it's used so you can assert that certain logs were/weren't logged, and I don't think we are doing that. What am I missing?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is the documentation that I was looking at: https://docs.rs/tracing-test/latest/tracing_test/index.html

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know why it is there to be honest

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah I was able to remove it without issues

let git2 = Git2Builder::default()
.describe(false, true, None)
.dirty(true)
.sha(false)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This used to be true. Was change intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The true condition doesn't enable anything we use from my testing

.build()?;
let git2 = Git2Builder::default()
.describe(false, true, None)
.dirty(true)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We didn't use this before. Why do we need it now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If I don't have this line the build script fails

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I am assuming it enables a few environment variables we need

Comment thread Cargo.toml Outdated
tree_hash_derive = "0.10"
uds_windows = "1.0.1"
ureq = { version = "2.5.0", features = ["json"] }
ureq = { version = "3.0", features = ["json"] }
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think you removed all usage of ureq. Should we just remove it?

@KolbyML KolbyML merged commit 7a72fd5 into ethereum:master May 17, 2025
16 checks passed
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