-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Overview
In Starlight we do no support array reassignment for secret variables. This should be made clear in the documentation and an error message should be output explaining this.
Tasks
Describe the solution you'd like
- Add that this isn't supported to the Status.md and readme documents.
- Output a error message for the contract below, explaining that array reassignment isn't supported.
// SPDX-License-Identifier: CC0
pragma solidity ^0.8.0;
contract TokenMetadata{
secret uint256[] encodedTokenMetadata;
function setPrivateMetadata(secret uint256[] calldata inputMetadata) public {
encodedTokenMetadata = inputMetadata;
}
}
Definition of done
When is this task complete?
It should be clear that array reassignment is not supported in starlight.
Metadata
Metadata
Assignees
Labels
No labels