Skip to content

Commit

Permalink
fix: remove migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Apr 25, 2024
1 parent 5ae7faf commit c8734d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/identity/main.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,5 @@ mod Identity {
)
);
}

fn migrate(ref self: ContractState, token_uri: ByteArray) {
self.ownable.assert_only_owner();
self.erc721.initializer("Starknet.id", "ID", token_uri);
}
}
}
4 changes: 0 additions & 4 deletions src/interface/identity.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,4 @@ trait IIdentity<TContractState> {
fn set_extended_verifier_data(
ref self: TContractState, id: u128, field: felt252, data: Span<felt252>, domain: u32
);

fn migrate(
ref self: TContractState, token_uri: ByteArray
);
}

0 comments on commit c8734d2

Please sign in to comment.