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

Stateful duplication / Finalization issue #593

Open
Mr-Leshiy opened this issue Nov 4, 2021 · 0 comments
Open

Stateful duplication / Finalization issue #593

Mr-Leshiy opened this issue Nov 4, 2021 · 0 comments
Labels
bug Something isn't working daemon Daemon Related Issues prio:high

Comments

@Mr-Leshiy
Copy link

On the current network have found an issue with the block 10815 height 7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000 hash.
This block has a duplicated pop data:

2021-11-03T17:36:00Z [alt-cpp] [debug] connectBlock: block: ALTBlockIndex(height=10815,
hash=7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000, next=1, status=258,
 header=AltBlock{height=10815, hash=7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000},
  ATVs=41[0613e3fb9cb816b608c34c06cf22dd3341b38ce42d45c16e77354d1f17e93773,86761d9f627cfe5e71184f63949883db76b6a3e8b6c6312ff2d6f90058d31885,45779520a614f045ff0d8ff0939b7db8b2477067c52ec366b6f2460e4b5ee0f7,9e4f5a7d94e3a15856fdc080813e5a47e0a5acaf0b1ed2ec8aad04e19fc8a504,704244b31130c30edfeb0bf4489b65e627187141b6aa6fd17840bb786f948008,cf9e0c4bfe03d14f8ef8195a3b0cd4ca6cbfb58ed49a1e0a94e338df16ba983d,0196691ca19e326f6353f5c078b44d7ad8f48d700a73d2c0fe1f91a1f86733b6,08ef22c471b9aa870cd0148ea6da43b7c5456a065ba76792fc112b69cec082e6,ad5fc82ba7ecad8daa4ac36c7c4dda8f4a7f501eddfe5e89ac8863ef358bfe41,253d1cf610f77a9965e4cb1796b1a21fd20a4b9d85b52a7e2391dddd69f0d6d8,9d46728137bc12fae5881ec8f99936ca0004242f35364e7e3eb9e41be71cb69a,f0a2c2338ce609cf3b74eb0a67fddd147383f98fb38810f2e1331cd4ee728746,3caa4b22976178ae151a18959a433bf19c72025d7dfcbb5849daca39604c33eb,31373d5033fa7f0eb0fd08fec3272df84eb68c36c795340a52b7b067ae4376f9,8f24aba38f93eefb15056f027de52573013666eeecf3147796d5c43e98811155,cd567b9ba78c40f8901f19a07c2f153a32ac6bc3c68682e295a28cee66f3cc38,15c653f6b9e558f1d9ceabb8e535a55161636393d1f84347b70e935d9389219b,d506479bac454734f81324019b323751ce53a936cab444400205a75df765dc7c,530c0c3731063646ea4d126409262fde5afa055a7386591e6541e1737b118c53,ea75b96532f7a55267954397c4efc8a4ac78ce810ab4ee364d42b7e9962f65d6,6e41ced366e46022305fc0b3e970c973c7e395cb15e1bae63b0d6ea34cf85c6d,38f029c87baf57893d0e5662852e1dca307d98416ffeed1927d6343e4791d1c2,324b25cf5af60d01cba78ebdb2174441f6c3104960d2fdeff2172aca09bc8e70,cfe2ad0cb6508384f9f773935913eb720c3f8814ea2968296dbf50555f9cbdc1,cca02478e06c4732d079ecabdeebcdeaa213e7f440cef8fe26975843662e7d14,d487d0e7300104a9ac0c004600e3fc2bbfdaeacd25844c3d7020aaa91dced852,c5926700e662a0bc89a093ff33b54db6ce44ed21293a680a6489125e64f61e65,34de73c5debec3ab879135b34b6edfdb2ec84eda1d273f0939d840facc695bfa,acc9a576d4ee8efef69942b79c9c88a97cc2962d8124e1346f854a93be4ab760,64d31ce15f936b6cdab578b54987aea1f56fa36c7b46ac17f1d6c87dbffd47de,8ec1de4b828dcd87bf34b64101c19beebfd2b2c26de8be95b398fbe3085e2c05,f376c0ca1f3217c02a3006e5b1d197f4904d5707f3f6e6b3a5ff6f4aee1bd30a,5895098857c39edd6557c8f8deff08012bc5c8981416fd096fec7fbcaad649d8,77315df9233cbbeeaffe0989408f13fee325b3671adec3232de0318fdad5e614,13296a927d55804150dea102544ff36d6df19d8acdf06d6216549c289dd630e1,4c62d070e8936b427749c2331748b8563fb17125e8632690f8d5fd5e8c24c13a,f40940c2b9fcbf70b8cbdc38d19ca4d7e1c0bd09b20fc8756e73890e0a5f07e3,0d5ad9770e04e74314bf8ef97fed71fc50c4d65c81c80c4064e52cc88d036639,6cb59c93cc44f11365064b6ea77ebe38e404e37fb42ec13a4ed7c7661903bd5a,fd534e6888083769e8a33554cd4b3d9683b3137e427d9cf412f2895fea0cf218,ae82d243324e91e4a052afa78b1cafd8a319e3901dcf9b57ffa4d8e693fd8ae1], VTBs=0[], VBKs=3[2d55f19fcf264355c597e708,87b93a1c35707e95ba32a2bd,cd82193e5f106d47e890b18c]) has stateful duplicate, state: VBK-duplicate, Payload VBK:2d55f19fcf264355c597e708 in block ALTBlockIndex(height=10815, hash=7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000, next=1, status=258,
   header=AltBlock{height=10815, hash=7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000}, ATVs=41[0613e3fb9cb816b608c34c06cf22dd3341b38ce42d45c16e77354d1f17e93773,86761d9f627cfe5e71184f63949883db76b6a3e8b6c6312ff2d6f90058d31885,45779520a614f045ff0d8ff0939b7db8b2477067c52ec366b6f2460e4b5ee0f7,9e4f5a7d94e3a15856fdc080813e5a47e0a5acaf0b1ed2ec8aad04e19fc8a504,704244b31130c30edfeb0bf4489b65e627187141b6aa6fd17840bb786f948008,cf9e0c4bfe03d14f8ef8195a3b0cd4ca6cbfb58ed49a1e0a94e338df16ba983d,0196691ca19e326f6353f5c078b44d7ad8f48d700a73d2c0fe1f91a1f86733b6,08ef22c471b9aa870cd0148ea6da43b7c5456a065ba76792fc112b69cec082e6,ad5fc82ba7ecad8daa4ac36c7c4dda8f4a7f501eddfe5e89ac8863ef358bfe41,253d1cf610f77a9965e4cb1796b1a21fd20a4b9d85b52a7e2391dddd69f0d6d8,9d46728137bc12fae5881ec8f99936ca0004242f35364e7e3eb9e41be71cb69a,f0a2c2338ce609cf3b74eb0a67fddd147383f98fb38810f2e1331cd4ee728746,3caa4b22976178ae151a18959a433bf19c72025d7dfcbb5849daca39604c33eb,31373d5033fa7f0eb0fd08fec3272df84eb68c36c795340a52b7b067ae4376f9,8f24aba38f93eefb15056f027de52573013666eeecf3147796d5c43e98811155,cd567b9ba78c40f8901f19a07c2f153a32ac6bc3c68682e295a28cee66f3cc38,15c653f6b9e558f1d9ceabb8e535a55161636393d1f84347b70e935d9389219b,d506479bac454734f81324019b323751ce53a936cab444400205a75df765dc7c,530c0c3731063646ea4d126409262fde5afa055a7386591e6541e1737b118c53,ea75b96532f7a55267954397c4efc8a4ac78ce810ab4ee364d42b7e9962f65d6,6e41ced366e46022305fc0b3e970c973c7e395cb15e1bae63b0d6ea34cf85c6d,38f029c87baf57893d0e5662852e1dca307d98416ffeed1927d6343e4791d1c2,324b25cf5af60d01cba78ebdb2174441f6c3104960d2fdeff2172aca09bc8e70,cfe2ad0cb6508384f9f773935913eb720c3f8814ea2968296dbf50555f9cbdc1,cca02478e06c4732d079ecabdeebcdeaa213e7f440cef8fe26975843662e7d14,d487d0e7300104a9ac0c004600e3fc2bbfdaeacd25844c3d7020aaa91dced852,c5926700e662a0bc89a093ff33b54db6ce44ed21293a680a6489125e64f61e65,34de73c5debec3ab879135b34b6edfdb2ec84eda1d273f0939d840facc695bfa,acc9a576d4ee8efef69942b79c9c88a97cc2962d8124e1346f854a93be4ab760,64d31ce15f936b6cdab578b54987aea1f56fa36c7b46ac17f1d6c87dbffd47de,8ec1de4b828dcd87bf34b64101c19beebfd2b2c26de8be95b398fbe3085e2c05,f376c0ca1f3217c02a3006e5b1d197f4904d5707f3f6e6b3a5ff6f4aee1bd30a,5895098857c39edd6557c8f8deff08012bc5c8981416fd096fec7fbcaad649d8,77315df9233cbbeeaffe0989408f13fee325b3671adec3232de0318fdad5e614,13296a927d55804150dea102544ff36d6df19d8acdf06d6216549c289dd630e1,4c62d070e8936b427749c2331748b8563fb17125e8632690f8d5fd5e8c24c13a,f40940c2b9fcbf70b8cbdc38d19ca4d7e1c0bd09b20fc8756e73890e0a5f07e3,0d5ad9770e04e74314bf8ef97fed71fc50c4d65c81c80c4064e52cc88d036639,6cb59c93cc44f11365064b6ea77ebe38e404e37fb42ec13a4ed7c7661903bd5a,fd534e6888083769e8a33554cd4b3d9683b3137e427d9cf412f2895fea0cf218,ae82d243324e91e4a052afa78b1cafd8a319e3901dcf9b57ffa4d8e693fd8ae1], VTBs=0[], VBKs=3[2d55f19fcf264355c597e708,87b93a1c35707e95ba32a2bd,cd82193e5f106d47e890b18c]) is a stateful duplicate
2021-11-03T17:36:00Z [alt-cpp] [debug] invalidateSubtree: Invalidating ALT subtree: reason=64 block=ALT:10815:7252f9f7a1b973854726de0d861541d4545f468b7757f8683603000000000000

The main issue with that current network splits into two one, who rejects this block and who accepts this block (on the same node versions) which leads to the network state inconsistency.

@timstall timstall added the daemon Daemon Related Issues label Nov 5, 2021
@timstall timstall added the bug Something isn't working label Nov 5, 2021
@Warchant Warchant moved this to Todo in Proof-of-Proof Nov 15, 2021
@Warchant Warchant modified the milestones: beta, MainNet Nov 15, 2021
@Warchant Warchant changed the title Statefull duplication validation failure Stateful duplication / Finalization issue Nov 18, 2021
@Warchant Warchant self-assigned this Dec 6, 2021
@Warchant Warchant moved this from Triaged to In Progress in Proof-of-Proof Dec 6, 2021
@Warchant Warchant removed this from the MainNet milestone Dec 13, 2021
@Warchant Warchant removed their assignment Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working daemon Daemon Related Issues prio:high
Projects
Status: In Progress
Development

No branches or pull requests

3 participants