From f871aa83d2fe4c0121de738820eb01fcca55c6d8 Mon Sep 17 00:00:00 2001 From: Miles <2627273987@qq.com> Date: Thu, 7 Mar 2024 18:01:42 +0800 Subject: [PATCH] update readme and fix issues --- docs/SecurityCheck.md | 6 +++--- examples/manta/scripts/changeFeeParams.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/SecurityCheck.md b/docs/SecurityCheck.md index 57f2181..4a0bfdc 100644 --- a/docs/SecurityCheck.md +++ b/docs/SecurityCheck.md @@ -16,7 +16,7 @@ T2 - Use fixed compiler version to compile contract (SWC-103) T3 - Check for correct inheritance, keep it simple and linear (SWC-125) -T4 - Constructor should not be exsited in proxyed contract +T4 - Constructor should not be existed in proxyed contract T5 - Right-To-Left-Override control character not used (SWC-130) @@ -136,7 +136,7 @@ A4 - Does msg.sender has the authority to move token of other addresses? A5 - Use the balance difference as the amount when non-standard token deposit in or withdraw out of contract -A6 - Is there a possiblity that tokens can not be retrieved? +A6 - Is there a possibility that tokens can not be retrieved? A7 - Is code is still correct if the token contract is upgradable? @@ -150,7 +150,7 @@ O2 - Use TWP of onchain oracle O3 - The price of LP is correct? -O4 - Is there a possiblity that lend a large amout of low-value token and manipulate its price to borrow a high-value token? +O4 - Is there a possibility that lend a large amount of low-value token and manipulate its price to borrow a high-value token? ## Reference diff --git a/examples/manta/scripts/changeFeeParams.js b/examples/manta/scripts/changeFeeParams.js index b3ed8fc..a40a1ed 100644 --- a/examples/manta/scripts/changeFeeParams.js +++ b/examples/manta/scripts/changeFeeParams.js @@ -98,7 +98,7 @@ task('changeFeeParams', 'Change fee params for zkLink').setAction(async (taskArg console.log(`The tx hash: ${txHash}`); /** - * Query the message informations on L1 via txHash. + * Query the message information on L1 via txHash. */ const message = (await messenger.getMessagesByTransaction(txHash)).pop(); console.log(`The message: ${JSON.stringify(message)}`);