Skip to content

Vault#155

Open
fatalbatros wants to merge 3 commits intomasterfrom
vault
Open

Vault#155
fatalbatros wants to merge 3 commits intomasterfrom
vault

Conversation

@fatalbatros
Copy link
Contributor

No description provided.

interface DeployOpParams {
owner: bigint;
tag: bigint;
auditorKey: StarkPoint | undefined;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it "auditorKey?: StarkPoint"

export interface DeployDetails {
owner: string,
tag: string,
auditor: PubKey | undefined,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Unless you want the user to explicitly set "auditor: undefined", you should mark the property as optional instead (auditor?: PubKey)

Copy link
Contributor Author

@fatalbatros fatalbatros Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a contract is deployed without auditor it cannot be changed after. So we want for the user to explicitly set "auditor:undefined" in the deploy state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants