-
Notifications
You must be signed in to change notification settings - Fork 69
WIP:Update l2 RetryableClient #827
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
base: main
Are you sure you want to change the base?
Changes from all commits
2cdfb07
7c11f8c
98925c5
c34bee9
e39a59a
105c335
a3d76f2
8ae80bd
d5f2d8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,24 @@ var ( | |
| EnvVar: prefixEnvVar("L2_ENGINE_RPC"), | ||
| } | ||
|
|
||
| L2LegacyEthAddr = cli.StringFlag{ | ||
| Name: "l2legacy.eth", | ||
| Usage: "Address of L2 legacy Engine JSON-RPC endpoints to use (eth namespace required)", | ||
| EnvVar: prefixEnvVar("L2_LEGACY_ETH_RPC"), | ||
| } | ||
|
|
||
| L2LegacyEngineAddr = cli.StringFlag{ | ||
| Name: "l2legacy.engine", | ||
| Usage: "Address of L2 legacy Engine JSON-RPC endpoints to use (engine namespace required)", | ||
| EnvVar: prefixEnvVar("L2_LEGACY_ENGINE_RPC"), | ||
| } | ||
curryxbo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| MptTime = cli.Uint64Flag{ | ||
| Name: "upgrade.mptTime", | ||
| Usage: "Batch index at which the sequencers start to upgrade the batch format", | ||
| EnvVar: prefixEnvVar("MPT_TIME"), | ||
| } | ||
|
Comment on lines
+43
to
+47
Contributor
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. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Find the flags.go file and examine the MptTime flag and UpgradeBatchTime flag
find . -name "flags.go" -type f | grep -E "node.*flags" | head -5Repository: morph-l2/morph Length of output: 79 🏁 Script executed: # Check if node/flags/flags.go exists and read it
if [ -f "node/flags/flags.go" ]; then
echo "=== Lines 43-47 (MptTime) ==="
sed -n '43,47p' node/flags/flags.go
echo ""
echo "=== Lines 240-250 (around UpgradeBatchTime) ==="
sed -n '240,250p' node/flags/flags.go
else
echo "File not found. Searching for flags files:"
find . -name "flags.go" -type f 2>/dev/null | head -10
fiRepository: morph-l2/morph Length of output: 608 Rename MptTime to clarify it represents a batch index, and distinguish its usage description from UpgradeBatchTime. The flag name Consider:
🤖 Prompt for AI Agents |
||
|
|
||
| L2EngineJWTSecret = cli.StringFlag{ | ||
| Name: "l2.jwt-secret", | ||
| Usage: "Path to JWT secret key. Keys are 32 bytes, hex encoded in a file. A new key will be generated if left empty.", | ||
|
|
@@ -304,6 +322,9 @@ var Flags = []cli.Flag{ | |
| L2EthAddr, | ||
| L2EngineAddr, | ||
| L2EngineJWTSecret, | ||
| L2LegacyEthAddr, | ||
| L2LegacyEngineAddr, | ||
| MptTime, | ||
| MaxL1MessageNumPerBlock, | ||
| L2CrossDomainMessengerContractAddr, | ||
| L2SequencerAddr, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.