-
Notifications
You must be signed in to change notification settings - Fork 126
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
Westend sync stalls at block #2318338 #4281
Comments
The log snippet above mentions block #2318339, which has justifications:
|
I've added a (failing) test for decoding justifications in block #2318339 here, but I'm not sure the test is correct. The justifications are copied from the JSON output of the |
I've updated the number of the problematic block in the issue title and description because the most recent deployment syncing Westend stopped at this height and because it is one block before the one that actually contains the GRANDPA justifications. I don't know what happened on the earlier deployment where, according to the Grafana dashboard, the node had supposedly synced up to #2322947. In that case, the logs still showed that block import repeatedly failed at #2318339. There might be a secondary issue with how the Prometheus metric is surfaced. |
@haikoschol can we close this issue since the fix was already merged? #4278 |
That change is unrelated to this issue. #4278 fixed a storage root mismatch (#4271). |
Can we update the issue and remove the stacktrace, I think that's not related with the actual issue that is when validating the commit |
Regarding the test, it's failing because you are using |
I was able to code a test to reproduce this with the same voters set, we can try to debug the issue using it. |
I've been executing a substrate node logging the justification verification data to see what the difference could be. So far I found we are using the wrong setId. Based on our logs we are using From substrate: importing 2318339: 0xa6836b1530280181eabce3ded01e62283c7d6a64c6edbc9c789a28b10dc14be4,
justification: [6, 0, 0, 0, 0, 0, 0, 0, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 44, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 149, 30, 252, 162, 5, 190, 107, 247, 45, 224, 12, 231, 74, 214, 119, 132, 83, 244, 112, 239, 109, 52, 4, 166, 28, 162, 191, 191, 229, 188, 201, 58, 118, 32, 82, 45, 8, 128, 62, 80, 129, 249, 233, 59, 240, 220, 46, 129, 67, 254, 118, 66, 1, 174, 220, 19, 179, 69, 90, 20, 207, 119, 197, 3, 7, 217, 82, 218, 242, 208, 226, 97, 110, 83, 68, 166, 207, 249, 137, 163, 252, 197, 167, 154, 87, 153, 25, 140, 21, 255, 28, 6, 197, 26, 18, 128, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 198, 41, 31, 252, 87, 79, 72, 2, 210, 168, 193, 218, 5, 129, 214, 74, 61, 164, 26, 224, 128, 73, 91, 11, 95, 116, 111, 199, 251, 137, 24, 166, 68, 76, 173, 81, 3, 55, 153, 168, 122, 138, 130, 112, 4, 19, 146, 211, 228, 192, 170, 172, 206, 171, 28, 24, 48, 139, 4, 129, 221, 3, 177, 14, 22, 157, 169, 111, 232, 137, 254, 25, 242, 233, 70, 60, 76, 183, 48, 179, 52, 115, 165, 97, 240, 161, 93, 85, 129, 202, 124, 82, 54, 42, 37, 45, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 44, 176, 119, 97, 168, 137, 115, 5, 131, 54, 185, 166, 203, 114, 83, 83, 52, 215, 171, 109, 247, 142, 199, 249, 35, 138, 169, 87, 58, 37, 175, 200, 95, 195, 236, 68, 131, 221, 136, 95, 144, 176, 242, 204, 152, 133, 199, 0, 28, 231, 148, 169, 45, 245, 128, 79, 69, 140, 170, 161, 28, 110, 131, 8, 38, 165, 0, 130, 236, 99, 74, 108, 27, 250, 196, 212, 157, 16, 5, 85, 237, 246, 19, 223, 112, 61, 138, 10, 206, 62, 76, 149, 116, 94, 166, 153, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 78, 171, 71, 154, 85, 179, 189, 81, 152, 35, 81, 247, 235, 55, 19, 77, 131, 116, 187, 22, 48, 85, 199, 8, 204, 226, 136, 218, 45, 73, 113, 255, 141, 218, 82, 38, 162, 199, 126, 136, 189, 159, 177, 184, 60, 129, 66, 66, 83, 143, 101, 111, 176, 130, 23, 108, 22, 225, 239, 203, 100, 132, 81, 4, 49, 218, 231, 151, 187, 172, 14, 39, 185, 1, 53, 92, 201, 4, 70, 54, 157, 205, 21, 216, 249, 101, 147, 59, 87, 114, 62, 227, 137, 103, 13, 85, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 192, 176, 219, 232, 26, 46, 86, 90, 213, 85, 144, 196, 23, 219, 98, 64, 49, 49, 61, 15, 207, 45, 195, 217, 245, 176, 155, 117, 93, 14, 137, 154, 250, 71, 57, 162, 206, 42, 167, 182, 202, 146, 76, 179, 197, 78, 136, 109, 186, 65, 187, 15, 232, 110, 143, 66, 34, 221, 43, 129, 6, 226, 194, 10, 64, 75, 49, 166, 102, 51, 68, 198, 140, 126, 124, 42, 28, 244, 167, 103, 245, 58, 82, 95, 224, 34, 248, 13, 162, 131, 210, 200, 187, 19, 104, 109, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 163, 195, 154, 135, 137, 68, 112, 61, 32, 91, 33, 149, 122, 45, 107, 6, 175, 30, 24, 22, 11, 234, 242, 155, 29, 56, 242, 246, 152, 239, 245, 183, 39, 162, 128, 141, 244, 40, 229, 133, 72, 39, 139, 49, 41, 55, 176, 103, 150, 9, 203, 86, 16, 144, 226, 130, 122, 210, 104, 206, 106, 79, 81, 5, 90, 240, 22, 123, 223, 44, 19, 81, 145, 248, 255, 177, 85, 199, 95, 9, 123, 133, 115, 69, 104, 121, 209, 216, 156, 81, 148, 80, 144, 230, 69, 231, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 15, 89, 40, 222, 56, 85, 47, 103, 255, 94, 98, 218, 246, 200, 175, 65, 20, 80, 226, 150, 74, 214, 126, 50, 224, 97, 129, 62, 196, 126, 192, 230, 111, 149, 177, 129, 100, 64, 70, 170, 200, 222, 49, 104, 89, 162, 228, 173, 243, 185, 0, 192, 91, 23, 30, 32, 237, 209, 119, 22, 154, 30, 1, 9, 93, 5, 197, 56, 70, 126, 210, 89, 242, 82, 11, 86, 244, 159, 245, 136, 50, 204, 196, 64, 138, 105, 178, 138, 18, 187, 39, 63, 59, 65, 159, 44, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 206, 59, 90, 238, 68, 199, 101, 87, 192, 29, 19, 31, 63, 59, 35, 229, 204, 12, 195, 49, 79, 243, 113, 227, 88, 173, 237, 252, 156, 215, 244, 154, 14, 71, 218, 195, 96, 95, 123, 67, 144, 0, 95, 95, 53, 207, 165, 0, 48, 89, 228, 28, 147, 57, 234, 55, 139, 62, 52, 151, 252, 106, 63, 15, 198, 220, 66, 100, 134, 46, 17, 156, 132, 171, 46, 163, 191, 78, 170, 157, 123, 225, 4, 216, 141, 127, 62, 224, 142, 9, 139, 224, 1, 181, 171, 248, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 87, 34, 238, 119, 164, 63, 39, 106, 196, 159, 53, 109, 59, 143, 58, 130, 166, 139, 199, 224, 80, 73, 165, 56, 201, 225, 66, 41, 218, 19, 58, 116, 88, 73, 56, 37, 149, 74, 159, 39, 29, 187, 158, 140, 120, 78, 170, 43, 243, 24, 249, 194, 249, 53, 173, 213, 71, 203, 150, 62, 16, 244, 130, 13, 202, 111, 218, 104, 65, 158, 55, 67, 81, 194, 252, 131, 20, 178, 177, 182, 54, 147, 35, 144, 162, 50, 36, 210, 60, 48, 25, 122, 32, 236, 76, 178, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 35, 105, 190, 40, 64, 172, 47, 74, 96, 129, 61, 2, 26, 72, 168, 26, 100, 74, 170, 17, 74, 146, 81, 172, 198, 92, 195, 159, 8, 52, 92, 74, 147, 194, 12, 245, 241, 245, 225, 225, 70, 30, 247, 98, 167, 234, 15, 252, 240, 94, 245, 165, 75, 99, 51, 169, 176, 41, 183, 171, 147, 140, 106, 13, 203, 185, 105, 7, 239, 188, 63, 248, 237, 145, 209, 113, 202, 38, 101, 138, 44, 57, 5, 137, 2, 117, 55, 94, 218, 147, 126, 180, 86, 129, 98, 126, 166, 131, 107, 21, 48, 40, 1, 129, 234, 188, 227, 222, 208, 30, 98, 40, 60, 125, 106, 100, 198, 237, 188, 156, 120, 154, 40, 177, 13, 193, 75, 228, 3, 96, 35, 0, 36, 89, 96, 255, 251, 182, 65, 58, 83, 177, 113, 111, 69, 6, 2, 215, 168, 8, 80, 207, 112, 188, 236, 18, 87, 160, 212, 160, 144, 65, 47, 49, 127, 216, 117, 72, 143, 214, 90, 12, 11, 56, 254, 228, 15, 5, 180, 102, 244, 61, 223, 214, 94, 194, 163, 83, 244, 129, 217, 228, 235, 5, 46, 12, 207, 44, 219, 247, 170, 156, 134, 196, 172, 58, 196, 93, 17, 2, 49, 213, 206, 34, 254, 84, 173, 21, 246, 247, 139, 134, 102, 195, 145, 222, 62, 120, 0]
setId: 2685
voters: VoterSet {
voters: [
(Public(07d952daf2d0e2616e5344a6cff989a3fcc5a79a5799198c15ff1c06c51a1280 (5CEzkWVb...)), VoterInfo { position: 0, weight: VoterWeight(1) }),
(Public(169da96fe889fe19f2e9463c4cb730b33473a561f0a15d5581ca7c52362a252d (5CaMkDjN...)), VoterInfo { position: 1, weight: VoterWeight(1) }),
(Public(26a50082ec634a6c1bfac4d49d100555edf613df703d8a0ace3e4c95745ea699 (5CwNh8CL...)), VoterInfo { position: 2, weight: VoterWeight(1) }),
(Public(2767783903b5e3e7329dacf52def11668f27117761558abcec75a96f2861ce97 (5CxNTiwo...)), VoterInfo { position: 3, weight: VoterWeight(1) }),
(Public(31dae797bbac0e27b901355cc90446369dcd15d8f965933b57723ee389670d55 (5DC5EPxF...)), VoterInfo { position: 4, weight: VoterWeight(1) }),
(Public(404b31a6663344c68c7e7c2a1cf4a767f53a525fe022f80da283d2c8bb13686d (5DX1FyhD...)), VoterInfo { position: 5, weight: VoterWeight(1) }),
(Public(5af0167bdf2c135191f8ffb155c75f097b8573456879d1d89c51945090e645e7 (5E7wVF6e...)), VoterInfo { position: 6, weight: VoterWeight(1) }),
(Public(5d05c538467ed259f2520b56f49ff58832ccc4408a69b28a12bb273f3b419f2c (5EAg2P1k...)), VoterInfo { position: 7, weight: VoterWeight(1) }),
(Public(a0c551a7eeafb294752ef15fb9e9227b28c84834806b03cbe4244ad0d3e04d83 (5FhW8mMN...)), VoterInfo { position: 8, weight: VoterWeight(1) }),
(Public(a505ab1eccf2dccb6f1aba3ff928b765ec2f9fc7192826341ee4786a72868579 (5Fo5SbC2...)), VoterInfo { position: 9, weight: VoterWeight(1) }),
(Public(c6dc4264862e119c84ab2ea3bf4eaa9d7be104d88d7f3ee08e098be001b5abf8 (5GZSmZFc...)), VoterInfo { position: 10, weight: VoterWeight(1) }),
(Public(ca6fda68419e374351c2fc8314b2b1b636932390a23224d23c30197a20ec4cb2 (5Ge8ksU1...)), VoterInfo { position: 11, weight: VoterWeight(1) }),
(Public(cbb96907efbc3ff8ed91d171ca26658a2c3905890275375eda937eb45681627e (5Gfpf1R4...)), VoterInfo { position: 12, weight: VoterWeight(1) }),
(Public(cf2cdbf7aa9c86c4ac3ac45d110231d5ce22fe54ad15f6f78b8666c391de3e78 (5GkM6Ukp...)), VoterInfo { position: 13, weight: VoterWeight(1) }),
(Public(dec97d6e8be01e9195f7300f4335a043fd074977844bbf5ed7b437e3606fe91f (5H6pLpid...)), VoterInfo { position: 14, weight: VoterWeight(1) })
],
threshold: VoterWeight(11),
total_weight: VoterWeight(15),
} |
Last finding is that we are not applying the right forced authority set change. |
seems that #4336 solved this since we are able to reach the block 4M now. @haikoschol can you take a look at that PR please? |
I deployed the fix to |
Describe the bug
When syncing Westend from genesis, the node does not progress past block
#2322947#2318338. The issues seems to be related to verification of GRANDPA justifications.Log output
The text was updated successfully, but these errors were encountered: