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 { 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) {