Cyrill Leutwiler
a04eacabff
Support solc v0.8.26 ( #22 )
2024-06-05 12:03:16 +02:00
xermicus
68ec8be49f
Implement the PUSHDEPLOYADDRESS instruction.
...
Introduction and raison d'être in solc:
https://github.com/ethereum/solidity/pull/3203
TL;DR: Exists to guard libraries from being called directly.
Hence we substitute PUSHDEPLOYADDRESS (the zero address) via a call
to the address API to let the library constructor fetch its own
address. In the zkSync target they do exactly the same.
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-05 10:34:53 +02:00
Cyrill Leutwiler
1ba806be1f
Contract calls ( #19 )
2024-06-01 20:48:20 +02:00
Cyrill Leutwiler
532721f3be
Implement MCOPY ( #18 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-29 21:43:22 +02:00
xermicus
5138fe3d06
implement EXTCODESIZE
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-22 22:56:03 +02:00
Cyrill Leutwiler
06aa289d9b
Constructors and contract creation ( #11 )
...
Implement constructor logic and support create/create2 in the mock runtime
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-22 21:35:32 +02:00
Cyrill Leutwiler
864e40901f
implement address and msg.sender
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-05-08 16:10:48 +02:00
xermicus
6f080bb9f4
rename binary to resolc
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-08 11:16:24 +02:00
xermicus
e958da5cd1
rename file extensions
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-08 11:02:05 +02:00
xermicus
b55669f5c5
remove the zkasm format
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-08 10:48:01 +02:00
Chris
169740eb5e
fix: addressed assembly text build mechanism ( #9 )
...
Use `build.assembly_text` for `--asm` output
2024-05-08 09:36:17 +02:00
xermicus
c0dd845b39
s/field/word
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-07 13:37:17 +02:00
xermicus
9f8a8a782d
1.78 clippies
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-06 14:34:51 +02:00
Chris
a75fc55133
feat: use PolkaVM disassembler ( #6 )
...
Integrate the PolkaVM disassembler to fix `--asm` output
Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-05-03 12:31:24 +02:00
xermicus
336fc63f1d
rename target to polkavm
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-02 08:47:44 +02:00
xermicus
426f673b0a
use normal style for comments
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-01 16:12:32 +02:00
xermicus
72515254fe
rename llvm-context crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-01 15:45:09 +02:00
xermicus
44ae9e77d5
clippies
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-26 10:39:56 +02:00
Cyrill Leutwiler
df8ebb61ec
Integrate benchmarks and differential tests against an EVM interpreter ( #7 )
2024-04-24 18:51:19 +02:00
xermicus
bd10742ef8
allow solc v0.8.25
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-23 11:47:16 +02:00
xermicus
7aa27516e4
remove zkEVM extensions
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-15 15:22:23 +02:00
xermicus
17832855e0
implement msize opcode
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-26 12:03:28 +01:00
xermicus
c52a8d0f20
add common crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-22 16:19:18 +01:00
xermicus
6d058a42ed
suppress warnings about unused things
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-12 18:16:12 +01:00
Cyrill Leutwiler
cffa14a4d2
Emerge Yul recompiler ( #1 )
...
Provide a modified (and incomplete) version of ZKSync zksolc that can compile the most basic contracts
2024-03-12 12:06:02 +01:00