Commit graph

  • 3487acc950 Disclose fork divergences from upstream (FORK_NOTES.md) djtotal Dan Robinson 2026-07-14 11:09:38 -07:00
  • b08573c65e keccak256: pure total Lean implementation as the logical meaning Dan Robinson 2026-07-09 10:52:08 -07:00
  • b908ec317a Fix EVM PUSH and MODEXP semantics pin-fixes-on-djtotal Dan Robinson 2026-07-01 22:39:00 -07:00
  • 3c5c44a62f Make D_J_aux total via Nat-indexed structural recursion Dan Robinson 2026-07-05 01:55:01 -06:00
  • bc681aa699 Expose byte array zeroes specs codex/bytearray-zeroes-verity-bridge Dan Robinson 2026-07-03 12:05:05 -07:00
  • e0ebb57c40 Make SSTORE clean creation gas policy-driven codex/gas-schedule-policy Dan Robinson 2026-07-02 21:24:18 -07:00
  • 3bbb95456b Add open gas policies for Osaka and Tempo codex/osaka-tempo-semantics Dan Robinson 2026-07-02 15:42:40 -07:00
  • 17aa770795 Parameterize EVM gas schedule Dan Robinson 2026-07-02 13:47:05 -07:00
  • 9ff4317c15 Add Osaka and Tempo protocol profiles Dan Robinson 2026-07-01 23:38:31 -07:00
  • ee0f260c01 Fix EVM PUSH and MODEXP semantics codex/semantic-bug-fixes Dan Robinson 2026-07-01 22:39:00 -07:00
  • 8b610d5248 Add CLZ and EIP-7702 delegation lookup codex/native-clz-7702 Dan Robinson 2026-07-01 11:47:05 -07:00
  • 0a513d06c4 Update MODEXP for Fusaka codex/fusaka-modexp-gas Dan Robinson 2026-07-01 09:46:52 -07:00
  • 478b8f5c90 Preserve CREATE initcode image codex/eip161-call-touch Dan Robinson 2026-06-26 02:07:11 -07:00
  • 35d45d7f40 Normalize create value debit prelude Dan Robinson 2026-06-26 01:46:41 -07:00
  • ff047b4bb8 Name create child account prelude Dan Robinson 2026-06-26 01:35:50 -07:00
  • 445eb4e5f3 Journal create touches inside child scope Dan Robinson 2026-06-26 01:24:29 -07:00
  • 1b9fe85546 Name create deposit failure predicate Dan Robinson 2026-06-26 01:12:08 -07:00
  • 558d6af7d5 Expose create context branch Dan Robinson 2026-06-26 01:07:20 -07:00
  • 1af85d61d8 Name create child finalization Dan Robinson 2026-06-26 01:05:22 -07:00
  • 9eddac7431 Expose create child frame context Dan Robinson 2026-06-26 01:02:41 -07:00
  • 8c752ab10f Correct create rollback and collision semantics Dan Robinson 2026-06-26 01:00:36 -07:00
  • 5235223d3c Commit call child state by success status Dan Robinson 2026-06-26 00:19:12 -07:00
  • 9e914b31f5 Install call child code bytes Dan Robinson 2026-06-25 23:18:36 -07:00
  • 89418781e6 Normalize no-op message call transfers Dan Robinson 2026-06-25 22:44:11 -07:00
  • f3e67707ec Track EIP-161 touches in message calls Dan Robinson 2026-06-25 22:14:33 -07:00
  • 3918e920f7 Specify byte array word decoding codex/bytearray-zeroes-spec Dan Robinson 2026-06-12 02:07:15 -07:00
  • a3a86e55ef Expose byte array zeroing specifications Dan Robinson 2026-06-12 01:59:01 -07:00
  • 314a6457b9 Make RETURNDATACOPY bounds-aware in raw semantics codex/extcode-state-semantics Dan Robinson 2026-06-07 22:43:54 -07:00
  • cd76848248 Support Yul external code inspection Dan Robinson 2026-06-07 14:59:01 -07:00
  • 2a2b5cc1f6 Update deprecated order classes for Lean 4.28 Dan Robinson 2026-06-05 01:36:48 +02:00
  • a959211f5d Migrate EVMYulLean to Lean 4.28 Dan Robinson 2026-06-03 13:44:28 +02:00
  • 451f19fbfc Make EVMYulLean baseline buildable Dan Robinson 2026-06-03 13:31:46 +02:00
  • b5661ed889 Pass selected code to child dispatchers codex/chain-call-semantics Dan Robinson 2026-05-26 18:06:36 -07:00
  • 562afce8e8 Use conditional merge for Yul call restore Dan Robinson 2026-05-26 17:25:22 -07:00
  • 305b2816a0 Factor Theta call prelude Dan Robinson 2026-05-26 16:59:12 -07:00
  • 36b7cb5460 Use isEmpty for child account map merge Dan Robinson 2026-05-26 16:10:11 -07:00
  • 193a80b964 Preserve created accounts for precompile calls Dan Robinson 2026-05-26 15:58:32 -07:00
  • 15731561aa Thread chain context through EVM child frames Dan Robinson 2026-05-26 15:06:40 -07:00
  • 2de3f00be5 Freshen Yul external call frames Dan Robinson 2026-05-26 14:52:54 -07:00
  • d14bf27237 Align external call result semantics Dan Robinson 2026-05-26 14:33:01 -07:00
  • 5e032ed7da Share typed precompile dispatch Dan Robinson 2026-05-26 14:04:09 -07:00
  • 1e4d695d15 Align Yul precompile dispatch with EVM Dan Robinson 2026-05-26 13:23:11 -07:00
  • bad057db2d Align Yul call-family state effects with EVM Dan Robinson 2026-05-26 13:07:17 -07:00
  • 5d7511d768 Fix Yul loop post success semantics codex/solidity-loop-post-success-defeq Dan Robinson 2026-05-22 08:46:45 -07:00
  • 2cf8181c56 Fix omitted Yul switch default notation codex/solidity-switch-semantics Dan Robinson 2026-05-15 14:25:03 -07:00
  • ff19985f67 Make Yul SELFDESTRUCT halt execution Dan Robinson 2026-05-15 14:08:56 -07:00
  • 355d10ec9f Align Yul interpreter with Solidity semantics Dan Robinson 2026-05-14 20:35:08 -07:00
  • 40587c9446 Fix Yul switch branch execution Dan Robinson 2026-05-14 19:40:23 -07:00
  • 9af6beb44a
    Add Nethermind Non-Commercial Software License add-license-file nethermind-oss-compliance[bot] 2025-11-19 15:31:40 +00:00
  • 047f630703
    Merge pull request #81 from NethermindEth/Coda-Coda/README-edit-2 main Julian Sutherland 2025-09-24 00:53:30 +01:00
  • 30be522dfe Fix typo Daniel Britten 2025-09-24 11:48:42 +12:00
  • f0f72740ef Fix typo Coda-Coda/README-edit Daniel Britten 2025-09-24 11:48:42 +12:00
  • cc0a7386e6
    Merge pull request #80 from NethermindEth/Coda-Coda/README-edit Julian Sutherland 2025-09-24 00:46:30 +01:00
  • 092fd6c1e4 Add info to README about running the Yul semantics tests Daniel Britten 2025-09-24 11:36:45 +12:00
  • a1a7a42062
    Merge pull request #79 from NethermindEth/Coda-Coda/Yul-semantics-4 Daniel Britten 2025-09-24 00:15:29 +12:00
  • 4c5437089b Minor improvement to README Coda-Coda/Yul-semantics-4 Daniel Britten 2025-09-24 00:14:24 +12:00
  • ab92ac7e94 Add info about other primops that are not modelled to README Daniel Britten 2025-09-24 00:10:45 +12:00
  • fd1cc6f1b7 Add info about SELFDESTRUCT limitations to README Daniel Britten 2025-09-23 23:32:49 +12:00
  • c27c95dedc Add Yul halting for REVERT and STOP Daniel Britten 2025-09-23 23:29:47 +12:00
  • 401ddf57ef Improve README Daniel Britten 2025-09-23 23:02:59 +12:00
  • 0c7c69b37e Update Solidity and Yul source files for Yul semantics testing Daniel Britten 2025-09-23 23:01:28 +12:00
  • b94001a801 Add callcode to parser Daniel Britten 2025-09-23 22:56:05 +12:00
  • c5670d16ad Add test for CALLCODE Daniel Britten 2025-09-23 22:55:52 +12:00
  • bb7dede41d FIx CALLCODE semantics Daniel Britten 2025-09-23 22:34:45 +12:00
  • af5fa73f9d Fix implementation of DELEGATECALL Daniel Britten 2025-09-23 22:27:13 +12:00
  • 38ef221d9a Add a test of delegateCall Daniel Britten 2025-09-23 22:26:05 +12:00
  • 249aa21cce Add test for fun_testStaticStore Daniel Britten 2025-09-23 19:51:43 +12:00
  • 36ba1f3cc4 Add check for primOps that violate static mode Daniel Britten 2025-09-23 19:51:10 +12:00
  • 74756747bc Fix error propogation during switches Daniel Britten 2025-09-23 19:50:18 +12:00
  • c830940e14 Use state that has had perm set to false Daniel Britten 2025-09-23 19:40:27 +12:00
  • bbf56a9f13 Simplify accessing executionEnv Daniel Britten 2025-09-23 19:37:38 +12:00
  • 81eb1aae57 Amend Caller2 test contract to pass a value to store Daniel Britten 2025-09-23 18:26:22 +12:00
  • 9f308afb1d Remove debug logging Daniel Britten 2025-09-23 18:22:38 +12:00
  • dfcd0ed2ac Add output of success or failure for existing Yul tests Daniel Britten 2025-09-23 18:21:56 +12:00
  • b907934e2a Set the Storage contract to have an initial number of 21 stored Daniel Britten 2025-09-23 18:18:40 +12:00
  • 89a438fe81 Add test of a succesful static call Daniel Britten 2025-09-23 18:18:07 +12:00
  • 6f84b5bb8e Add caller2 example Yul contract Daniel Britten 2025-09-23 18:17:13 +12:00
  • e08cfa0b0d Restore ExecutionEnv for STATICCALL/DELEGATECALL/'CALLCODE` Daniel Britten 2025-09-23 18:14:58 +12:00
  • 20633125cf Fix check for perm at start of STATICCALL Daniel Britten 2025-09-23 18:02:49 +12:00
  • b2bb0fe8fc Add limitations of the Yul semantics to README Daniel Britten 2025-09-23 17:32:55 +12:00
  • 4fa832ee31 Clarify syntax Daniel Britten 2025-09-23 17:22:25 +12:00
  • a09682abb1 Add source code for contracts for Yul semantics tests Daniel Britten 2025-09-23 17:18:55 +12:00
  • 71f9a37960 Add Yul semantics test instructions Daniel Britten 2025-09-23 17:18:30 +12:00
  • 228ee0a742 Move and rename YulSemanticsTests.lean Daniel Britten 2025-09-23 16:59:48 +12:00
  • 7b41a8abe3 Remove repetitition of comments Daniel Britten 2025-09-23 16:57:15 +12:00
  • 4f1ad1a1df Refactor Daniel Britten 2025-09-23 16:50:43 +12:00
  • 6364e652e1 Use do notation to reduce indentation Daniel Britten 2025-09-23 16:24:55 +12:00
  • be092b4d30 Simplify callFromCode and rename to callDispatcher Daniel Britten 2025-09-23 16:09:55 +12:00
  • c6f677ba7b Delete resolved TODO Daniel Britten 2025-09-23 15:54:11 +12:00
  • b9c2f5dcc7 Add comment to indicate how to run Yul semantics tests Daniel Britten 2025-09-23 15:47:22 +12:00
  • 0f80edabbf Remove unnecessary parentheses Daniel Britten 2025-09-23 15:42:09 +12:00
  • cd419ae975 Remove unnecessary comment Daniel Britten 2025-09-23 15:39:38 +12:00
  • 6c460ddce3 Fix spelling Daniel Britten 2025-09-22 22:48:35 +12:00
  • a9a9cd41ea Handle Yul halting in STATICCALL/DELEGATECALL/CALLCODE Daniel Britten 2025-09-22 22:45:35 +12:00
  • 23a7971e7b Set H_return to zero array at the end of a successful call. Daniel Britten 2025-09-22 22:39:51 +12:00
  • d5c2d7f016 Ensure memory is reset before external contract calls Daniel Britten 2025-09-22 22:34:19 +12:00
  • 84890e3387 Fix destination for copying H_return Daniel Britten 2025-09-22 22:26:32 +12:00
  • f3647a94ba Also set returnData to empty Daniel Britten 2025-09-22 22:21:51 +12:00
  • 493ede0f5d Apply the transfer in the case where the contract does not exist Daniel Britten 2025-09-22 22:16:37 +12:00
  • ec85c2a761 Tweak generated Yul to not use extcodesize Daniel Britten 2025-09-22 21:03:15 +12:00
  • 51acf96bb1 Make EXTCODESIZE return an error for Yul Daniel Britten 2025-09-22 21:02:23 +12:00
  • af12e91bc8 Add Yul Exceptions Daniel Britten 2025-09-22 21:01:22 +12:00
  • 013867c00d Add missing import Daniel Britten 2025-09-22 19:57:30 +12:00
  • e5cc3a5eb2 Remove value arg and handling from STATICCALL Daniel Britten 2025-09-22 19:56:04 +12:00
  • ff41234ccf Restore ExecutionEnv after an external CALL Daniel Britten 2025-09-22 19:54:10 +12:00
  • 479f168f69 Model Yul halting for RETURN via a special Exception Daniel Britten 2025-09-22 19:53:18 +12:00
  • 568f7f7185 Add initial test of a cross-contract call Daniel Britten 2025-09-22 13:31:43 +12:00
  • 6e86b1143b Add Repr instance for Yul exceptions Daniel Britten 2025-09-19 14:58:52 +12:00
  • 7bbe2c4d90 Replace returning default to indicate an error with raising relevant Yul.Exceptions Daniel Britten 2025-09-18 20:06:25 +12:00
  • 301c76af10 Switch to using Except for Yul semantics Daniel Britten 2025-09-18 19:26:58 +12:00
  • 6dc89eface Revert "Replace FFI ByteArray.zeroes with a native Lean definition" Daniel Britten 2025-09-18 19:27:32 +12:00
  • 53f2460998 Replace FFI ByteArray.zeroes with a native Lean definition Daniel Britten 2025-09-15 22:36:08 +12:00
  • 88f4526a02 Increase max heartbeats Daniel Britten 2025-09-15 17:31:39 +12:00
  • 6d102d091d Fix callvalue transfer being lost Daniel Britten 2025-09-15 17:29:01 +12:00
  • d45d42073c Add Yul semantics for DELEGATECALL Daniel Britten 2025-09-15 17:18:00 +12:00
  • 757877526b Fix overflow below zero handling in transfers Daniel Britten 2025-09-15 17:05:01 +12:00
  • c3a5370df4 Add Yul semantics for CALLCODE Daniel Britten 2025-09-15 16:28:52 +12:00
  • ed3ee4e282 Add Yul semantics for STATICCALL Daniel Britten 2025-09-15 13:50:10 +12:00
  • e6cb6acb39 Fix handling of memory in CALL Yul semantics Daniel Britten 2025-09-15 13:21:43 +12:00
  • 70ea08a83f Add callFromCode in preparation for adding callcode semantics Daniel Britten 2025-09-15 12:46:57 +12:00
  • 12e60c559d Add callFromCode in preparation for adding callcode semantics Coda-Coda/Yul-Semantics-kernel-error Daniel Britten 2025-09-15 11:06:49 +12:00
  • 5766b7a948 Improve semantics of CALL Daniel Britten 2025-09-12 20:15:17 +12:00
  • 2bb582a948 Add newline to highlight invocation of call Daniel Britten 2025-09-08 10:54:57 +12:00
  • ee01e6781b Generalise Operation.pretty and add debug logging for Yul ops Daniel Britten 2025-09-08 10:38:57 +12:00
  • 1a283e99f4 Handle parsing of Yul function calls Daniel Britten 2025-09-02 16:47:06 +12:00
  • 89223234fb Handle writing return data to memory as specified Daniel Britten 2025-08-29 19:30:30 +12:00
  • 4173512067 Add Yul semantics for call Daniel Britten 2025-08-29 15:50:20 +12:00
  • 7485d4dba5 Rename inputData -> calldata Daniel Britten 2025-08-28 18:36:35 +12:00
  • e1b055c3d2 Combine cases further in Stmt Daniel Britten 2025-08-28 18:10:51 +12:00
  • e1b67c74f4 Undo combining PrimCall and Call for ExprStmt Daniel Britten 2025-08-26 17:30:05 +12:00
  • 061277b535 Clearly give .Assign the same semantics as .Let Daniel Britten 2025-08-26 17:10:49 +12:00
  • feed7d5935 Combine Call and PrimCall in Yul semantics Daniel Britten 2025-08-26 16:40:00 +12:00
  • af478d9fb5 Fix SizeLemmas based on new Stmt and Expr structure Daniel Britten 2025-08-26 15:41:04 +12:00
  • 7a12e70a17 Fix Yul examples based on new Stmt and Expr structure Daniel Britten 2025-08-26 15:39:25 +12:00
  • f701de90e8 Combine PrimCall and Call in Ast.lean Daniel Britten 2025-08-26 15:19:34 +12:00
  • 02c10c49bb Make Yul semantics call functions using their name (as a String) Daniel Britten 2025-08-26 15:10:54 +12:00
  • c482d8e331 Change to YulFunctionName/String for Expr and Stmt Daniel Britten 2025-08-26 15:02:23 +12:00
  • 457cfbaa13 Change dispatcher to Yul.Ast.Stmt Daniel Britten 2025-08-26 14:48:41 +12:00
  • 0258e59ad1 Remove ExternallCall branch from Stmt Daniel Britten 2025-08-26 14:46:44 +12:00
  • 04655b2fbd Use YulFunctionName (i.e.String) and add branches to Stmt Coda-Coda/Yul-semantics-3 Daniel Britten 2025-08-22 16:51:56 +12:00
  • c80dd6d5ee Add explanatory comment Coda-Coda/Yul-semantics-2 Daniel Britten 2025-08-21 22:05:08 +12:00
  • d68904c0a3 Simplify and fix termination proofs by always reducing fuel Daniel Britten 2025-08-21 21:26:20 +12:00
  • 5d077c1b20 Create YulContract structure with an initial model of a dispatcher Daniel Britten 2025-08-21 21:27:05 +12:00
  • 542ba3dfff Finmap approach to modelling external calls Daniel Britten 2025-08-19 14:03:28 +12:00
  • a9912a0883 Add semantics for POP for Yul Daniel Britten 2025-08-15 16:25:20 +12:00
  • 856cbdeeb7 Move .Yul, _ case to the end of the match statement Daniel Britten 2025-08-15 16:21:27 +12:00
  • 2ae9c5e986 Handle EVM/Yul OperationType in conformance tests Daniel Britten 2025-08-15 15:21:46 +12:00
  • fa81fd6da3 Add BEq and Repr instances as some are needed for the conformance tests Daniel Britten 2025-08-15 15:19:43 +12:00
  • 2ea717cb82 Fix flow on effects of using EVM/Yul OperationType Daniel Britten 2025-08-15 14:22:06 +12:00
  • f0cd224043 Make PersistentAccountState depend on EVM/Yul OperationType Daniel Britten 2025-08-12 17:06:02 +12:00