Skip to content

Commit

Permalink
install metadata module with delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Feb 6, 2025
1 parent 087f6c3 commit ea9add5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/cli/src/deploy/ensureResourceTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ export async function ensureResourceTags<const value>({
});
if (pendingTags.length === 0) return [];

// TODO: check if metadata namespace exists, if we own it, and if so transfer ownership to the module before reinstalling
// (https://github.com/latticexyz/mud/issues/3035)
const moduleTxs = await ensureModules({
client,
deployerAddress,
Expand All @@ -85,7 +83,7 @@ export async function ensureResourceTags<const value>({
{
optional: true,
name: "MetadataModule",
installAsRoot: false,
installStrategy: "delegation",
installData: "0x",
prepareDeploy: createPrepareDeploy(metadataModuleArtifact.bytecode, metadataModuleArtifact.placeholders),
deployedBytecodeSize: metadataModuleArtifact.deployedBytecodeSize,
Expand Down

0 comments on commit ea9add5

Please sign in to comment.