Transaction submit error on Testnet for time-locked policy script

I found the answer. In the build transaction, an additional parameter should be added:

--invalid-hereafter 24028537

This should be the same value entered in the policy script under the before section for the slot.

The question remains however is what parameter should be we use if we have multiple optional conditions, for before and after.

8 Likes