Commit Graph

21836 Commits

Author SHA1 Message Date
Daniel Kirchner
04bcd01b0d Add Changelog entry about packed soljson.js. 2022-02-14 17:49:07 +01:00
chriseth
6c36638624
Merge pull request #12616 from ethereum/missingOverrideRequirement
Fix missing override errors when indirectly inheriting interfaces.
2022-02-14 17:40:05 +01:00
chriseth
7c0ac95816
Merge pull request #12265 from ethereum/packedSoljson
Packed soljson.js
2022-02-14 17:26:31 +01:00
Daniel Kirchner
3a201ec0f8 Build packed soljson.js. 2022-02-14 16:52:59 +01:00
Daniel Kirchner
6895972d04 Adjust mini-lz4.js and base64DecToArr.js. 2022-02-14 16:52:53 +01:00
Daniel Kirchner
a68183db3c Add base64DecToArr.js. 2022-02-14 16:52:53 +01:00
Daniel Kirchner
a2a5ca6fef Add emscripten's mini-lz4.js. 2022-02-14 16:52:53 +01:00
Daniel Kirchner
c47da51eab Consider all grandparents in override analysis. 2022-02-14 15:31:31 +01:00
Daniel Kirchner
d29709e741
Merge pull request #12662 from ethereum/ubsanDisableSMT
Disable running smt tests in ubsan runs.
2022-02-14 13:58:52 +01:00
Daniel Kirchner
3b6c99f3e8
Merge pull request #12572 from ethereum/fixStackShuffling
Improved stack shuffling in corner cases.
2022-02-14 13:00:56 +01:00
Daniel Kirchner
5c67d7d8e3 Disable running smt tests in ubsan runs. 2022-02-14 11:48:56 +01:00
Daniel Kirchner
88f624c352
Merge pull request #12660 from amsavarthan/patch-1
Highlighted "revert" command
2022-02-14 11:40:47 +01:00
Daniel Kirchner
85d3ddc169
Merge pull request #12661 from ldfp/patch-1
Solve issue 12658 ; Solving wrong syntax.
2022-02-14 11:24:55 +01:00
Laurent
1188795449
Solve issue 12658 ; Solving wrong syntax.
Solve this issue : https://github.com/ethereum/solidity/issues/12658
2022-02-13 17:32:09 +01:00
Amsavarthan Lv
e3ebcd63cf
Highlighted "revert" command
When reading through the documentation, I found that highlighting was missed for the revert command and added that.
2022-02-13 15:17:37 +05:30
Daniel Kirchner
1210c3e60f
Merge pull request #12628 from nishant-sachdeva/adding_functiontype_string_and_allow_string_concat_operations
Added support for FunctionType::Kind::StringConcat
2022-02-10 19:20:29 +01:00
nishant-sachdeva
276851ff91 Added support for FunctionType::Kind::StringConcat and functions string.concat 2022-02-10 22:08:47 +05:30
chriseth
f1be7e1e23
Merge pull request #12652 from ethereum/moveTest
Move stray semantics test to proper directory.
2022-02-10 14:13:10 +01:00
Daniel Kirchner
290b9326e3 Move stray semantics test to proper directory. 2022-02-10 13:43:49 +01:00
chriseth
4aac962155
Merge pull request #12638 from fulldecent/storage-layout-compatability-mode
Note about storage compatibility mode
2022-02-10 10:20:15 +01:00
William Entriken
c6c7f3525d Note about storage compatability mode 2022-02-09 21:30:11 -05:00
chriseth
5539a745df
Merge pull request #12548 from joshieDo/other-signatures
Add event and error identifiers to --hashes
2022-02-09 16:06:57 +01:00
Marenz
46075d04d9 Include used events in `--hashes` output 2022-02-09 13:50:42 +01:00
chriseth
85103626ad
Merge pull request #11896 from yatharthagoenka/ci-config
Simplifying CircleCi Config: Job aliases
2022-02-09 10:26:37 +01:00
yatharthagoenka
bdf84c991f Ci: parameterize the clang sanitizer jobs 2022-02-08 20:11:04 +01:00
Kamil Śliwak
bce5f9e0da CI: Store all artifacts in steps_build so that we can use it for b_ubu 2022-02-08 20:11:04 +01:00
yatharthagoenka
0f05b1485e CI: shared build and dependency installation steps 2022-02-08 20:11:04 +01:00
Marenz
3e7c68d9b0 Merge identifier query methods into one 2022-02-08 17:44:21 +01:00
joshieDo
9e62f21b25 Add event and error identifiers to cli hashes cmd 2022-02-08 17:44:21 +01:00
chriseth
5c3bcb6c2d
Merge pull request #12434 from ethereum/outputLocations
Output searched locations on import failure.
2022-02-08 17:16:46 +01:00
joshuatarkwski
6225dad332 Output searched locations on import failure. 2022-02-08 16:20:27 +01:00
chriseth
91b7d5fe5d
Merge pull request #12642 from ethereum/remove-solidityfixedfeeregistrar-ref
Remove a reference to unused SolidityFixedFeeRegistrar (retry)
2022-02-08 13:32:05 +01:00
Kamil Śliwak
28bc5db576
Merge pull request #12598 from a3d4/case-insensitive-root-in-normalizeclipathforvfs
Treat root path in normalizeCLIPathForVFS as case insensitive on Windows
2022-02-08 13:17:05 +01:00
Kamil Śliwak
122ad0770a
Merge pull request #12632 from a3d4/symlinks-on-windows
Clarify symlink handling on Windows
2022-02-08 13:16:24 +01:00
chriseth
0e93456e30
Merge pull request #12633 from ethereum/hardhat-on-nodejs-16
Always run Hardhat on node.js 16
2022-02-07 16:59:42 +01:00
Mathias L. Baumann
c139d39b9b
Merge pull request #12589 from ethereum/emit-immutable-references
Emit immutable references for pure yul code
2022-02-07 13:21:44 +01:00
chriseth
d744c0d617
Merge pull request #12637 from Hakeemmidan/patch-1
Update docs/cheatsheet.rst
2022-02-07 13:04:43 +01:00
chriseth
a9b9170a1b
Merge pull request #12636 from fulldecent/patch-25
Fix signature of pop member
2022-02-07 13:03:51 +01:00
chriseth
7ab4ee1b25
Merge pull request #12623 from theNvN/develop
plain `address` can be sent Ether too
2022-02-07 12:45:30 +01:00
Naveen Sahu
2e2094ad82 plain address can be sent Ether too
The docs state that a plain `address` cannot be sent Ether. But even though `send` and `transfer` members are not available for plain `address`, the `call` is. And `call` can be invoked upon a plain `address` type to send Ether to the address.

For instance, the `someone` (`address` type) can be sent Ether by invoking `sendSomeone()` method in the following `Dummy` contract:

```
contract Dummy {
    address someone = 0xAb8...cb2;

    function balanceOf(address addr) public view returns (uint) {
        return addr.balance;
    }

    function sendToSomeone() public payable returns (bool) {
        (bool sent, ) = someone.call{value: msg.value}("");
        return sent;
    }
}
```
2022-02-07 12:44:21 +01:00
chriseth
6a7da2104f
Merge pull request #12626 from nishant-sachdeva/allowing_string_concat_operations
removed comment from Types.h after previous PR rendered it incorrect
2022-02-07 12:40:23 +01:00
Marenz
b9fe628b70 Emit immutable references for pure yul code 2022-02-07 12:32:54 +01:00
chriseth
5dc7a38449
Merge pull request #12640 from ethereum/reenablepooltogether
Re-enable preset for poolTogether.
2022-02-07 12:29:13 +01:00
chriseth
4715fafb82 Re-enable preset for poolTogether. 2022-02-07 11:31:59 +01:00
Daniel Kirchner
6b8654384c
Merge pull request #12625 from shuklaayush/patch-1
Docs: fix slot calculation for mappings of strings/byte arrays
2022-02-07 10:54:05 +01:00
Hakeem Almidan
c3145979fc
Update cheatsheet.rst
Add more description to the bullet point of 'block.timestamp' (under 'Global Variables')
2022-02-06 20:16:04 +03:00
William Entriken
6bd38aa4ef
Fix signature of pop member 2022-02-05 23:59:09 -05:00
a3d4
a0dd2cd1ff Remove a reference to unused SolidityFixedFeeRegistrar 2022-02-05 15:14:18 +01:00
a3d4
0a17495cf9 Treat root path in normalizeCLIPathForVFS as case insensitive on Windows 2022-02-05 11:51:11 +01:00
a3d4
7634fc4ea9 Clarify symlink handling on Windows 2022-02-05 03:44:54 +01:00