Skip to content

Commit

Permalink
Simplify tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed Dec 13, 2024
1 parent f7ced54 commit dd03e1f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions deweb-index/assembly/contracts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import { i32ToBytes, stringToBytes } from '@massalabs/as-types';
import { Address, Storage } from '@massalabs/massa-as-sdk';
import { OWNER_KEY } from '@massalabs/sc-standards/assembly/contracts/utils/ownership-internal';

export const INDEX_BY_OWNER_TAG = stringToBytes('\x00INDEX_BY_OWNER');

export const WEBSITE_ADDR_TO_OWNER_TAG = stringToBytes(
'\x00WEBSITE_ADDR_TO_OWNER',
);
export const INDEX_BY_OWNER_TAG = stringToBytes('\x00');
export const WEBSITE_ADDR_TO_OWNER_TAG = stringToBytes('\x01');

const OWNER_MAX_LENGTH = 100;

Expand Down

0 comments on commit dd03e1f

Please sign in to comment.