Skip to content

EIP 6690: EVMMAX implementation #3816

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

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
4f24ab4
Add evmmax to common
am1r021 Dec 18, 2024
7c85448
Add opcode handler skeletons
am1r021 Dec 18, 2024
f830abc
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Dec 18, 2024
3595599
Install bigint-mod-arith package
am1r021 Dec 18, 2024
6b5f895
Add helper function
am1r021 Dec 20, 2024
58c2dae
Add helper function
am1r021 Dec 20, 2024
553272e
Add base for FieldContext class
am1r021 Dec 20, 2024
40561c3
Remove utils and update arith helpers
am1r021 Jan 2, 2025
d827327
Complete implementation of fieldContext for binary modulus
am1r021 Jan 2, 2025
f76f420
Move helper and constant to arith
am1r021 Jan 2, 2025
d546bfb
Test fieldContext for binary modulus arithmetic
am1r021 Jan 2, 2025
70f3562
Export fieldContext
am1r021 Jan 2, 2025
bb4fd1b
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Jan 2, 2025
d432767
Fix linting issues
am1r021 Jan 2, 2025
0074f51
Fix lint/type issues and debug binary arithmetic issues
am1r021 Jan 2, 2025
006b104
Fix tests
am1r021 Jan 2, 2025
164a358
Complete and clean up fieldContext add, sub, and mod tests
am1r021 Jan 3, 2025
00896bf
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Jan 14, 2025
d0445a2
Implement 64-bit montMul, sub, and add preset functions and update tests
am1r021 Jan 16, 2025
82a64c3
Implement, debug, and add 128-bit preset functions
am1r021 Jan 21, 2025
9e0f864
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Jan 21, 2025
3685202
Finish rest of preset functions, organize code into files, document code
am1r021 Feb 6, 2025
e93d62e
Remove unused dep
am1r021 Feb 28, 2025
75eb7c8
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Feb 28, 2025
cb042d3
Do not activate evmmax opcodes from chainstart
am1r021 Feb 28, 2025
ab5dbb2
Add field context and allocations to evmmax runstate
am1r021 Mar 24, 2025
cdab157
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Mar 24, 2025
897f710
Add placeholder gas functions
am1r021 Mar 24, 2025
d3fe18e
Group code better
am1r021 Mar 24, 2025
278e800
Remove evmmax as hardfork and activate only via eip via common
am1r021 Mar 24, 2025
38e2bad
Add eip 6990 to activatable eips
am1r021 Mar 24, 2025
91ee64f
Implement opcode functions
am1r021 Mar 24, 2025
12e83bb
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Mar 26, 2025
c4e7198
Move evmmax util function to own util file
am1r021 Mar 26, 2025
88305d7
Addd constants
am1r021 Apr 1, 2025
8f1c864
Fix names and add getAlloced
am1r021 Apr 1, 2025
00e2930
Change gas handler types
am1r021 Apr 1, 2025
135dceb
Implement storex gas function and base evmmax cas cost model
am1r021 Apr 2, 2025
af34eae
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Apr 2, 2025
89265bf
Fix lint and build issues
am1r021 Apr 2, 2025
9d87011
Update constants
am1r021 Apr 3, 2025
cd88d03
Finish gas functions
am1r021 Apr 3, 2025
e92a597
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Apr 21, 2025
44decd3
Fix import
am1r021 Apr 22, 2025
1096460
Fix build errors
am1r021 Apr 22, 2025
64d4668
Add evmmax opcode test
am1r021 Apr 22, 2025
f2404b1
Fixes
am1r021 Apr 23, 2025
7ead43b
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Apr 23, 2025
2d40d54
Debug addmodx opcode
am1r021 Apr 23, 2025
2517715
evmmax: ensure correct immediates are read
jochem-brouwer Apr 23, 2025
8bddbb4
Push debug code
am1r021 Apr 29, 2025
47410f1
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 Apr 29, 2025
fe4646c
Debug arithmetic functions
am1r021 Apr 30, 2025
9c978c4
Debug evmmax opcode tests
am1r021 Apr 30, 2025
03336d1
Remove debug logs
am1r021 Apr 30, 2025
40ed073
Remove debug logs
am1r021 Apr 30, 2025
3503335
Update tests
am1r021 May 6, 2025
3c4573d
Fix bugs and continue to debug opcode tests
am1r021 May 8, 2025
51baf0a
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
am1r021 May 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/common/src/eips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,14 @@ export const eipsDict: EIPsDict = {
6800: {
minimumHardfork: Hardfork.London,
},
/**
* Description : EVM Modular Arithmetic Extensions
* URL : https://eips.ethereum.org/EIPS/eip-6690
* Status : Draft
*/
6690: {
minimumHardfork: Hardfork.Prague,
},
/**
* Description : Execution layer triggerable withdrawals (experimental)
* URL : https://github.com/ethereum/EIPs/blob/3b5fcad6b35782f8aaeba7d4ac26004e8fbd720f/EIPS/eip-7002.md
Expand Down
2 changes: 1 addition & 1 deletion packages/evm/src/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class EVM implements EVMInterface {
const supportedEIPs = [
663, 1153, 1559, 2537, 2565, 2718, 2929, 2930, 2935, 3198, 3529, 3540, 3541, 3607, 3651, 3670,
3855, 3860, 4200, 4399, 4750, 4788, 4844, 4895, 5133, 5450, 5656, 6110, 6206, 6780, 6800,
7002, 7069, 7251, 7480, 7516, 7620, 7685, 7691, 7692, 7698, 7702, 7709,
6690, 7002, 7069, 7251, 7480, 7516, 7620, 7685, 7691, 7692, 7698, 7702, 7709,
]

for (const eip of this.common.eips()) {
Expand Down
Loading
Loading