-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: merge dev into main #267
Conversation
chore: fix typo
…mount chore: fix to record deposit amount less than required amount
chore: bump geth version to v0.4.4
WalkthroughThe recent updates involve modifications across different components, focusing on enhancing accuracy and reliability. The Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (3)
go.mod
is excluded by:!**/*.mod
go.sum
is excluded by:!**/*.sum
ops-devnet/docker-compose.yml
is excluded by:!**/*.yml
Files selected for processing (5)
- kroma-validator/challenger.go (1 hunks)
- kroma-validator/l2_output_submitter.go (2 hunks)
- op-node/chaincfg/chains.go (1 hunks)
- op-node/chaincfg/chains_test.go (1 hunks)
- specs/span-batches.md (1 hunks)
Additional comments: 5
op-node/chaincfg/chains.go (1)
- 43-43: The update of
DeltaTime
tou64Ptr(1709107200)
in theMainnet
configuration is noted. Ensure that this new value aligns with the intended time-based operations within the network. Given the nature of this change, it's crucial to verify that all dependent components that rely onDeltaTime
have been assessed for compatibility with this new value.op-node/chaincfg/chains_test.go (1)
- 70-70: The update of
DeltaTime
tou64Ptr(1709107200)
in themainnetCfg
struct for testing purposes is noted. It's important to ensure that this change is reflected in all relevant test cases that might be affected by theDeltaTime
configuration. Additionally, verify that this update aligns with theDeltaTime
value set in the main configuration to maintain consistency between test and production environments.Verification successful
The review of the
DeltaTime
value update inchains_test.go
tou64Ptr(1709107200)
has been verified. The consistency of thisDeltaTime
value between test and main configurations is confirmed, as bothchains_test.go
andchains.go
use this value. Additionally, anotherDeltaTime
value (1708416000
) is also consistently used across both test and main configurations, indicating intentional use for different scenarios or configurations rather than an inconsistency. Therefore, the update appears to be correctly implemented and consistent with the main configuration.Scripts Executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Verify consistency of `DeltaTime` value between test and main configurations. rg "DeltaTime" --type goLength of output: 8358
kroma-validator/l2_output_submitter.go (1)
- 280-280: Moving the
RecordDepositAmount
call above the balance comparison logic in theHasEnoughDeposit
method is a logical improvement. This ensures that the deposit amount is always recorded, regardless of whether the balance meets the required bond amount. It's a good practice to record metrics before making decisions based on those metrics to ensure accurate tracking and analysis. This change enhances the maintainability and clarity of the deposit amount tracking process.specs/span-batches.md (1)
- 129-129: The typo correction from "transacion" to "transaction" improves the document's accuracy and clarity.
kroma-validator/challenger.go (1)
- 609-609: Moving the
RecordDepositAmount
call above the balance comparison logic is a good practice for ensuring that metrics are accurately recorded before any conditional logic is processed. This change enhances the reliability of deposit amount tracking, which is crucial for monitoring and analysis purposes.
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.
LGTM
Description
This is for release v1.3.2, which bumps geth version to
v0.4.4
.Summary by CodeRabbit
Bug Fixes
DeltaTime
value in Mainnet configuration for enhanced timing accuracy.Documentation
span-batches.md
file for clarity in L2 legacy transactions description.