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

Storage mismatch @testnet's block 1182710 #972

Closed
roman-khimov opened this issue May 21, 2020 · 2 comments
Closed

Storage mismatch @testnet's block 1182710 #972

roman-khimov opened this issue May 21, 2020 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@roman-khimov
Copy link
Member

block 1182710: value mismatch for key c2700ebed4ba0fabd7500f3c705251fa7d01dbd75050e271306f6cd9841735ba43d0a80200f7ef537c38a20500000000000000000009: 002d0100000001000000041c0000000000000f000000027ffffffe0000001a7fffffff0000001a7ffffffa0000000000 vs 002901000000010000000418000000000000027ffffffe0000001a7fffffff0000001a7ffffffa0000000000

Ours:

{
   "jsonrpc" : "2.0",
   "id" : 1,
   "result" : {
      "executions" : [
         {
            "stack" : [
               {
                  "type" : "Boolean",
                  "value" : true
               }
            ],
            "trigger" : "Application",
            "notifications" : [
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "00000000010000000418000000000000027ffffffe0000001a7fffffff0000001a7ffffffa00000000"
                        }
                     ]
                  }
               },
               {
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "436f6e7472616374"
                        }
                     ]
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "0",
                           "type" : "Integer"
                        }
                     ]
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "1",
                           "type" : "Integer"
                        }
                     ]
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "value" : "04",
                           "type" : "ByteArray"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "state" : {
                     "value" : [
                        {
                           "value" : "24",
                           "type" : "Integer"
                        }
                     ],
                     "type" : "Array"
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "000000027ffffffe0000001a7fffffff0000001a7ffffffa",
                           "type" : "ByteArray"
                        }
                     ]
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "type" : "Integer",
                           "value" : "0"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "000000027ffffffe0000001a7fffffff0000001a7ffffffa",
                           "type" : "ByteArray"
                        }
                     ]
                  }
               },
               {
                  "state" : {
                     "value" : [
                        {
                           "value" : "57697468206465706f7369743f",
                           "type" : "ByteArray"
                        }
                     ],
                     "type" : "Array"
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "type" : "Boolean",
                           "value" : false
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "53554343455353",
                           "type" : "ByteArray"
                        }
                     ]
                  }
               }
            ],
            "vmstate" : "HALT",
            "contract" : "0x5c81a4488a9acf544e6e1234d6608f0975f6f330",
            "gas_consumed" : "7.635"
         }
      ],
      "txid" : "0x121d272b4e01795fe1c165297849d19f174ef731e9722600c89c90aa7e619456"
   }
}

Theirs:

{
   "result" : {
      "executions" : [
         {
            "vmstate" : "HALT",
            "notifications" : [
               {
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "00000000010000000418000000000000027ffffffe0000001a7fffffff0000001a7ffffffa00000000",
                           "type" : "ByteArray"
                        }
                     ]
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "436f6e7472616374"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "0",
                           "type" : "Integer"
                        }
                     ]
                  }
               },
               {
                  "state" : {
                     "value" : [
                        {
                           "value" : "1",
                           "type" : "Integer"
                        }
                     ],
                     "type" : "Array"
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "04"
                        }
                     ]
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "type" : "Integer",
                           "value" : "24"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "000000027ffffffe0000001a7fffffff0000001a7ffffffa"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "type" : "Integer",
                           "value" : "0"
                        }
                     ]
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "000000027ffffffe0000001a7fffffff0000001a7ffffffa",
                           "type" : "ByteArray"
                        }
                     ]
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "57697468206465706f7369743f",
                           "type" : "ByteArray"
                        }
                     ]
                  }
               },
               {
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2",
                  "state" : {
                     "value" : [
                        {
                           "value" : false,
                           "type" : "Boolean"
                        }
                     ],
                     "type" : "Array"
                  }
               },
               {
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "value" : "53554343455353",
                           "type" : "ByteArray"
                        }
                     ]
                  },
                  "contract" : "0xd7db017dfa5152703c0f50d7ab0fbad4be0e70c2"
               }
            ],
            "contract" : "0x5c81a4488a9acf544e6e1234d6608f0975f6f330",
            "gas_consumed" : "7.635",
            "trigger" : "Application",
            "stack" : [
               {
                  "type" : "Boolean",
                  "value" : true
               }
            ]
         }
      ],
      "txid" : "0x121d272b4e01795fe1c165297849d19f174ef731e9722600c89c90aa7e619456"
   },
   "jsonrpc" : "2.0",
   "id" : 1
}
@roman-khimov roman-khimov added the bug Something isn't working label May 21, 2020
@roman-khimov roman-khimov added this to the v0.75.0 milestone May 21, 2020
@roman-khimov
Copy link
Member Author

@roman-khimov roman-khimov self-assigned this May 21, 2020
roman-khimov added a commit that referenced this issue May 21, 2020
It's the same as with APPEND and VALUES.
roman-khimov added a commit that referenced this issue May 21, 2020
@roman-khimov
Copy link
Member Author

Fixed by #975.

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

1 participant