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

[BUG] When stress testing in localnet, I find some different L2 block have the same timestamp ? #145

Open
lyh169 opened this issue Jun 26, 2024 · 0 comments

Comments

@lyh169
Copy link

lyh169 commented Jun 26, 2024

when i stree testing, there have probability the different L2 block have the same timestamp.。

the log as follows
11

13

the block of 62 is as follows:
{ "jsonrpc": "2.0", "id": 1, "result": { "parentHash": "0x4505c38054bf7513c6fedc1bedf68145ff7d7c889492ecdb984e5d882673d900", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "miner": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266", "stateRoot": "0x58354543fd1049901c75a23a2b70e3c013a7ae1b88b9224a1a2c3d98b42aeda7", "transactionsRoot": "0xa0377fb2b2af4ce63dca3bf99cdedbc216f290826960cfbe2a6df4f29cf8216d", "receiptsRoot": "0x84cd6ea60cefffe0982e6df603133a2b17c64938930bba7a3491789d261618e8", "logsBloom": "0x00000008840001000080400240000000004200000005010000000000201802000000000840000200000000000000000000000008000040800000004000000000308020800000000008010008000400440000001008000010000000000100000020000000000000000180000000000000000400000000000000a020100000001000000000005000000000004040080000000010004000000000000000000100000000040000100800000000000000000000000000004000000000800000000000080080820010400080a0000040004000000188080000000080100000000000802000008000000020101000000084000000000008080008000000100800100000", "difficulty": "0x0", "totalDifficulty": "0x0", "size": "0xc45", "number": "0x3e", "gasLimit": "0x4000000000000", "gasUsed": "0x82497", "timestamp": "0x667bc656", "extraData": "0x", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce": "0x0000000000000000", "hash": "0xdf2c8db96d6e671b13050254dfdb32928cf57d727803bd59629f8fde21792e33", ......... } }

the block of 63 is as follows:
{ "jsonrpc": "2.0", "id": 1, "result": { "parentHash": "0xdf2c8db96d6e671b13050254dfdb32928cf57d727803bd59629f8fde21792e33", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "miner": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266", "stateRoot": "0xe3879c0822c85b437e0fac91fa2a5c728b3436feee92c9b98c5689de1c72137b", "transactionsRoot": "0x80dbb956f8852c6409b2e6e499d643d6f6bccd0e0a9334bbc9d8d3c33aaf09fe", "receiptsRoot": "0x58560235c9b8022ef3985c818392f023230cc49a3b127f2c963749fa2251276b", "logsBloom": "0x0480000a840001040080400240000000004200020005010000000000201802000040000840000200000000200000000000000008000040820000004000000400308020800000000008010808000400440000001008000090000000000100000020000040000000000180000000000000000400010008000000a0201000000010000400000050000000000040408800000000100040000000000000002001000200000400001008400000000000000000000000000040000000008000000000000801a0820010400080a08000c0004000000188080000080880100000000000802000008000000020101000040084000004000008080008000000100810100000", "difficulty": "0x0", "totalDifficulty": "0x0", "size": "0x85ee", "number": "0x3f", "gasLimit": "0x4000000000000", "gasUsed": "0x68c5b9", "timestamp": "0x667bc656", "extraData": "0x", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce": "0x0000000000000000", "hash": "0xcaa1c31ff83e67caf8e120e9e7b52574ee08d3ab264e2720401e8d6f26678e50", ......... } }

There is a same timestamp between the block 62 and 63。

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

1 participant