Merge: contracts: fix usage of contract with `--erasure`