Skip to content

Commit

Permalink
fix: make perf test seq and remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshiposha committed Oct 2, 2023
1 parent e105d72 commit 5ef5e6b
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ const tryMintExplicit = async (helper: UniqueHelper, signer: IKeyringPair, token
return tokensCount;
};


function sizeOfByteProperty(prop: IProperty) {
return sizeOfEncodedBytes(prop.key) + sizeOfEncodedBytes(prop.value!);
}

function sizeOfProperty(prop: IProperty) {
return sizeOfEncodedStr(prop.key) + sizeOfEncodedStr(prop.value!);
}
Expand All @@ -169,7 +164,3 @@ function sizeOfEncodedStr(v: string) {
const encoded = UTF8_ENCODER.encode(v);
return sizeOfInt(encoded.length) + encoded.length;
}

function sizeOfEncodedBytes(bytes: Uint8Array | string) {
return sizeOfInt(bytes.length) + bytes.length;
}

0 comments on commit 5ef5e6b

Please sign in to comment.