Commit Graph
4623 Commits
Author SHA1 Message Date
Hamy Ratoanina d2b549affc Constrain uninitialized memory to 0 (#1318) 2023-11-03 19:52:12 -04:00
wborgeaud f71f227d3c Add test for selfdestruct (#1321)
* Add test for selfdestruct

* Comment
2023-11-02 07:56:21 +01:00
Robin Salen 1e8ed78f5a Merge pull request #1320 from topos-protocol/fix-combine-keccak-jumpdest
Fix merging of jumpdest and keccak_general.
2023-11-01 11:12:06 -04:00
Linda Guiga 85b38bec19 Fix merging of jumpdest and keccak_general. 2023-11-01 11:08:57 -04:00
Linda Guiga 413620751e Combine JUMPDEST and KECCAK_GENERAL flags. (#1259)
* Combine JUMPDEST and KECCAK_GENERAL flags.

* Apply comments
2023-11-01 10:43:09 -04:00
Hamy Ratoanina 20501d9bb5 Add context constraints (#1260) 2023-11-01 09:08:32 -04:00
Robin Salen 3ca166204a Merge pull request #1317 from topos-protocol/more_memcpy_bytes 2023-10-31 10:27:58 -04:00
Linda Guiga 6332900d86 Combine PUSH0 and PC flags. (#1256) 2023-10-30 15:43:06 -04:00
Robin SalenandLinda Guiga 0d97b93af5 Add some documentation in EVM crate (#1295)
Co-authored-by: Linda Guiga <linda.guiga@toposware.com>
2023-10-30 14:28:24 -04:00
Robin Salen afd357f4bf More of memcpy_bytes 2023-10-30 14:15:15 -04:00
Robin Salen 0f299d4c2e Merge pull request #1316 from topos-protocol/memcpy_tiny
Move empty check inside final iteration of memcpy_bytes
2023-10-30 14:12:18 -04:00
Linda Guiga af4935cde8 Merge NOT and POP flags. (#1257)
* Merge NOT and POP flags

* Add comments

* Disable remaining memory channels for POP

* Apply comments

* Fix stack
2023-10-30 14:05:54 -04:00
Hamy Ratoanina 4b40bc0313 Remerge context flags (#1292)
* Remerge context flags

* Apply comments and revert some unwanted changes
2023-10-30 12:56:11 -04:00
Robin Salen c96a8700af Move empty check inside final iteration 2023-10-30 08:33:58 -04:00
Robin Salen 0258ad4a3d Merge pull request #1314 from topos-protocol/refactor_wcopy
Refactor `%wcopy` and unify {ext}codecopy related code
2023-10-27 11:47:42 -04:00
Robin Salen 6f52b76d03 Review 2023-10-27 11:16:47 -04:00
Robin Salen 7447959fad Fix kexit_info in test 2023-10-27 11:15:23 -04:00
Linda Guiga 666a155d4a Remove new_stack_top_channel from StackBehavior (#1296) 2023-10-26 17:52:54 -04:00
Robin Salen 15a9e9928a Fix test on interpreter side 2023-10-26 17:08:40 -04:00
Robin Salen 75fdd342f5 Fix calldatacopy 2023-10-26 15:59:40 -04:00
Robin Salen ade5b8c39b Fix 2023-10-26 15:46:55 -04:00
Robin Salen a9e47afc07 Refactor codecopy 2023-10-26 15:24:53 -04:00
Robin Salen a1b178f6c7 Refactor memcpy 2023-10-26 11:47:21 -04:00
Robin Salen 3feb04d252 Refactor wcopy syscalls 2023-10-26 11:47:21 -04:00
Hamy Ratoanina 3aeec83a05 Add missing constraints for DUP/SWAP (#1310) 2023-10-26 09:59:02 -04:00
Robin Salen 44af80f244 Merge pull request #1309 from topos-protocol/fix_padding_in_wcopy
Fix `wcopy` and `extcodecopy` for ranges over code limit
2023-10-25 10:01:31 -04:00
Robin Salen c1c1ab6d0f Fix wcopy and extcodecopy for ranges over code limit 2023-10-24 18:10:06 -04:00
Robin Salen ed5ec3ca9c Merge pull request #1307 from topos-protocol/fmt
Apply rustfmt with latest nightly
2023-10-24 08:50:15 -04:00
Robin Salen b31f70612e Apply rustfmt with latest nightly 2023-10-24 07:26:45 -04:00
Robin Salen b212fff72f Merge pull request #1306 from topos-protocol/fix_empty_last_chunk 2023-10-24 06:40:46 -04:00
bing 8326db604c refactor: remove usage of unstable generic_const_exprs in starky (#1300) 2023-10-23 20:20:00 -04:00
Robin Salen 60811d083f Also for memset 2023-10-23 19:40:32 -04:00
Robin Salen 83054b0ffe Handle empty case for memcpy_bytes 2023-10-23 19:12:54 -04:00
Robin Salen 8af189b927 Merge pull request #1305 from topos-protocol/memset
Speed-up memset and fix it to write 0 values
2023-10-23 09:34:46 -04:00
Robin Salen 385ab3c64f Remove redundant 2023-10-23 08:15:10 -04:00
Robin Salen d185d30e89 Speed-up memset and fix it to write 0 values 2023-10-23 07:55:09 -04:00
Robin Salen 0300a322de Merge pull request #1304 from topos-protocol/memcpy_bytes
Add macro for copying sequences of bytes
2023-10-23 07:32:07 -04:00
Robin Salen 4140eb54f4 Fix 2023-10-23 07:20:52 -04:00
Robin Salen 503a31b6f0 Reviews 2023-10-23 07:16:39 -04:00
Robin Salen e2b662062a Merge pull request #1302 from topos-protocol/remove_kernel_memory_zeroing 2023-10-23 06:33:05 -04:00
Robin Salen 9607a41b84 Merge pull request #1303 from topos-protocol/amortize_receipt_reset 2023-10-23 06:32:27 -04:00
Robin Salen 595dfa6bdb Merge pull request #1301 from topos-protocol/submod_kernel 2023-10-23 06:31:29 -04:00
Robin Salen ba61d15cf9 Add macro for copying sequences of bytes 2023-10-21 16:36:41 -04:00
Robin Salen 6d2586ef58 Amortize bloom reset 2023-10-21 14:39:34 -04:00
Robin Salen 40de505954 Remove outdated code 2023-10-21 13:36:22 -04:00
Robin Salen 07ffe4f591 Combine stack macros for fewer operations 2023-10-21 13:04:27 -04:00
Robin Salen 6ca9970a3b Alter stack to remove SWAPs for SUBMOD 2023-10-21 12:17:04 -04:00
Robin Salen 29005dc586 Use SUBMOD in Kernel 2023-10-21 11:44:23 -04:00
Linda Guiga 05006deb44 Pad according to RATE rather than WIDTH (#1299) 2023-10-21 07:51:26 -04:00
Robin Salen 49976ea2a9 Check gas in sys_stop (#1297) 2023-10-19 07:55:39 -04:00