From a2a8e6c6342d63c00aee5ae2e404b3566a5dba36 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 12 Jul 2022 00:12:20 +0200 Subject: [PATCH 1/2] typo --- testing-items/2-access-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing-items/2-access-control.md b/testing-items/2-access-control.md index 817efc5..9da5722 100644 --- a/testing-items/2-access-control.md +++ b/testing-items/2-access-control.md @@ -10,7 +10,7 @@ Access control is the imposing of policy by preventing users from acting beyond Check if there’s any function that invokes the `selfdestruct` instruction, and if there is, make sure that the function can only be called by the authorized parties only under necessary circumstances -This can be done by searching for all functions with `selfdestruct` or `suicide` opetion in the contract, and check the access control for the function, if unauthorized actors can execute the function, it is vulnerable, for example: +This can be done by searching for all functions with `selfdestruct` or `suicide` option in the contract, and check the access control for the function, if unauthorized actors can execute the function, it is vulnerable, for example: ```solidity contract Storage { From b14afc3517ca1c9a813ddaf5f183b4dbc64f1f50 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 12 Jul 2022 14:18:06 +0200 Subject: [PATCH 2/2] typo --- testing-items/5-blockchain-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing-items/5-blockchain-data.md b/testing-items/5-blockchain-data.md index 05c2a84..1ed12a3 100644 --- a/testing-items/5-blockchain-data.md +++ b/testing-items/5-blockchain-data.md @@ -32,7 +32,7 @@ Price oracle can be implemented by fetching the real-time on-chain data from a d Check that the price data used is not a spot price which can be easily manipulated. -The use of spot price can be found by searching for the use of reserves to calculate the price. This includes the use of the `getAmontOut()` function. +The use of spot price can be found by searching for the use of reserves to calculate the price. This includes the use of the `getAmountOut()` function. ```solidity function getPrice() external returns (uint256) {