diff --git a/src/identity/main.cairo b/src/identity/main.cairo index 577700b..dad3de6 100644 --- a/src/identity/main.cairo +++ b/src/identity/main.cairo @@ -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); - } } } diff --git a/src/interface/identity.cairo b/src/interface/identity.cairo index 3af15e8..1327d02 100644 --- a/src/interface/identity.cairo +++ b/src/interface/identity.cairo @@ -60,8 +60,4 @@ trait IIdentity { fn set_extended_verifier_data( ref self: TContractState, id: u128, field: felt252, data: Span, domain: u32 ); - - fn migrate( - ref self: TContractState, token_uri: ByteArray - ); }