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

Lags in block sync and broadcasted transaction after receipt is confirmed on other Nodes #2033

Open
oleksandrSydorenkoJ opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working epic:HPD skaled

Comments

@oleksandrSydorenkoJ
Copy link

oleksandrSydorenkoJ commented Oct 24, 2024

Version
skaled:3.20.0-beta.0

**Preconditions **
Active schain medium type
1 address with a whitelisted deployer role
Prepared Transaction of the contract deployment with

To Reproduce
Link to autotest

  1. Connect through web3 to Endpoint1 in TimeZone Europe
  2. Send the transaction and await the transaction receipt
  3. Connect through web3 to Endpoint2 in TimeZone USA
  4. Send the transaction and await the transaction receipt

Expected behavior
Skaled should mine both transactions without any delays or lags.

Actual state:
Skaled on Endpoint 2 received the block with the first transaction through catchup later than the User received the receipt and prepared a new transaction for Endpoint 2.
Skaled on the endpoint 2 throws the "Transaction already exists in pending transaction queue" error message if the transaction is in a queue, or throws the "Invalid nonce" if the transaction was received through the catchup

Logs

lagging node:

[2024-10-24 15:29:04.477] [10:main] [info] 32079:CONSENSUS_STARTED:PROPOSING: 1000000000000000
[2024-10-24 15:29:04.774] [10:main] [info] 32079:CWT:1194:TLWT:2391:SBPT:222
2024-10-24 15:29:04.775979   SWT:0:BFT:3587
[2024-10-24 15:29:10.600] [10:main] [info] 32080:CONSENSUS_STARTED:PROPOSING: 0100000000000000
[2024-10-24 15:29:10.804] [10:main] [info] 32080:CWT:692:TLWT:5335:SBPT:238
2024-10-24 15:29:10.806360   SWT:1:BFT:6030
[2024-10-24 15:29:21.828] [10:main] [info] 32081:CONSENSUS_STARTED:PROPOSING: 0001000000000000
[2024-10-24 15:29:21.989] [10:main] [info] 32081:CWT:1026:TLWT:10156:SBPT:215
2024-10-24 15:29:21.995923   SWT:6:BFT:11189

previous node

[2024-10-24 15:29:04.442] [13:main] [info] 32079:CONSENSUS_STARTED:PROPOSING: 1000000000000000
[2024-10-24 15:29:04.725] [13:main] [info] 32079:CWT:1178:TLWT:2392:SBPT:103
2024-10-24 15:29:04.727360   SWT:0:BFT:3573
[2024-10-24 15:29:10.614] [13:main] [info] 32080:CONSENSUS_STARTED:PROPOSING: 0100000000000000
[2024-10-24 15:29:10.768] [13:main] [info] 32080:CWT:706:TLWT:5334:SBPT:70
2024-10-24 15:29:10.770741   SWT:1:BFT:6043
[2024-10-24 15:29:21.775] [13:main] [info] 32081:CONSENSUS_STARTED:PROPOSING: 0001000000000000
[2024-10-24 15:29:21.971] [13:main] [info] 32081:CWT:1042:TLWT:10158:SBPT:85
2024-10-24 15:29:21.977641   SWT:5:BFT:11206
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working epic:HPD skaled
Projects
Status: No status
Development

No branches or pull requests

1 participant