diff --git a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.json b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.json index 3674dde9..1a74d42f 100644 --- a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.json +++ b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.json @@ -1,54 +1 @@ -{ - "error": null, - "issues": [ - { - "address": 626, - "contract": "Unknown", - "debug": "", - "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", - "function": "_function_0x141f32ff", - "swc-id": "104", - "min_gas_used": 1104, - "max_gas_used": 35856, - "title": "Unchecked CALL return value", - "type": "Informational" - }, - { - "address": 857, - "contract": "Unknown", - "debug": "", - "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", - "function": "_function_0x9b58bc26", - "swc-id": "104", - "min_gas_used": 1167, - "max_gas_used": 35919, - "title": "Unchecked CALL return value", - "type": "Informational" - }, - { - "address": 1038, - "contract": "Unknown", - "debug": "", - "description": "This contract executes a message call to an address provided as a function argument. Generally, it is not recommended to call user-supplied addresses using Solidity's call() construct. Note that attackers might leverage reentrancy attacks to exploit race conditions or manipulate this contract's state.", - "function": "_function_0xeea4c864", - "swc-id": "107", - "min_gas_used": 477, - "max_gas_used": 1229, - "title": "Message call to external contract", - "type": "Warning" - }, - { - "address": 1046, - "contract": "Unknown", - "debug": "", - "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", - "function": "_function_0xeea4c864", - "swc-id": "104", - "min_gas_used": 1192, - "max_gas_used": 35944, - "title": "Unchecked CALL return value", - "type": "Informational" - } - ], - "success": true -} +{"error": null, "issues": [{"address": 626, "contract": "Unknown", "debug": "", "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", "function": "_function_0x141f32ff", "max_gas_used": 35856, "min_gas_used": 1104, "swc-id": "104", "title": "Unchecked CALL return value", "type": "Informational"}, {"address": 857, "contract": "Unknown", "debug": "", "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", "function": "_function_0x9b58bc26", "max_gas_used": 35913, "min_gas_used": 1161, "swc-id": "104", "title": "Unchecked CALL return value", "type": "Informational"}, {"address": 1038, "contract": "Unknown", "debug": "", "description": "This contract executes a message call to an address provided as a function argument. Generally, it is not recommended to call user-supplied addresses using Solidity's call() construct. Note that attackers might leverage reentrancy attacks to exploit race conditions or manipulate this contract's state.", "function": "_function_0xeea4c864", "max_gas_used": 1223, "min_gas_used": 471, "swc-id": "107", "title": "Message call to external contract", "type": "Warning"}, {"address": 1046, "contract": "Unknown", "debug": "", "description": "The return value of an external call is not checked. Note that execution continue even if the called contract throws.", "function": "_function_0xeea4c864", "max_gas_used": 35938, "min_gas_used": 1186, "swc-id": "104", "title": "Unchecked CALL return value", "type": "Informational"}], "success": true} \ No newline at end of file diff --git a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.markdown b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.markdown index 98f6e0b2..5f94728c 100644 --- a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.markdown +++ b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.markdown @@ -18,7 +18,7 @@ The return value of an external call is not checked. Note that execution continu - Contract: Unknown - Function name: `_function_0x9b58bc26` - PC address: 857 -- Estimated Gas Usage: 1167 - 35919 +- Estimated Gas Usage: 1161 - 35913 ### Description @@ -30,7 +30,7 @@ The return value of an external call is not checked. Note that execution continu - Contract: Unknown - Function name: `_function_0xeea4c864` - PC address: 1038 -- Estimated Gas Usage: 477 - 1229 +- Estimated Gas Usage: 471 - 1223 ### Description @@ -42,7 +42,7 @@ This contract executes a message call to an address provided as a function argum - Contract: Unknown - Function name: `_function_0xeea4c864` - PC address: 1046 -- Estimated Gas Usage: 1192 - 35944 +- Estimated Gas Usage: 1186 - 35938 ### Description diff --git a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.text b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.text index 9a70b216..6a16d64e 100644 --- a/tests/testdata/outputs_expected/kinds_of_calls.sol.o.text +++ b/tests/testdata/outputs_expected/kinds_of_calls.sol.o.text @@ -14,7 +14,7 @@ Type: Informational Contract: Unknown Function name: _function_0x9b58bc26 PC address: 857 -Estimated Gas Usage: 1167 - 35919 +Estimated Gas Usage: 1161 - 35913 The return value of an external call is not checked. Note that execution continue even if the called contract throws. -------------------- @@ -24,7 +24,7 @@ Type: Warning Contract: Unknown Function name: _function_0xeea4c864 PC address: 1038 -Estimated Gas Usage: 477 - 1229 +Estimated Gas Usage: 471 - 1223 This contract executes a message call to an address provided as a function argument. Generally, it is not recommended to call user-supplied addresses using Solidity's call() construct. Note that attackers might leverage reentrancy attacks to exploit race conditions or manipulate this contract's state. -------------------- @@ -34,7 +34,7 @@ Type: Informational Contract: Unknown Function name: _function_0xeea4c864 PC address: 1046 -Estimated Gas Usage: 1192 - 35944 +Estimated Gas Usage: 1186 - 35938 The return value of an external call is not checked. Note that execution continue even if the called contract throws. --------------------