-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preparation for solidity v0.8.23 upgrade #452
Commits on Mar 1, 2024
-
core/vm: use uint256 in EVM implementation (ethereum#20787)
* core/vm: use fixed uint256 library instead of big * core/vm: remove intpools * core/vm: upgrade uint256, fixes uint256.NewFromBig * core/vm: use uint256.Int by value in Stack * core/vm: upgrade uint256 to v1.0.0 * core/vm: don't preallocate space for 1024 stack items (only 16) Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for 192edc0 - Browse repository at this point
Copy the full SHA 192edc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d5da0 - Browse repository at this point
Copy the full SHA 06d5da0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 446b9e8 - Browse repository at this point
Copy the full SHA 446b9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6077ecb - Browse repository at this point
Copy the full SHA 6077ecbView commit details -
core/vm: clean up contract creation error handling (ethereum#22766)
Do not keep separate flag for "max code size exceeded" case, but instead assign appropriate error for it sooner.
Configuration menu - View commit details
-
Copy full SHA for 9c8d228 - Browse repository at this point
Copy the full SHA 9c8d228View commit details -
core/vm: fix interpreter comments (ethereum#22797)
* Fix interpreter comment * Fix comment
Configuration menu - View commit details
-
Copy full SHA for 7c6908b - Browse repository at this point
Copy the full SHA 7c6908bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21bbe5f - Browse repository at this point
Copy the full SHA 21bbe5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a55b9f - Browse repository at this point
Copy the full SHA 7a55b9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f05fa00 - Browse repository at this point
Copy the full SHA f05fa00View commit details -
core/vm: rework jumpdest analysis benchmarks (ethereum#23499)
* core/vm: rework jumpdest analysis benchmarks For BenchmarkJumpdestOpAnalysis use fixed code size of ~1.2MB and classic benchmark loop. * core/vm: clear bitvec in jumpdest analysis benchmark
Configuration menu - View commit details
-
Copy full SHA for dc8cdf3 - Browse repository at this point
Copy the full SHA dc8cdf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e14af - Browse repository at this point
Copy the full SHA f9e14afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3cc6c - Browse repository at this point
Copy the full SHA 3d3cc6cView commit details -
core/vm, core/state/snapshot: remove unused code (ethereum#23956)
* core/state/snapshot: remove wiper functionality * core/vm: remove unused 'unofficial' opcodes
Configuration menu - View commit details
-
Copy full SHA for f7c6b1a - Browse repository at this point
Copy the full SHA f7c6b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6415934 - Browse repository at this point
Copy the full SHA 6415934View commit details -
core/vm: simplify error handling in interpreter loop (ethereum#23952)
* core/vm: break loop on any error * core/vm: move ErrExecutionReverted to opRevert() * core/vm: use "stop token" to stop the loop * core/vm: unconditionally pc++ in the loop * core/vm: set return data in instruction impls
Configuration menu - View commit details
-
Copy full SHA for 823ec33 - Browse repository at this point
Copy the full SHA 823ec33View commit details -
core/vm: rename SHA3 instruction to KECCAK256 (ethereum#23976)
This was proposed in 2016, Solidity uses this since 2017, and evmone and other VMs use the keccak256 name. This brings geth in line with those.
Configuration menu - View commit details
-
Copy full SHA for c097e56 - Browse repository at this point
Copy the full SHA c097e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 002be52 - Browse repository at this point
Copy the full SHA 002be52View commit details -
core/vm: move interpreter.ReadOnly check into the opcode implementati…
…ons (ethereum#23970) * core/vm: Move interpreter.ReadOnly check into the opcode implementations Also remove the same check from the interpreter inner loop. * core/vm: Remove obsolete operation.writes flag * core/vm: Capture fault states in logger Co-authored-by: Martin Holst Swende <martin@swende.se> * core/vm: Remove panic added for testing Co-authored-by: Martin Holst Swende <martin@swende.se>
Configuration menu - View commit details
-
Copy full SHA for bfbb678 - Browse repository at this point
Copy the full SHA bfbb678View commit details -
core/vm: rename opSuicide to opSelfdestruct (ethereum#24022)
The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
Configuration menu - View commit details
-
Copy full SHA for b1c0386 - Browse repository at this point
Copy the full SHA b1c0386View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae267d3 - Browse repository at this point
Copy the full SHA ae267d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d3c783 - Browse repository at this point
Copy the full SHA 7d3c783View commit details -
core/vm: move interpreter interruption check to jump instructions (et…
…hereum#24026) * core/vm: Remove interpreter loop interruption check * core/vm: Unit test for interpreter loop interruption * core/vm: Check for interpreter loop abort on every jump
Configuration menu - View commit details
-
Copy full SHA for 4c27910 - Browse repository at this point
Copy the full SHA 4c27910View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc1cc1 - Browse repository at this point
Copy the full SHA fbc1cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ce3001 - Browse repository at this point
Copy the full SHA 2ce3001View commit details -
core/vm: reverse bit order in bytes of code bitmap (ethereum#24120)
* core/vm: reverse bit order in bytes of code bitmap This bit order is more natural for bit manipulation operations and we can eliminate some small number of CPU instructions. * core/vm: drop lookup table
Configuration menu - View commit details
-
Copy full SHA for 6e92486 - Browse repository at this point
Copy the full SHA 6e92486View commit details -
core/vm: make INVALID a defined opcode (ethereum#24017)
* core/vm: Define 0xfe opcode as INVALID * core/vm: Remove opInvalid as opUndefined handles it Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
Configuration menu - View commit details
-
Copy full SHA for b022ba2 - Browse repository at this point
Copy the full SHA b022ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac35f0e - Browse repository at this point
Copy the full SHA ac35f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62b62da - Browse repository at this point
Copy the full SHA 62b62daView commit details -
core/vm: optimize Memory.Set32 (ethereum#24847)
* core/vm: remove unnecessary memset for Memory.Set32 * core/vm: optimize Memory.Set32
Configuration menu - View commit details
-
Copy full SHA for 032b98e - Browse repository at this point
Copy the full SHA 032b98eView commit details -
core/vm: better handle error on eip activation check (ethereum#25131)
* core/vm: correct logic for eip check of NewEVMInterpreter * refactor
Configuration menu - View commit details
-
Copy full SHA for 8b6db6d - Browse repository at this point
Copy the full SHA 8b6db6dView commit details -
core/vm: performance tweak of
OpCode.String()
(ethereum#28453)make `opCodeToString` a `[256]string` array Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b36678f - Browse repository at this point
Copy the full SHA b36678fView commit details