Commit Graph

22930 Commits

Author SHA1 Message Date
Ishtiaque Zahid
3abf2724a1 changed output of formatNumberReadable so that it shows powers of two and one-less-than powers of two in a more compact format 2022-11-14 17:37:38 +01:00
Alex Beregszaszi
310a58dd31
Merge pull request #13695 from ethereum/evmc-refund
test: Support tracking gas refunds
2022-11-10 23:08:38 +01:00
chriseth
50747d6ab8
Merge pull request #13704 from ethereum/optimize_and_shl_functions
added changelog entry for optimizer
2022-11-10 22:42:19 +01:00
Alex Beregszaszi
54b4598390 Move some tests from viaYul to appropriate groups 2022-11-10 22:21:15 +01:00
Alex Beregszaszi
0f65e17b7b Update tests 2022-11-10 22:21:15 +01:00
Alex Beregszaszi
5a35c50d16 test: Support tracking gas refunds 2022-11-10 22:00:38 +01:00
nishant-sachdeva
149303d02d added changelog entry for optimizer 2022-11-11 02:26:47 +05:30
chriseth
77a9f8ac43
Merge pull request #13529 from ethereum/optimize_and_shl_functions
optimize and_shl distribution operation
2022-11-10 21:38:29 +01:00
nishant-sachdeva
efbd3666a7 added optimization. shl comes out from being distributed over and 2022-11-11 01:16:14 +05:30
matheusaaguiar
c72645327e
Merge pull request #13613 from Andy53/patch-1
Clarification to the documentation on converting payable to non payable functions.
2022-11-10 16:28:36 -03:00
andy53
1e5c229a37 update value-types.rst 2022-11-10 15:42:31 -03:00
chriseth
1bd35b1be1
Merge pull request #13682 from ethereum/improve_cse
Use hash of candidates for CSE.
2022-11-10 16:48:57 +01:00
chriseth
4b0348a9a5
Merge pull request #13693 from ethereum/resolved-function-call-in-cfg
Resolved `FunctionDefinition` instead of `FunctionCall` in CFG
2022-11-10 14:04:37 +01:00
Nikola Matić
4e5a5259f5
Merge pull request #13650 from Andy53/document-optimized-cleanup-process
update using-the-compiler.rst with details of optimizer cleanup sequence
2022-11-10 03:35:26 -05:00
andy53
4e035c41b6 update using-the-compiler.rst with details of optimizer cleanup sequence
Removed duplicate lines and clarified the wording.

Removed trailing whitespace.

Update docs/using-the-compiler.rst

Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>

Clarified behaviors.

Updated text to meet suggestions.
2022-11-10 08:45:48 +01:00
Nikola Matić
2fb7205dd3
Merge pull request #13532 from ethereum/evmc-update
Upgrade to evmc10 + evmone9
2022-11-10 02:10:29 -05:00
Nikola Matić
1aea745304
Merge pull request #13537 from ethereum/evmc-buildpack
Upgrade to evmone 0.9.1 and hera 0.6.0 in buildpack
2022-11-10 02:10:15 -05:00
Alex Beregszaszi
47ed36e0db Upgrade CI and download instructions to evmone 0.9.1 and hera 0.6.0 2022-11-09 21:27:40 +01:00
Alex Beregszaszi
b49008af9e Support EVMC_PARIS with randao from merge block 2022-11-09 21:27:40 +01:00
Alex Beregszaszi
5df92a374b Update EVMHost to match EVMC10 changes 2022-11-09 21:27:40 +01:00
matheusaaguiar
73e7b844dc
Merge pull request #13381 from ethereum/cleanupDocs
Clarify variable cleanup in docs.
2022-11-09 17:14:44 -03:00
Daniel Kirchner
27dba5c2d4 Clarify cleanup in docs.
Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>
2022-11-09 16:27:24 -03:00
wechman
fbe1181517 CFGNode: For function calls store a pointer to a resolved function definition rather than the FunctionCall AST node 2022-11-09 17:51:32 +01:00
chriseth
40342264c2 Use hash of candidates for CSE. 2022-11-09 16:57:46 +01:00
Daniel
2f33105d11
Merge pull request #13697 from ethereum/coc-contact-update
[COC] Update contact section in Code of Conduct
2022-11-09 15:44:46 +01:00
franzihei
7cc4c659cf Update CODE_OF_CONDUCT.md
Update CODE_OF_CONDUCT.md
2022-11-09 14:55:59 +01:00
Alex Beregszaszi
458857d0d6 Upgrade to evmc 10.0.0 2022-11-09 11:45:40 +01:00
Daniel
5c139b60b8
Merge pull request #13694 from ethereum/evmhost_set_storage
test: Improve precision of SSTORE cost in EVMHost
2022-11-09 11:41:23 +01:00
Hari
bbb9eb37c5
Merge pull request #13696 from VVander/patch-2
Replace "miners" with "block builders"
2022-11-09 10:24:45 +01:00
Paweł Bylica
4830194383
test: Update test expectations 2022-11-09 10:15:17 +01:00
Paweł Bylica
199f36585a
test: Improve precision of SSTORE cost in EVMHost
Add "original" field to storage_value to precise track "dirty" state of
a storage slot as defined in EIP-2200. In case a current storage value
is restored to original (after multiple modifications in a single
transaction), the storage slot is not considered "dirty" any more.
Previously, we only had a bool dirty flag to model this and a storage
slot was always considered "dirty" after first modification.
2022-11-09 10:15:14 +01:00
Mike Leach
211d1e733f
Remove "miners" with "block builders" 2022-11-08 21:03:00 -06:00
Daniel
9db2da0385
Merge pull request #13687 from ethereum/hashNumberLiterals
Hash number literals according to their value instead of their string representation.
2022-11-08 21:21:23 +01:00
chriseth
cffacac9de Hash number literals according to their value instead of their string representation. 2022-11-08 20:34:10 +01:00
Daniel
19fc395662
Merge pull request #13688 from ethereum/cacheNumberLiteralConversion
Cache literal to number conversion.
2022-11-08 20:28:35 +01:00
Daniel
9a60c06335
Merge pull request #11087 from ethereum/precompile-prices
EVMHost: charge gas for precompiles
2022-11-08 19:56:42 +01:00
Alex Beregszaszi
ab7307203b
Merge pull request #13691 from ethereum/evmhost_storage_dirty
test: Properly clear storage dirty flag
2022-11-08 19:33:42 +01:00
chriseth
0bf68e7f58
Merge pull request #13692 from ethereum/indent_changelog
Indent changelog.
2022-11-08 18:36:33 +01:00
Paweł Bylica
c4b6f5f00b
test: Properly clear storage dirty flag
Clear storage dirty flag between transactions in EVMHost. The EIP-2200
dirty flag should be persisted only in a single transaction.
2022-11-08 18:13:17 +01:00
chriseth
c3899bd549 Indent changelog. 2022-11-08 17:48:36 +01:00
franzihei
d472c94ff6
Merge pull request #13686 from ethereum/readme-update-maintainer
[README] Update maintainers
2022-11-08 17:28:25 +01:00
Kamil Śliwak
3db7cb7060
Merge pull request #13631 from Dev-Doggo/patch-2
Clarify that a contract without `receive` can still receive Ether through payable function calls
2022-11-08 17:04:19 +01:00
Kamil Śliwak
0d0d51cabf
Merge pull request #13391 from timweri/event-natspec-inherit
Add Natspec devdoc inheritance support for events
2022-11-08 16:40:27 +01:00
franzihei
350454d8a4 Update README maintainers
Update README.md

Update README.md

Co-Authored-By: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-11-08 16:30:00 +01:00
Doggo
b787c32233 Update receive function documentation
The receive function documentation is slightly inaccurate currently, as a contract can still receive Ether through payable functions even if no receive or payable fallback function is present.
2022-11-08 15:59:09 +01:00
Duc Thanh Nguyen
4aac4c7bc4 Add Natspec devdoc inheritance support for events 2022-11-08 15:53:10 +01:00
chriseth
c42d577fc0 Cache literal to number conversion. 2022-11-08 12:29:00 +01:00
Daniel
ce18dddd20
Merge pull request #13685 from ethereum/graph-naming-corrections
Graph naming corrections
2022-11-08 00:49:01 +01:00
wechman
df1f5eef72 UsingForDirective: Rename m_functions to m_functionsOrLibrary 2022-11-07 23:58:19 +01:00
wechman
52bfb8bd2d Minor test naming/style corrections 2022-11-07 23:16:02 +01:00