Commit Graph

161 Commits

Author SHA1 Message Date
Harikrishnan Mulackal
bb2faf5e49 Updated docs 2020-07-13 19:54:22 +05:30
Harikrishnan Mulackal
6b435b2192 solidity-upgrade: added module to remove visibility of constructors 2020-07-08 18:57:20 +05:30
chriseth
479d7a059f Documentation. 2020-07-07 12:16:18 +02:00
chriseth
8155ad2187 Merge remote-tracking branch 'origin/develop' into breaking 2020-06-15 17:11:41 +02:00
a3d4
b17915a6ba Add error IDs to JSON 2020-06-10 13:26:51 +02:00
chriseth
c8b9d24eba
Merge pull request #9106 from ethereum/develop
Merge develop into breaking.
2020-06-03 13:51:28 +02:00
Christian Parpart
09485058d8 Adds `--base-path to solc when compiling in --standard-json mode for resolving relative paths. 2020-05-27 16:23:03 +02:00
chriseth
257bc6a416 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-14 13:04:46 +02:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
Harikrishnan Mulackal
92cf61d4f9 fixed compilation tests and upgraded ext. tests branch 2020-05-05 21:11:15 +05:30
Harikrishnan Mulackal
aed6c22318 solidity-upgrade can now change now to block.timestamp 2020-05-05 21:11:15 +05:30
chriseth
ecbf216354 Merge remote-tracking branch 'origin/develop' into breaking 2020-05-04 18:46:45 +02:00
Kamil Śliwak
457cc754d0 docs: Info about optimizerSteps field in Standard JSON input and metadata listings 2020-05-04 15:59:44 +02:00
hrkrshnn
ba538c9f75 Update documentation for solidity-upgrade 0.7.0 2020-04-30 17:20:36 +05:30
chriseth
6728e3ef94 Merge remote-tracking branch 'origin/develop' into breaking 2020-04-22 17:21:32 +02:00
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
chriseth
51883958ab Merge remote-tracking branch 'origin/develop' into breaking 2020-04-07 11:14:28 +02:00
Daniel Kirchner
4a23ce087c Document immutable references output. 2020-04-06 11:22:07 +02:00
Djordje Mijovic
64ae889dd7 Enabling pragma with > in minimum version check 2020-03-31 23:50:24 +02:00
chriseth
3beaae6822 Fix pragma. 2020-03-24 15:21:35 +01:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
Leonardo Alt
36928c7a35 Add reason string for internal reverts 2020-02-10 11:57:20 -03:00
Erik Kundt
f2701db0aa Adds documentation for Solidity source upgrader. 2020-02-05 16:52:54 +01:00
chriseth
7772ee145c Change naming to "destructible". 2020-01-08 09:17:59 +01:00
William Entriken
6d068b6331 Reduce usage of the word "kill" 2020-01-07 11:18:10 +01:00
chriseth
bdd9f215cb
Update the yul switch to the 0.6.0 behaviour. 2020-01-02 23:01:50 +01:00
chriseth
c175a468ab Do not call ABIEncoderV2 experimental. 2019-12-12 10:59:07 +01:00
chriseth
42d9a8e962 Merge remote-tracking branch 'origin/develop' into develop_060 2019-12-04 17:01:44 +01:00
chriseth
dc79274871 Set default EVM version to Istanbul. 2019-12-04 10:42:14 +01:00
chriseth
a00f824479
Merge pull request #7773 from ethereum/develop
Merge develop into develop_060
2019-11-21 21:49:22 +01:00
chriseth
38fba0f557 Clarify how errors are reported in standard-json mode. 2019-11-21 19:51:28 +01:00
chriseth
216e1749f4 Merge remote-tracking branch 'origin/develop' into develop_060 2019-11-14 13:42:46 +01:00
Leonardo Alt
5f43b8dbeb Output the storage layout of a contract via storageLayout artifact 2019-11-14 10:19:17 +01:00
chriseth
138ee647f1 Provide different options for reason strings. 2019-11-07 14:13:53 +01:00
chriseth
f3c4f466f6 Merge remote-tracking branch 'origin/develop' into develop_060
Had to adjust gas costs during merge.
2019-09-24 10:28:22 +02:00
chriseth
bfc8fd23ac Document chainid and selfbalance. 2019-09-19 15:35:37 +02:00
Leonardo Alt
d685554980 Create option for metadata hash 2019-09-13 18:59:12 +02:00
Daniel Kirchner
5d69bdf81e Remove ASTPrinter. 2019-09-06 12:38:55 +02:00
Alex Beregszaszi
5749a5d7c9 Introduce istanbul and berlin versions 2019-08-26 13:15:01 +01:00
Chris Chinchilla
ba9b14cbbd
Change link 2019-08-12 18:49:55 +02:00
Chris Chinchilla
9b22336ce1
Reduce line breaks in code comments to help with scrolling 2019-07-15 14:33:50 +02:00
chriseth
d3e542d32c Provide secondary source location for error messages in standard json. 2019-07-04 10:54:01 +02:00
Ilya Ostrovskiy
7860918de5
use correct global remapping syntax in documentation 2019-03-28 15:01:41 -04:00
Alex Beregszaszi
3bc2c35cc4 Support compiling Yul within StandardCompiler 2019-03-22 01:35:16 +00:00
chriseth
6d1ed93247 Use stack optimizations. 2019-03-14 15:34:23 +01:00
chriseth
9a949c1bda Set default EVM version to Petersburg. 2019-03-04 14:53:00 +01:00
Alex Beregszaszi
cc4598a5ed
Merge pull request #6144 from ethereum/petersburg
Support petersburg in evmVersion
2019-03-04 13:50:50 +00:00
chriseth
0045950924 State that yul optimizer is experimental. 2019-03-04 14:27:52 +01:00
Alex Beregszaszi
ecd246aeb6 Support petersburg in evmVersion 2019-03-04 14:10:41 +01:00
chriseth
4d10f4b4cf Process and validate standard-json optimizer settings. 2019-03-04 11:40:28 +01:00
chriseth
760e6cc321 More explanation about the "runs" parameter. 2019-02-26 13:14:41 +01:00
Daniel Kirchner
c4604c0e35 Fix ast in output selection in standard json doc. 2019-02-05 16:33:55 +01:00
Daniel Kirchner
b145934fdb Improve examples in standard json documentation. 2019-02-05 10:29:09 +01:00
chriseth
aaf620621f
[DOCS] Fix mention of commandline parameter. 2019-01-22 18:36:26 +01:00
chriseth
2f04633e27 Explain source IDs. 2018-12-11 15:48:12 +01:00
chriseth
fe87cc7eb0 Improve explanation how to get abi output. 2018-12-11 15:48:12 +01:00
chriseth
26c693aa92 Change library placeholder to __$<hash>$__. 2018-10-12 15:15:02 +02:00
chriseth
e8ba2d6e46 Document library placeholder change. 2018-10-12 15:15:01 +02:00
chriseth
29c3526a35 [DOCS] Update "using the compiler". 2018-09-26 15:29:22 +02:00
Chris Ward
92112799d4 Explain EVM version setting. 2018-09-20 11:05:06 +02:00
Leonardo Alt
d4fd4847de Mention in the standard json documentation that files in urls need their directories allowed via --allow-paths 2018-09-03 15:11:35 +02:00
Daniel Kirchner
a7885e0b0a Update documentation. 2018-08-10 19:26:48 +02:00
Jonny Burger
1367fedfd0 Improve documentation and CLI help for --run parameter 2018-05-02 17:10:30 +02:00
chriseth
1246917e32 Explain json-io setting. 2018-03-01 17:19:35 +01:00
Alex Beregszaszi
241134a881 Mention that solcjs is not compatible with solc in the using-the-compiler section 2018-02-27 00:36:01 +01:00
Sawyer
530b47a01b
Update using-the-compiler.rst
in outputSelection section of Compiler Input and Output JSON Description:
"evm.sourceMap" should be "evm.bytecode.sourceMap"
"evm.opcodes"  should be "evm.bytecode.opcodes"
2018-01-21 16:35:59 +08:00
Zhen Zhang
d50e8abefb Document JSON I/O error classes 2017-12-12 03:02:30 +00:00
Alex Beregszaszi
59bed63dbc Update standard json documentation 2017-11-29 20:10:18 +00:00
djudjuu
0f7a9e8149 add legacy/compact AST-format options to CL 2017-05-24 14:48:32 +02:00
Alex Beregszaszi
c09f071ff6 Merge pull request #2211 from ethereum/jsonio-fixes
Follow the JSON I/O spec closely
2017-05-02 16:47:14 +01:00
Alex Beregszaszi
ed3ab3506a Follow the JSON I/O spec closely 2017-05-02 16:52:38 +02:00
Alex Beregszaszi
2871663cad Remove why3 from standard compiler 2017-05-02 14:49:13 +01:00
Alex Beregszaszi
cd29a0315d Update the gasEstimates in JSON I/O 2017-04-27 13:37:51 +01:00
Alex Beregszaszi
4a3fb96381 Enable standard json in the docs 2017-04-24 11:34:02 +01:00
Alex Beregszaszi
6ae7a87b78 Rename ast to legacyAST in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
8bf842050e Support --allow-paths in the CLI 2017-04-20 15:39:30 +01:00
Alex Beregszaszi
92fd66e4b4 Document formattedMessage 2017-04-07 15:37:11 +01:00
Alex Beregszaszi
c22ba03417 Support selecting group of outputs 2017-04-07 15:34:38 +01:00
Alex Beregszaszi
fea26bc4ba Rename legacyAssemblyJSON to legacyAssembly 2017-04-07 15:33:13 +01:00
Alex Beregszaszi
b62a6949b5 Move the IR out of the EVM block in JSON IO 2017-04-07 15:32:59 +01:00
Alex Beregszaszi
594f207606 The metadata output is serialised 2017-04-07 15:32:58 +01:00
Alex Beregszaszi
b7368ce067 Fix input selector for evm 2017-04-07 15:32:55 +01:00
Alex Beregszaszi
ded7258b01 Swap key/value of methodIdentifiers 2017-03-30 11:12:14 +01:00
Alex Beregszaszi
f6828fc7c3 Reorder for readiability 2017-03-29 22:23:35 +01:00
Alex Beregszaszi
917175eedc Move opcodes into bytecode/deployedBytecode 2017-03-29 22:21:33 +01:00
Alex Beregszaszi
dc431fe1f6 Simplify the compiler API section (and remove pseudo code) 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
cd81e58e3b Drop the legacy assembly output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
749db7608b Include language field in the JSON 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
10d3a591d4 Move file into sourceLocation 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
96677cd178 Update the AST output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fa54db7bd Explain every contract output field 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fc017d10b Support linkReferences with length specified 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
a3340e210e Error list should have sourceLocation 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
c217bc2dca Updated EVM output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
4b19f560b8 Make contracts output two-level 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
627a2cec4d Update errors output 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
21a0228485 Include pseudo-code of compiler API 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
d46ec20f88 Change layout and include API, Input, Output sections 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
cbb668672f Add metadata.useLiteralContent option 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
4b5639bf63 Update output selection 2017-02-08 23:41:47 +00:00