Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit e10abf9

Browse files
authored
chore(bindings): make bundle_helper consistent with rest, export all members (#70)
1 parent af8027a commit e10abf9

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/bindings.rs

+13-10
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,15 @@ mod rollup_passage {
380380
}
381381
}
382382

383+
mod bundle_helper {
384+
alloy_sol_types::sol!(
385+
#[derive(Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
386+
#[sol(rpc)]
387+
BundleHelper,
388+
"abi/BundleHelper.json"
389+
);
390+
}
391+
383392
pub use zenith::Zenith;
384393

385394
/// Contract Bindings for the RollupOrders contract.
@@ -432,15 +441,9 @@ pub mod RollupPassage {
432441
pub use super::rollup_passage::UsesPermit2::*;
433442
}
434443

435-
pub mod bundle_helper {
436-
//! Bundle Helper contract bindings
437-
alloy_sol_types::sol!(
438-
#[derive(Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
439-
#[sol(rpc)]
440-
BundleHelper,
441-
"abi/BundleHelper.json"
442-
);
443-
444-
pub use super::bundle_helper::BundleHelper::{new, submitCall, FillPermit2};
444+
/// Contract Bindings for the BundleHelper contract.
445+
#[allow(non_snake_case)]
446+
pub mod BundleHelper {
447+
pub use super::bundle_helper::BundleHelper::*;
445448
pub use super::bundle_helper::Zenith::BlockHeader;
446449
}

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
mod bindings;
1515
pub use bindings::{
16-
bundle_helper, mintCall, HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith,
16+
mintCall, BundleHelper, HostOrders, Passage, RollupOrders, RollupPassage, Transactor, Zenith,
1717
};
1818

1919
mod block;

0 commit comments

Comments
 (0)