Skip to content

test: minisketch decode returns empty optional  #24664

@omkar-mohanty

Description

@omkar-mohanty

Running src/test/minisketch_test.cpp gives fatal error.

What behavior did you expect?
All tests pass

What was the actual behavior (provide screenshots if the issue is GUI-related)?

./test_bitcoin --run_test=minisketch_tests
Running 1 test case...
unknown location(0): fatal error: in "minisketch_tests/minisketch_test": C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\optional(370) : Assertion failed: Cannot access value of empty optional

How reliably can you reproduce the issue, what are the steps to do so?

  1. Build test_bitcoin project using visual studio 2022.
  2. run ./test_bitcoin --run_test=minisketch_tests

What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)?
compiled src/tests/minisketch_tests.cpp from master branch using msvc compiler from Visual Studio 2022.

What type of machine are you observing the error on (OS/CPU and disk type)?
OS: Windows 10 Home
Disk: 500GB SSD
RAM: 16GB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions