Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(world): add namespaceLabel to system config #3057

Merged
merged 11 commits into from
Aug 23, 2024
Prev Previous commit
Next Next commit
add to cli
  • Loading branch information
holic committed Aug 22, 2024
commit 543dbb0bce02734a7a6926db17f877170b7a45c6
7 changes: 6 additions & 1 deletion packages/cli/src/deploy/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,24 @@ export type Library = DeterministicContract & {
};

export type System = DeterministicContract & {
// labels
readonly label: string;
readonly namespaceLabel: string;
// resource ID
readonly namespace: string;
readonly name: string;
readonly systemId: Hex;
// access
readonly allowAll: boolean;
readonly allowedAddresses: readonly Hex[];
readonly allowedSystemIds: readonly Hex[];
// world registration
readonly worldFunctions: readonly WorldFunction[];
};

export type DeployedSystem = Omit<
System,
"label" | "abi" | "prepareDeploy" | "deployedBytecodeSize" | "allowedSystemIds"
"label" | "namespaceLabel" | "abi" | "prepareDeploy" | "deployedBytecodeSize" | "allowedSystemIds"
> & {
address: Address;
};
Expand Down
Loading