-
Notifications
You must be signed in to change notification settings - Fork 0
chore: bumps alloy and zenith versions #43
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,23 +22,18 @@ name = "transaction-submitter" | |
path = "bin/submit_transaction.rs" | ||
|
||
[dependencies] | ||
zenith-types = { git = "https://github.com/init4tech/zenith-rs", tag = "v0.10.1" } | ||
zenith-types = "0.13" | ||
|
||
alloy-primitives = { version = "=0.8.8", features = ["serde", "tiny-keccak"] } | ||
alloy-sol-types = { version = "=0.8.8", features = ["json"] } | ||
alloy = { version = "0.7.3", features = ["full", "json-rpc", "signer-aws", "rpc-types-mev"] } | ||
alloy-rlp = { version = "0.3.4" } | ||
|
||
alloy = { version = "0.5.4", features = ["full", "json-rpc", "signer-aws"] } | ||
|
||
aws-config = "1.1.7" | ||
aws-sdk-kms = "1.15.0" | ||
|
||
hex = { package = "const-hex", version = "1", default-features = false, features = [ | ||
"alloc", | ||
] } | ||
|
||
signet-types = { git = "ssh://[email protected]/init4tech/signet-node.git" } | ||
|
||
serde = { version = "1.0.197", features = ["derive"] } | ||
tracing = "0.1.40" | ||
|
||
|
@@ -55,4 +50,4 @@ tracing-subscriber = "0.3.18" | |
async-trait = "0.1.80" | ||
oauth2 = "4.4.2" | ||
metrics = "0.24.1" | ||
metrics-exporter-prometheus = "0.16.0" | ||
metrics-exporter-prometheus = "0.16.0" |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
//! Bundler service responsible for polling and submitting bundles to the in-progress block. | ||
use std::time::{Duration, Instant}; | ||
//! Bundler service responsible for managing bundles. | ||
use super::oauth::Authenticator; | ||
|
||
pub use crate::config::BuilderConfig; | ||
use alloy_primitives::map::HashMap; | ||
use reqwest::Url; | ||
use serde::{Deserialize, Serialize}; | ||
use signet_types::SignetEthBundle; | ||
|
||
use oauth2::TokenResponse; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
|
||
use super::oauth::Authenticator; | ||
use reqwest::Url; | ||
use serde::{Deserialize, Serialize}; | ||
use std::collections::HashMap; | ||
use std::time::{Duration, Instant}; | ||
use zenith_types::ZenithEthBundle; | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize)] | ||
pub struct Bundle { | ||
pub id: String, | ||
pub bundle: SignetEthBundle, | ||
pub bundle: ZenithEthBundle, | ||
} | ||
|
||
/// Response from the tx-pool containing a list of bundles. | ||
|
@@ -23,6 +22,7 @@ pub struct TxPoolBundleResponse { | |
pub bundles: Vec<Bundle>, | ||
} | ||
|
||
/// The BundlePoller polls the tx-pool for bundles and manages the seen bundles. | ||
pub struct BundlePoller { | ||
pub config: BuilderConfig, | ||
pub authenticator: Authenticator, | ||
|
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ mod tests { | |
use std::str::FromStr; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
use alloy::consensus::{SignableTransaction, TxEip1559, TxEnvelope}; | ||
use alloy::primitives::{bytes, Address, TxKind, U256}; | ||
use alloy::signers::{local::PrivateKeySigner, SignerSync}; | ||
use alloy_primitives::{bytes, Address, TxKind, U256}; | ||
use builder::config::BuilderConfig; | ||
use builder::tasks::tx_poller; | ||
use eyre::{Ok, Result}; | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove the blank line