-
Notifications
You must be signed in to change notification settings - Fork 21
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: improve tx-exclusion-api performance and increase size of reaso… #327
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #327 +/- ##
============================================
- Coverage 70.32% 70.28% -0.04%
Complexity 1081 1081
============================================
Files 304 304
Lines 12413 12413
Branches 1179 1179
============================================
- Hits 8729 8725 -4
- Misses 3190 3193 +3
- Partials 494 495 +1
*This pull request uses carry forward flags. Click here to find out more.
|
b436242
to
fee2c5b
Compare
...n/net/consensys/zkevm/persistence/dao/rejectedtransaction/RejectedTransactionsPostgresDao.kt
Show resolved
Hide resolved
.../src/testFixtures/kotlin/net/consensys/zkevm/persistence/db/test/CleanDbTestSuiteParallel.kt
Outdated
Show resolved
Hide resolved
.../src/main/resources/db/V003__increase_reject_reason_size_and_add_index_on_tx_hash_schema.sql
Show resolved
Hide resolved
.../src/main/resources/db/V003__increase_reject_reason_size_and_add_index_on_tx_hash_schema.sql
Show resolved
Hide resolved
Related issue: https://github.com/Consensys/zkevm-monorepo/issues/4019 |
…date prover-v3 image tag in compose
@@ -162,7 +162,7 @@ dockerCompose { | |||
] | |||
useComposeFiles = ["${project.rootDir.path}/docker/compose.yml"] | |||
waitForHealthyStateTimeout = Duration.ofMinutes(3) | |||
waitForTcpPorts = false | |||
waitForTcpPorts = true |
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.
Setting this to true should avoid race condition issue when postgres container starts up and immediately followed by tx-exclusion-api integration test, given the healthy state check might not be good enough to ensure that the postgres container is ready to accept connection, especially when the tx-exclusion-api integration test only requires postgres container alone.
@@ -68,7 +68,7 @@ services: | |||
prover-v3: # prover compatible with the traces from zkbesu | |||
container_name: prover-v3 | |||
hostname: prover-v3 | |||
image: consensys/linea-prover:${PROVER_TAG:-bba9677} | |||
image: consensys/linea-prover:${PROVER_TAG:-8544ea1} |
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.
update the image tag of prover-v3 to cope with the recent change of prover config
@@ -26,8 +26,6 @@ abstract class CleanDbTestSuiteParallel { | |||
|
|||
private fun createDataSource(databaseName: String): DataSource { | |||
return PGSimpleDataSource().also { | |||
it.ssl = false | |||
it.gssEncMode = "disable" | |||
it.serverNames = arrayOf(host) |
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.
Reverted the above changes as it didn't fix the tx-exclusion-api integration test random failure issue
…n message column
This PR implements issue(s) #
Checklist