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

Cucumber BLOCK test unit.stateproof.responses.msgp does not work properly. #469

Open
winder opened this issue Feb 15, 2023 · 2 comments
Open
Labels
bug Something isn't working Team Lamprey

Comments

@winder
Copy link
Contributor

winder commented Feb 15, 2023

Subject of the issue

There is a discrepancy in the shape of the block response for state proof responses.

Until recently there was also an error related to an integer key which caused two nil objects to be considered equal. After fixing that this error presented itself.

To reproduce, add the unit.stateproof.responses.msgp cucumber tag back to the unit test tags file.

Example error:

EXPECTED:
{
  "block": {
    "proto": "ZnV0dXJl",
    "gen": "c2FuZG5ldC12MQ==",
    "gh": "GUk5a9mr2S17TIqw/Lre/oTilqURTJtiP10iHjpP8us=",
    "prev": "q70an2QxVrz3S2btFLRQen0ikI2A7ra6arirCoMkjGk=",
    "tc": 1,
    "earn": 15,
    "rnd": 619,
    "seed": "QS2hS7FrjkR6PZXYNLlaMypQpA6g5Rc0YFQ5ktjXguc=",
    "txns": [
      {
        "txn": {
          "fv": 617,
          "lv": 1617,
          "snd": "uzxSYqnVx00gJ+On6uTW/3DPbEzkxeBXwR7Tm5U0QgU=",
          "sp": {
            "S": {
              "hsh": {
                "t": 1
              },
              "td": 1
            },
            "c": "dWo+1yk/97WVvXRuLLyywild8Xe6PxjtmuB/lShfdOXs0Au7Q67KkT5LzC88hX5fFvjBx/AqKREhoEd14JiTtw==",
            "pr": [
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              1,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              1,
              1,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              1,
              0,
              1,
              0,
              1,
              1,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              1,
              0,
              0,
              0,
              0
            ],
            "r": {
              "0": {
                "p": {
                  "p": {
                    "cmt": "id78YBFD7gl5iniUJmrFX4Zq2iWaFbvqfDEyXOhM1ODxmVrsXeg1PNP/x1w31QiJoqZkkIUsJDRJnmvj4NJTMA==",
                    "lf": 256
                  },
                  "w": 4000020000000000
                },
                "s": {
                  "s": {
                    "idx": 2,
                    "prf": {
                      "hsh": {
                        "t": 1
                      },
                      "pth": [
                        "xAJq2a/VHO044mbb0ffVix18vNcaGY41Vl8tW+HT13pBfp9Sv5Vj+sHqRMK99oF5NwIiE3icDdh6XY/guxtMuw==",
                        "fEQO1oJjA5vbJfLObHBSMCzjbCC86uiYI5CCuorh7E4BeE9RdUcbdjVA5UaC8r3jzZv9lyOyReUv6UAIn7o7qg==",
                        "53gd0n3OKUOrarMpmRvryPO0qZjouysPOTunCcSRvQtmAGSzvYCYFjblFevtsrPUKXnr4paVew2WmGokYHUW9Q==",
                        "eFm0NbBZZbZt79bKranU9QABRqeuXh8I8G/j6Fz6blDMMBl/ZJLHSLPEiVe4RD3VJzwV87+x4yu4a3t6gAnkrQ=="
                      ],
                      "td": 4
                    },
                    "sig": "ugB5kmml+p3OT2CTyptlHbu4StA4uMw18AmTGSjOHby//nkdxyQKLAGGWCUMh97xgeiNo48bWTg7qZWXP+/KH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ExiaDYevrOxCkkD8OED2aUvLkCGlaedG2OehAq5Hp28/d1k7y/PSFziw+BA3GAMnLGUQkx/RPIhHRkESm5uCrPetikRQVJzDasS1FEVDFI7oFDCK51BrlxoOjCU1wod5p/kzZdZihkJ932e5LBaPTQ/mUxUpcDhO9vHENh/gKParqmMb3ZiFhA3rlQwlUmyWKbTaB7Ltn8YiOH0Q0UDXVLk8MqYgYEGujWrpy2gGgOAbPK+7GFEb+o9GiRGIYrIQmi+ijaqxfg2EST2comHFiTBy9MjyEgJPSmAlvYLTNiBH6fEeVJYgr7d6REMg+b12bYa/PQjQIkBJcDHQgAPIlC2/vCqFwVa4gBXZuzPh4i4O02SW7GRaDdV3q6r6MkzpiE9LylHGC7jDjgcwFHeKBhDcc1g4VdXjuLE872g/bRBTvXOpPwcfNgQAuh5QUVVy1yTsTD6TZqgqcSqxNfGwQHPXX45JEvNK7SZASdKKSM0MfGBKB0EHMbLUGuS9VFG2BpqZ6iBmWPVysAuJmBQRLScSDNERPMtkWtBSXCDHh0PKSaY8m1uvV3yGPoAY6J2veerHAzqddLv8D8rariI7zsBVDOOxpuXKktEMFFjM9Xf1glcBetu4ZW8EAyorOhBueDJyZQP6DqwsRBogWabrH+ywdr1Fs3dp3dt2Rc6elOKEEew9ACpZaO7UIJKQ1XtI4G6dwoyQl+k+AnBRl97b9Ab4bSqe0JO4GknLmU="
                    }
                  }
                }
              },
              "1": {
                "p": {
                  "p": {
                    "cmt": "2TMeJFfzAYDxociKJBLkph5mmzQSTvQJvl19QsC9QrH9mWJ6eJrkJbgRpXclMPTpcKxAqnCGBtqFxhOCPM1WDw==",
                    "lf": 256
                  },
                  "w": 1000005000000000
                },
                "s": {
                  "l": 4000020000000000,
                  "s": {
                    "idx": 2,
                    "prf": {
                      "hsh": {
                        "t": 1
                      },
                      "pth": [
                        "1HgwzwEbmLBtE6DlwEVpwHrM3a0F5QmwiQMvIjNwktreyrp5nBsLBpilI2w9nCXDXT9hmmR4QQ4oErnuesyKiQ==",
                        "DfMouGGd5FT6QIfA9qqzr/o40QacssnothtFw/Pz80qQCt1Pmg5aBf6NrxZ/4LhKRoR5ChPB+OUng8cmddYBug==",
                        "5T0I6P0GHv9rmoNUmx/c1yect02QoGu1//lHV2dHqLuDiqfy5kjMUSlAGT5a+7o7bg8CbNU2yiReH28Q6vPqcA==",
                        "hXONcAVtpzBx4ttq8eRNYHd7/Sra3HBPwMGGXWrsR4KqU7mFI9QDiHE609LwDD6MCbKW5kvVrlIYsEh/ElLpDg=="
                      ],
                      "td": 4
                    },
                    "sig": "ugClRlDBp4fGuGtOp3tolUBrNt7Hk3qYUPnprJ4k+SoUDYFQzC91reo2obi+z7elDsq5ZHYy0MK9gxLtyKjW+wMIa/RwshXSjRw6RH0SFp3bRt3z8mtjoFWkZZqJV/RsKETGDsu9PTSCtQi7tZjYF7tbS+HUqk3x3zZ0dICI4beXGbmu7aBsF0kJq6Mb6Q6Pt6h2p54vX5uJfLkfuJ5JRdTPHQ4TZsElfFtvMksfNCM1ztv+FGaLsUWHTZOzCv04l/jSaMokmigxxMdVYm+GDVg9fQxzeFz8S537lJAX72pU+H8Z/08qjwCucbWQa5RkkUnu8WtBukQtWDZ7XL/GykNa9UFa2iIx8TWY720dZihapWyppvNhgn6Q53+3k98pD6/56q3o0cNZG3mtupQhYhpk5eXqQjej/5xlGFU+EwRktIXOHPh5EWnOive+70HQwa6zV8leEovLo9eO1ZSRcdn1kt50vxnnHMU87jI5EmL0C7FlfDJUeitG8E0sXPJzDsXXt4bDh+GPy+TH6kKQQc0hM55D3kkgqCEbiJIvb5u8sHENzCrHpSbIxPVxBrt0z2QJMhhAMg0ClNtSoBbUkkCz08d+RQxKphCUPhJRCoOj2bGaF/5p33pqOnbh5+NK0TNEzXot0CsS7o8yjwF1jTfX1didYrYQZeJLyfqTxeZOI0VNmTZGnVHZJOtmL2LOloZFy/b+4xjnFqzpw7sQaEpdNx/pW5ZFzVlUaK4UbLqtJoPhqhib16JB0SDKWw+bl+D6Mtq8PYWRJ3BjjQtrBaTV8qA9yVmFUmQokrHDYRAqBc21tEDzu+1jnNe9jby2AsW+hxdJL6K4ca4dSa10u610zlDKL1qYVG8OV+PwSV1iucx1YvBsh/YnHVv8cHgrTttWfwe3QcvlIcsGiljxRurH8fKrclaIthpjkNJqfkapjDgYHpHiEvj3h2dif1nHkVB9c/v4i5yjORNKpT5ezeDUfF6soaG4NosKlbdQTSkOYXjZmBJPKEgbWkq/YPT/Kcs9fPl1K0XNktAKZinElLUMJwKRVt+utPISTAx0Aw1ZV1A58WSXUdA6kliPZMvWt6TWahnxiq199RqkcqzmIixHIXhiDNEcY8ief1cXTlcEUtEmhCJtNta/zahIaqSMc5R4s4tVg2nQTj2TLnXbGUStpz3GVssyhzv9cqjbQuYtLGqAkaDxbGRDaVXbcrrsglL0WmItebvkrdQ5Ju1CZlyug/K+aGTOsiJAVXV9PE0a2GJpt3Zoe5pKenF9WnMdwP9wGOrEtoWjutFrVYiWhTpKiQM7WEI4iI8O53C+WPKMoz3H/6HP/m9y25Rf74k8g39kThaZ1PVoOgbqAmpUZrCZWJVHfW3z4M2xXmGruenliTvWP0Y20r3AqGado+LIfrsKB+L9L2dXHooaUrOnKjOQ4K9sG5Xcx6jsVgWw98dk7s4dCtdBhKSa5vs6ywqeufgVk8dGb5jnZhZwqAwV65yMJkObWjR9Es2Z2f/1yZdsyyYatj6pX3s+yNGRkNtjdovf1hooJ4eMbHTLq+686xRGrwDYKkn59spKahOvLRkZepiaVGLk6yfFVmUCZOJWFQLvQJBHoXA5ta3zxpx5VsCfm8wyU4qs39THq46A",
                    "vkey": {
                      "k": "CnClsOIy3wMeZINwcs18hvyHcTNacB1022OowmxPNGv2Rx+ObOXUZvuGCj6VwRbMXvQnfdX3/4t3leJUaIuS55tQruVtQEm6uHkWCGqVVREIeHnbBxHV/WTGoplE9EaiW1YkprylwAzBsbmdEQpLIfphcsuontzfkwDXRatg0I7E3LEFLNAgZfOEj00DFirbdbkAdhG6J8HsIO+OGijkHGnTJ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lrq1LO42ZusmKLC6Y="
                    }
                  }
                }
              }
            },
            "w": 5000025000000000,
            "P": {
              "hsh": {
                "t": 1
              },
              "td": 1
            }
          },
          "spmsg": {
            "P": 2290107,
            "b": "XFO2T1GjpygVUzju8poh0fuXT48g0/A7JDNUW+aafyk=",
            "f": 257,
            "l": 512,
            "v": "cqjSbA966GUMfzE1ymQHzC3r2exCjTxIiwj4pdUwNEq7I6NZAhjzl4hrM387+dVC3+haHdWwMhS4oG28apxzmw=="
          },
          "type": "c3RwZg=="
        }
      }
    ],
    "rate": 249999999,
    "spt": {
      "0": {
        "n": 768
      }
    },
    "txn": "7T4Zq/v95Xo4LsPuPsp+dP66MCYLy+t8r0PtcjfuMzY=",
    "rwd": "//////////////////////////////////////////8=",
    "ts": 1660162253,
    "txn256": "iv5tPmJ7bqXScho/WisAUY6LrdnQjbo2zl8R/jlZxvc=",
    "fees": "B9rLS22e0UGxdXa9RZrmQh1IbaPU7yJHxAmjlrguoiE=",
    "frac": 4749999381,
    "rwcalr": 500000
  },
  "cert": {
    "prop": {
      "dig": "wdMqW/iKbZJ7FQMubgro8mUS3exg1F9JdcqJp1HbvgI=",
      "encdig": "vJhdSu6lJcFAoEDVoBpKx0v2eas/QIfKGiVSUARaeDs=",
      "oprop": "6JDgh07M3LY7sutu4SDTsWXI43wcnuawS1zoVF8Ibm4="
    },
    "rnd": 619,
    "step": 2,
    "vote": [
      {
        "sig": {
          "ps": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
          "s": "BVdJRaLuHPfpyhj340Tqb+oPYJqUyNGDPkbNC/EgK460FWLMWkZc7BTKIbLP7b+BfgJW4tA5k2HnRG29Q+5XAA==",
          "p": "q1WYJ+zAnf51ziFU/cIwpwIruQQztAgHXiRrdY0OIfQ=",
          "p1s": "e7HpYtSgtIB35kRvISgtIumaO7QAiXokU8hAs136nIxxX2wzbP9YiknT++SCyaI1v5gk2FFJuQJQe0ObUm6mDA==",
          "p2": "7Jk2Yh/loqNz6bKag8paY+PDkSYQn/jZ/VH5uW/Adls=",
          "p2s": "WvJ/cQiXmL6TKI4k6t6qLyRLr8sL3ylDLpkC2WyelrFK/Z53roedTCGtBk5tD73DE69HjN4pf0xkKw8qiyBFDg=="
        },
        "snd": "6JDgh07M3LY7sutu4SDTsWXI43wcnuawS1zoVF8Ibm4=",
        "cred": {
          "pf": "yv9yTQSqyknowdz0SyrzdMfQijwH6SYOFJvbWfYAewmJbonpyrtEHyzzv3/O22a+2KZy4yWZkkc4250HoemgvkoR22qjiKnr6EdlfUSwqgM="
        }
      }
    ]
  }
}
ACTUAL:
{
  "earn": 15,
  "fees": "B9rLS22e0UGxdXa9RZrmQh1IbaPU7yJHxAmjlrguoiE=",
  "frac": 4749999381,
  "gen": "sandnet-v1",
  "gh": "GUk5a9mr2S17TIqw/Lre/oTilqURTJtiP10iHjpP8us=",
  "prev": "q70an2QxVrz3S2btFLRQen0ikI2A7ra6arirCoMkjGk=",
  "proto": "future",
  "rate": 249999999,
  "rnd": 619,
  "rwcalr": 500000,
  "rwd": "//////////////////////////////////////////8=",
  "seed": "QS2hS7FrjkR6PZXYNLlaMypQpA6g5Rc0YFQ5ktjXguc=",
  "spt": {
    "0": {
      "n": 768
    }
  },
  "tc": 1,
  "ts": 1660162253,
  "txn": "7T4Zq/v95Xo4LsPuPsp+dP66MCYLy+t8r0PtcjfuMzY=",
  "txn256": "iv5tPmJ7bqXScho/WisAUY6LrdnQjbo2zl8R/jlZxvc=",
  "txns": [
    {
      "txn": {
        "fv": 617,
        "lv": 1617,
        "snd": "uzxSYqnVx00gJ+On6uTW/3DPbEzkxeBXwR7Tm5U0QgU=",
        "sp": {
          "P": {
            "hsh": {
              "t": 1
            },
            "td": 1
          },
          "S": {
            "hsh": {
              "t": 1
            },
            "td": 1
          },
          "c": "dWo+1yk/97WVvXRuLLyywild8Xe6PxjtmuB/lShfdOXs0Au7Q67KkT5LzC88hX5fFvjBx/AqKREhoEd14JiTtw==",
          "pr": [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            1,
            1,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            1,
            0,
            1,
            0,
            1,
            1,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            0,
            0,
            0,
            0
          ],
          "r": {
            "1": {
              "p": {
                "p": {
                  "cmt": "2TMeJFfzAYDxociKJBLkph5mmzQSTvQJvl19QsC9QrH9mWJ6eJrkJbgRpXclMPTpcKxAqnCGBtqFxhOCPM1WDw==",
                  "lf": 256
                },
                "w": 1000005000000000
              },
              "s": {
                "l": 4000020000000000,
                "s": {
                  "idx": 2,
                  "prf": {
                    "hsh": {
                      "t": 1
                    },
                    "pth": [
                      "1HgwzwEbmLBtE6DlwEVpwHrM3a0F5QmwiQMvIjNwktreyrp5nBsLBpilI2w9nCXDXT9hmmR4QQ4oErnuesyKiQ==",
                      "DfMouGGd5FT6QIfA9qqzr/o40QacssnothtFw/Pz80qQCt1Pmg5aBf6NrxZ/4LhKRoR5ChPB+OUng8cmddYBug==",
                      "5T0I6P0GHv9rmoNUmx/c1yect02QoGu1//lHV2dHqLuDiqfy5kjMUSlAGT5a+7o7bg8CbNU2yiReH28Q6vPqcA==",
                      "hXONcAVtpzBx4ttq8eRNYHd7/Sra3HBPwMGGXWrsR4KqU7mFI9QDiHE609LwDD6MCbKW5kvVrlIYsEh/ElLpDg=="
                    ],
                    "td": 4
                  },
                  "sig": "ugClRlDBp4fGuGtOp3tolUBrNt7Hk3qYUPnprJ4k+SoUDYFQzC91reo2obi+z7elDsq5ZHYy0MK9gxLtyKjW+wMIa/RwshXSjRw6RH0SFp3bRt3z8mtjoFWkZZqJV/RsKETGDsu9PTSCtQi7tZjYF7tbS+HUqk3x3zZ0dICI4beXGbmu7aBsF0kJq6Mb6Q6Pt6h2p54vX5uJfLkfuJ5JRdTPHQ4TZsElfFtvMksfNCM1ztv+FGaLsUWHTZOzCv04l/jSaMokmigxxMdVYm+GDVg9fQxzeFz8S537lJAX72pU+H8Z/08qjwCucbWQa5RkkUnu8WtBukQtWDZ7XL/GykNa9UFa2iIx8TWY720dZihapWyppvNhgn6Q53+3k98pD6/56q3o0cNZG3mtupQhYhpk5eXqQjej/5xlGFU+EwRktIXOHPh5EWnOive+70HQwa6zV8leEovLo9eO1ZSRcdn1kt50vxnnHMU87jI5EmL0C7FlfDJUeitG8E0sXPJzDsXXt4bDh+GPy+TH6kKQQc0hM55D3kkgqCEbiJIvb5u8sHENzCrHpSbIxPVxBrt0z2QJMhhAMg0ClNtSoBbUkkCz08d+RQxKphCUPhJRCoOj2bGaF/5p33pqOnbh5+NK0TNEzXot0CsS7o8yjwF1jTfX1didYrYQZeJLyfqTxeZOI0VNmTZGnVHZJOtmL2LOloZFy/b+4xjnFqzpw7sQaEpdNx/pW5ZFzVlUaK4UbLqtJoPhqhib16JB0SDKWw+bl+D6Mtq8PYWRJ3BjjQtrBaTV8qA9yVmFUmQokrHDYRAqBc21tEDzu+1jnNe9jby2AsW+hxdJL6K4ca4dSa10u610zlDKL1qYVG8OV+PwSV1iucx1YvBsh/YnHVv8cHgrTttWfwe3QcvlIcsGiljxRurH8fKrclaIthpjkNJqfkapjDgYHpHiEvj3h2dif1nHkVB9c/v4i5yjORNKpT5ezeDUfF6soaG4NosKlbdQTSkOYXjZmBJPKEgbWkq/YPT/Kcs9fPl1K0XNktAKZinElLUMJwKRVt+utPISTAx0Aw1ZV1A58WSXUdA6kliPZMvWt6TWahnxiq199RqkcqzmIixHIXhiDNEcY8ief1cXTlcEUtEmhCJtNta/zahIaqSMc5R4s4tVg2nQTj2TLnXbGUStpz3GVssyhzv9cqjbQuYtLGqAkaDxbGRDaVXbcrrsglL0WmItebvkrdQ5Ju1CZlyug/K+aGTOsiJAVXV9PE0a2GJpt3Zoe5pKenF9WnMdwP9wGOrEtoWjutFrVYiWhTpKiQM7WEI4iI8O53C+WPKMoz3H/6HP/m9y25Rf74k8g39kThaZ1PVoOgbqAmpUZrCZWJVHfW3z4M2xXmGruenliTvWP0Y20r3AqGado+LIfrsKB+L9L2dXHooaUrOnKjOQ4K9sG5Xcx6jsVgWw98dk7s4dCtdBhKSa5vs6ywqeufgVk8dGb5jnZhZwqAwV65yMJkObWjR9Es2Z2f/1yZdsyyYatj6pX3s+yNGRkNtjdovf1hooJ4eMbHTLq+686xRGrwDYKkn59spKahOvLRkZepiaVGLk6yfFVmUCZOJWFQLvQJBHoXA5ta3zxpx5VsCfm8wyU4qs39THq46A",
                  "vkey": {
                    "k": "CnClsOIy3wMeZINwcs18hvyHcTNacB1022OowmxPNGv2Rx+ObOXUZvuGCj6VwRbMXvQnfdX3/4t3leJUaIuS55tQruVtQEm6uHkWCGqVVREIeHnbBxHV/WTGoplE9EaiW1YkprylwAzBsbmdEQpLIfphcsuontzfkwDXRatg0I7E3LEFLNAgZfOEj00DFirbdbkAdhG6J8HsIO+OGijkHGnTJW3yQLvtIj5GPgrkQLNMySmTLUJSRaJhSxLZY4NBZIav1tgAcpOKT2rhXQY4OeaBnFMIhmr/1XGLqj86MmMWm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15wedi66U0Tv+zbMomiiFPpH/JqEoYi5O7nQ2kBub1vlHVWBnz04yZNps1QiHVpRJFeaW3dtMDooJbxb4PCqIShJAISTUk+Rg3rRhgRI6+tlJH03iEIMCmrWJxFmWWe0QnZHn5UjKOvS1+nxeImT2JNXrD4QSCrpDMJ8FDRIotm8WIzTdywUbyXuTynhS2azUf/DhIQSDPIKZrgNQTU9ZaFYbzOEzOhIzOTPDZoD4p8mFLfgOWHHVVFGzd+q1+qZMvaPyqXWJ4WekEcZH2VxwG2EfEhrlUo/4DJFQrbCJ7FXHim6AcWZ1ghhbARmZneuCKJK30LKybdGpcLwLRohu5g+RMSdxAXCvnecihmLrAO5NoK/Azaptisn8UIlIfM3bDCvTSh3DgM/h9xyccmT8qqNDnc/1aSA2GWTUmUqvMEY8bLrtkjkkPhwJKRhadEyIeqwQwW7aYaJUbyQ6rsLxAEhiabEKx8qotDLEnPDQyvGGcor22g/so23iAFvLMkXJ9gkHmGkFePE2+8sTvGzfgIUrAmh47zeJaZhFhcarh2FehLDUm5NdBgLImePHR1C30h/SmZDpX6JzwHBigA+R9lOikahymqWVGi2hf9GoU57AsHxdxTbw4+S/cN/AAKroEAaW2Bzt3m/WiXeQ1KiPnKaDa2McUADqEoXffUou7uIVw7UavdfDN+NFaDItAwWBGQsquXEl7eBT2kN4sdWivswzde8T3qpGVcYWZOOVWix131+aDErZ+Q+QU0lg2oZ102NRVLuhNCrxFKT2SUIfl37tsNST7XVGVP4XrFX5rT6ZaROtEYzB0WU/y8K7VUxDb6x0Ri7Gh/sGcIcFODLjg/QX2Uh6PmlgMjiWgWGXA5jGy/fIQPB4xUZbrIEfTtqQEAab1Z7MdepXo7glWZrndmW7CCE2d8nU81EKZ7ty1cuguHLGIYWmfRp/ilIuLiiFhMme45ClAfPzctbQciKSwygcsFq9E/DuVrQ9kVKlrq1LO42ZusmKLC6Y="
                  }
                }
              }
            },
            "0": {
              "p": {
                "p": {
                  "cmt": "id78YBFD7gl5iniUJmrFX4Zq2iWaFbvqfDEyXOhM1ODxmVrsXeg1PNP/x1w31QiJoqZkkIUsJDRJnmvj4NJTMA==",
                  "lf": 256
                },
                "w": 4000020000000000
              },
              "s": {
                "s": {
                  "idx": 2,
                  "prf": {
                    "hsh": {
                      "t": 1
                    },
                    "pth": [
                      "xAJq2a/VHO044mbb0ffVix18vNcaGY41Vl8tW+HT13pBfp9Sv5Vj+sHqRMK99oF5NwIiE3icDdh6XY/guxtMuw==",
                      "fEQO1oJjA5vbJfLObHBSMCzjbCC86uiYI5CCuorh7E4BeE9RdUcbdjVA5UaC8r3jzZv9lyOyReUv6UAIn7o7qg==",
                      "53gd0n3OKUOrarMpmRvryPO0qZjouysPOTunCcSRvQtmAGSzvYCYFjblFevtsrPUKXnr4paVew2WmGokYHUW9Q==",
                      "eFm0NbBZZbZt79bKranU9QABRqeuXh8I8G/j6Fz6blDMMBl/ZJLHSLPEiVe4RD3VJzwV87+x4yu4a3t6gAnkrQ=="
                    ],
                    "td": 4
                  },
                  "sig": "ugB5kmml+p3OT2CTyptlHbu4StA4uMw18AmTGSjOHby//nkdxyQKLAGGWCUMh97xgeiNo48bWTg7qZWXP+/KHQlVOhJSsEZvUEejaBiFiXdZEcfDnMdNy8CjpvG76mmlMTiEaRuNorePq4OXMuRK0XFvIVZ7FStnkXLoaBk3IHm8nAOX9ONzEIm/jmVKyQ50ruDUKcsJrZXkkrSfcuTMPRGktZDftS0dl3whEj67KHLf7vO3MVmTgi94iDBjPMswf+m6fWVnjmKlwlb8PAG3EkRrBocQdUuJv1i0akuXtznVKaaccJ2kWGkTK/xB0Gj01u97hrLtne3hNY+rbicjc/hT2tju8fJOY01BCzgpMauHpPSKDMo/01dgHv+E/0KYtLRT12byyWNxh5F6mCYYjDxiopJZM8JhA8+yyGerBpckNXLMmmPcR7ICTV18Rrt/bA0jXKcY1gik+VH4ahh2G97cwZDOW11+7WGZbnmdjoYa5mGJRlnmamJkWuZ7cp/bD3tJmrnLSnKO4b6aGMCBnPJVo4PgmF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TD6TZqgqcSqxNfGwQHPXX45JEvNK7SZASdKKSM0MfGBKB0EHMbLUGuS9VFG2BpqZ6iBmWPVysAuJmBQRLScSDNERPMtkWtBSXCDHh0PKSaY8m1uvV3yGPoAY6J2veerHAzqddLv8D8rariI7zsBVDOOxpuXKktEMFFjM9Xf1glcBetu4ZW8EAyorOhBueDJyZQP6DqwsRBogWabrH+ywdr1Fs3dp3dt2Rc6elOKEEew9ACpZaO7UIJKQ1XtI4G6dwoyQl+k+AnBRl97b9Ab4bSqe0JO4GknLmU="
                  }
                }
              }
            }
          },
          "w": 5000025000000000
        },
        "spmsg": {
          "P": 2290107,
          "b": "XFO2T1GjpygVUzju8poh0fuXT48g0/A7JDNUW+aafyk=",
          "f": 257,
          "l": 512,
          "v": "cqjSbA966GUMfzE1ymQHzC3r2exCjTxIiwj4pdUwNEq7I6NZAhjzl4hrM387+dVC3+haHdWwMhS4oG28apxzmw=="
        },
        "type": "stpf"
      }
    }
  ]
}
@winder winder added new-bug Bug report that needs triage Team Lamprey labels Feb 15, 2023
@algoanne algoanne added bug Something isn't working and removed new-bug Bug report that needs triage labels Apr 18, 2023
@winder
Copy link
Contributor Author

winder commented Apr 20, 2023

Investigation required: what exactly is wrong with the state proof response?

The EXPECTED output includes block and cert as top level data. The ACTUAL output is just a block.

The blocks endpoint only includes block data in JSON responses, so this might be a mismatch in the type definition for JSON/MSGP formats.

More investigation needed to propose a solution.

@winder winder changed the title Cucumber test unit.stateproof.responses.msgp does not work properly. Cucumber BLOCK test unit.stateproof.responses.msgp does not work properly. Jun 7, 2023
@winder
Copy link
Contributor Author

winder commented Jun 7, 2023

Additional block tests failing due to state proof messages (but for different reasons):

  • @unit.responses.statedelta
  • @unit.responses.txngroupdeltas
          "spt": {
            0: {
              "n": 23963136
            }
          },

These have a number as key field which causes mismatches. These errors are likely related to the testing framework, where the previous block/cert issue is a design issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team Lamprey
Projects
None yet
Development

No branches or pull requests

2 participants