this PR adds another check to the contractor's SetAllowance method which checks of the consensus set is synced before attempting to set an allowance.
require consensusset to be synced to set allowance
Is there an easy way to test this?
could be done with a mocked consensus set.
Interestingly, the fact that none of the integration tests failed means that the contractor is synced in all of them.
I think we are pretty careful about that actually