You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
How to deterministically define to which transaction the contract is committed: there is no field inside the contract to point to that address
At this moment asset issuing transaction is external to contract commitment transaction, at least contract header contains the full issuance_utxo address, and nothing prevents the contract creator to commit to other than issuing transaction, while the assets will be assigned to an existing transaction.
These parts must be improved, at least some rationale behind the design has to be provided
The text was updated successfully, but these errors were encountered:
We discussed this issue with @giacomozucco and came to the following proposal:
Contracts should be allowed to issue assets to an UTXO outside of the commitment tx
The moment of the contract commitment is the moment of the asset issuance. Assets are assigned at this point to the issue_utxo
Commitment tx should be added as a field into the contract header, but it can participate in the commitment itself (i.e. is not a part of the contract hash).
Since (according to Design proper multi-asset proof specs #87) asset_id "commits" to the contract commitment tx it serves as a protection from multiple contract deployments, since each contract deployment will result in a different set of the issued asset_ids
From the current spec it is unclear:
issuance_utxo
address, and nothing prevents the contract creator to commit to other than issuing transaction, while the assets will be assigned to an existing transaction.These parts must be improved, at least some rationale behind the design has to be provided
The text was updated successfully, but these errors were encountered: