Hi, I have the question regarding pre-verified con...
# pactflow
t
Hi, I have the question regarding pre-verified contracts. I have the following situation: • My provider with version
P1
was verified with
C1
and the verification was successful. Provider with
P1
version was deployed to
prod
. • Then a new contract with
C2
version was published on a consumer’s side. But the
C2
contract is identical to
C1
contract, no discrepancies there. • I would expect that contract between
C2
and
P1
would be pre-verified automatically, since no changes in the contract were done. However, in my case this verification is missing (please see a screenshot of my matrix). Do you have any ideas why contract between
C2
and
P1
wasn’t pre-verified?
m
If it’s not pre-verified, it could be because of dynamic variables changing the hash of the contract
t
if there is no diff then the response body should be empty?
I am asking because I tried to see the difference and I don’t see the difference 🤔
🤔 1
however, the response body is not empty…I started to think maybe formatting changed 🤔
🤔 1
m
hmmm it seems to think something has changed, but it certainly doesn’t look that way!
this up arrow 1
It would be interesting for you to generate the contract locally, and copy the file, and then generate it again and run a local
diff
t
and run a local
diff
Can it be done with HAL browser?
m
A diff between two pacts can, yes. But to rule out funkiness in the broker, I was suggesting it might be worth trying locally (on the two features/branches/commits) to see if it did indeed produce a different hash
t
ok, got it. Thank you for your support and ideas! 👍
👍 1