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

[data-transport-layer]: There is no non zero judgment for the time configuration item #1308

Open
agnarsong opened this issue Jul 20, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@agnarsong
Copy link
Contributor

Describe the bug
There is no non zero judgment for the time configuration item

To Reproduce
Steps to reproduce the behavior:

  1. clone [R4R]-{develop}: split L1, L2 process execution time for synchronous data for dtl #1298
  2. Modify the value of the time configuration item to 0
# etc/services/dtl.yaml
sed -i '' 's/DATA_TRANSPORT_LAYER__L1_POLLING_INTERVAL: 10000/DATA_TRANSPORT_LAYER__L1_POLLING_INTERVAL: 0/' etc/services/dtl.yaml

sed -i '' 's/DATA_TRANSPORT_LAYER__L2_POLLING_INTERVAL: 100/DATA_TRANSPORT_LAYER__L2_POLLING_INTERVAL: 0/' etc/services/dtl.yaml
  1. run rde
  2. Check whether the configuration is effective through logs

Expected behavior
Service startup failed or default values used

Screenshots

cat local/logs/dtl.log |grep "start waiting for sync l1\|finished waiting for sync l1\|Sync l1 block time duration from Layer 1 (Ethereum)"
{"level":30,"time":1689806152109,"l1PollingInterval":0,"msg":"Sync l1 block time duration from Layer 1 (Ethereum)"}
{"level":30,"time":1689806152109,"timestamp":1689806152000,"msg":"start waiting for sync l1"}
{"level":30,"time":1689806152110,"timestamp":1689806152000,"msg":"finished waiting for sync l1"}
{"level":30,"time":1689806152113,"l1PollingInterval":0,"msg":"Sync l1 block time duration from Layer 1 (Ethereum)"}
{"level":30,"time":1689806152113,"timestamp":1689806152000,"msg":"start waiting for sync l1"}
{"level":30,"time":1689806152117,"timestamp":1689806152000,"msg":"finished waiting for sync l1"}

cat local/logs/dtl.log |grep "start waiting for sync l2\|finished waiting for sync l2\|Sync l2 transaction time duration from Layer 2 (Mantle)"
{"level":30,"time":1689806072965,"l2PollingInterval":0,"msg":"Sync l2 transaction time duration from Layer 2 (Mantle)"}
{"level":30,"time":1689806072965,"timestamp":1689806072000,"msg":"start waiting for sync l2"}
{"level":30,"time":1689806072967,"timestamp":1689806072000,"msg":"finished waiting for sync l2"}
{"level":30,"time":1689806072969,"l2PollingInterval":0,"msg":"Sync l2 transaction time duration from Layer 2 (Mantle)"}
{"level":30,"time":1689806072971,"timestamp":1689806072000,"msg":"start waiting for sync l2"}
{"level":30,"time":1689806072972,"timestamp":1689806072000,"msg":"finished waiting for sync l2"}
@agnarsong agnarsong added the bug Something isn't working label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants