-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add builder tx to new op-rbuilder (#361)
## 📝 Summary <!--- A general summary of your changes --> ## 💡 Motivation and Context <!--- (Optional) Why is this change required? What problem does it solve? Remove this section if not applicable. --> --- ## ✅ I have completed the following steps: * [ ] Run `make lint` * [ ] Run `make test` * [ ] Added tests (if applicable) --------- Co-authored-by: Ferran Borreguero <[email protected]>
- Loading branch information
Showing
12 changed files
with
1,171 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ | |
|
||
# editors | ||
.code | ||
.idea | ||
.idea | ||
.vscode |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//! Additional Node command arguments. | ||
//! | ||
//! Copied from OptimismNode to allow easy extension. | ||
//! clap [Args](clap::Args) for optimism rollup configuration | ||
use reth_optimism_node::args::RollupArgs; | ||
|
||
use crate::tx_signer::Signer; | ||
|
||
/// Parameters for rollup configuration | ||
#[derive(Debug, Clone, Default, PartialEq, Eq, clap::Args)] | ||
#[command(next_help_heading = "Rollup")] | ||
pub struct OpRbuilderArgs { | ||
/// Rollup configuration | ||
#[command(flatten)] | ||
pub rollup_args: RollupArgs, | ||
/// Builder secret key for signing last transaction in block | ||
#[arg(long = "rollup.builder-secret-key", env = "BUILDER_SECRET_KEY")] | ||
pub builder_signer: Option<Signer>, | ||
} |
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
Oops, something went wrong.