mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Bump gas value.
This commit is contained in:
parent
52ed9415a3
commit
21840016c5
@ -3,9 +3,9 @@ contract C {
|
|||||||
function f(uint x, uint y) external payable returns (uint) { return 2; }
|
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) {
|
function call() public payable returns (uint v, uint x, uint y, uint z) {
|
||||||
v = this.f{value: 10}(2);
|
v = this.f{value: 10}(2);
|
||||||
x = this.f{gas: 1000}(2, 3);
|
x = this.f{gas: 10000}(2, 3);
|
||||||
y = this.f{gas: 1000, value: 10}(2, 3);
|
y = this.f{gas: 10000, value: 10}(2, 3);
|
||||||
z = this.f{value: 10, gas: 1000}(2, 3);
|
z = this.f{value: 10, gas: 10000}(2, 3);
|
||||||
}
|
}
|
||||||
function bal() external returns (uint) { return address(this).balance; }
|
function bal() external returns (uint) { return address(this).balance; }
|
||||||
receive() external payable {}
|
receive() external payable {}
|
||||||
|
Loading…
Reference in New Issue
Block a user