64 TestCompactProofs::addPrefilledProof(
66 TestCompactProofs::addPrefilledProof(
67 cp, std::numeric_limits<uint32_t>::max(),
73 auto prefilledProofs = TestCompactProofs::getPrefilledProofs(
cp);
78 std::numeric_limits<uint32_t>::max());
94 TestCompactProofs::addPrefilledProof(
98 auto prefilledProofs = TestCompactProofs::getPrefilledProofs(
cpw);
113 return lhs.index ==
rhs.index &&
114 lhs.proof->getId() ==
rhs.proof->getId() &&
115 lhs.proof->getSignature() ==
rhs.proof->getSignature();
123 auto shortIds = TestCompactProofs::getShortProofIds(
cpr);
153 TestCompactProofs::addPrefilledProof(
155 TestCompactProofs::addPrefilledProof(
160 HasReason(
"differential value overflow"));
166 TestCompactProofs::addPrefilledProof(
168 TestCompactProofs::addPrefilledProof(
173 HasReason(
"differential value overflow"));
179 TestCompactProofs::addPrefilledProof(
180 cp, std::numeric_limits<uint32_t>::max(),
182 TestCompactProofs::addPrefilledProof(
187 HasReason(
"differential value overflow"));
199 HasReason(
"ReadCompactSize(): size too large"));
213 HasReason(
"ReadCompactSize(): size too large"));
231 HasReason(
"ReadCompactSize(): size too large"));
236 uint64_t(std::numeric_limits<uint32_t>::max()) + 1;
267 HasReason(
"differential value overflow"));
294 HasReason(
"indexes overflowed 32 bits"));