From ffd495bd895b64bc920d102cfbf3e32190967b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Tue, 22 Aug 2023 18:41:10 +0200 Subject: [PATCH] Increase gas in call_options_overload test to make it pass on homestead - After the test framework changes it fails via Yul on Homestead but passes on all other EVM versions and on legacy. The test itself does not seem to be testing these specific numbers so and increasing them resolves the problem. --- .../semanticTests/functionCall/call_options_overload.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/libsolidity/semanticTests/functionCall/call_options_overload.sol b/test/libsolidity/semanticTests/functionCall/call_options_overload.sol index 5e889e925..b9eb6ca42 100644 --- a/test/libsolidity/semanticTests/functionCall/call_options_overload.sol +++ b/test/libsolidity/semanticTests/functionCall/call_options_overload.sol @@ -3,9 +3,9 @@ contract C { function f(uint x, uint y) external payable returns (uint) { return 2; } function call() public payable returns (uint v, uint x, uint y, uint z) { v = this.f{value: 10}(2); - x = this.f{gas: 1000}(2, 3); - y = this.f{gas: 1000, value: 10}(2, 3); - z = this.f{value: 10, gas: 1000}(2, 3); + x = this.f{gas: 10000}(2, 3); + y = this.f{gas: 10000, value: 10}(2, 3); + z = this.f{value: 10, gas: 10000}(2, 3); } function bal() external returns (uint) { return address(this).balance; } receive() external payable {}