diff --git a/apps/contract-migration/scripts/proofs.py b/apps/contract-migration/scripts/proofs.py index 7cdfae33..7ab65e82 100644 --- a/apps/contract-migration/scripts/proofs.py +++ b/apps/contract-migration/scripts/proofs.py @@ -108,27 +108,7 @@ if __name__ == '__main__': write_metadata(token_immutable_proof_writer, token_proof_data) write_to_declarator(contract_address=args.address_declarator, contract_wrapper=contract_wrapper, - proof=identifier, + proof=hashed_token_proof, rpc=rpc, signer_address=args.signer_address, token_address=args.e) - - hashed_token_proof = hash_proof(args.token_symbol.encode('utf-8')) - identifier = bytes.fromhex(hashed_token_proof) - token_immutable_proof_writer = MetadataRequestsHandler(cic_type=MetadataPointer.NONE, identifier=identifier) - write_metadata(token_immutable_proof_writer, token_proof_data) - write_to_declarator(contract_address=args.address_declarator, - contract_wrapper=contract_wrapper, - proof=identifier, - rpc=rpc, - signer_address=args.signer_address, - token_address=args.e) - - - - - - - - -