Skip to content
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

Duplicate transaction data appeared in the pool manager & The status update is not timely. #218

Open
giskook opened this issue Dec 27, 2024 · 2 comments
Assignees

Comments

@giskook
Copy link

giskook commented Dec 27, 2024

We add pool manager to our system, but found that:

  1. There are duplicated transaction in the database
  2. The status in our database is not updated in time.

pool manager
branch : dev
commitid: fd4faf

pool manager's configure file

[Log]
Environment = "production" # "production" or "development"
Level = "info"
Outputs = ["stdout"]

[Server]
Host = "0.0.0.0"
Port = 7001
ReadTimeout = "60s"
WriteTimeout = "60s"
MaxRequestsPerIPAndSecond = 5000000
EnableHttpLog = true
BatchRequestsEnabled = false
BatchRequestsLimit = 20

[DB]
User = "xlayer_pool_user"
Password = "xxxx"
Name = "xlayer_plmgr_db"
Host = "xxxx"
Port = "5432"
EnableLog = false
MaxConns = 200

[Sender]
SequencerURL = "http://okx-defi-xlayer-rpcro-pro:7001"
ResendTxsCheckInterval = "1s"
Workers = 5
QueueSize = 25

[Monitor]
L2NodeURL = "http://okx-defi-xlayer-proxyin-pro:7001"
Workers = 5
QueueSize = 25
RetryWaitInterval = "3s"
InitialWaitInterval = "1s"
TxLifeTimeMax = "8h"
@zjg555543
Copy link

Fix 2 by this PR. okx/xlayer-pool-manager#4

1 is defer to polygon team 0xPolygon/zkevm-pool-manager#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@giskook @zjg555543 and others