Cyrill Leutwiler
43d2ef3ce9
implement the code size opcodes ( #107 )
2024-10-31 11:46:47 +01:00
Cyrill Leutwiler
36d9317831
update the polkadot-sdk and polkavm dependencies ( #104 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-30 09:28:24 +01:00
Cyrill Leutwiler
f985f42370
update polkadot-sdk and inkwell dependencies ( #101 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-29 11:27:44 +01:00
Cyrill Leutwiler
995b115c5f
bump polkadot-sdk and polkavm ( #94 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-10-22 19:50:58 +02:00
Ermal Kaleci
ee83d28a51
Implement extcodehash ( #77 )
2024-10-21 10:13:50 +02:00
Cyrill Leutwiler
5bf31db660
bump polkavm and polkadot-sdk ( #87 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-15 10:46:20 +02:00
Cyrill Leutwiler
d5d419cefc
implement immutable variables codegen ( #70 )
2024-10-10 13:33:00 +02:00
xermicus
b344e0cff5
Revert "implement immutable variables codegen"
...
This reverts commit 0e6a6d12c3 .
2024-10-09 03:43:05 +02:00
xermicus
0e6a6d12c3
implement immutable variables codegen
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-10-09 03:37:56 +02:00
Cyrill Leutwiler
6585973e99
Updated call semantics ( #56 )
...
- Update pallet-revive dependency
- Implement calls according to pallet-revive call semantics
- Switch to the new return data API in pallet revive and get rid of return data buffer
- Remove a bunch of resulting dead code
2024-09-28 20:03:03 +02:00
Cyrill Leutwiler
287272b789
sync runtime with the pallet ( #54 )
2024-09-24 09:14:36 +02:00
Cyrill Leutwiler
77df88b3cb
update dependencies
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-10 09:04:55 +02:00
Cyrill Leutwiler
2955f77772
implement self balance
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-09 09:40:24 +02:00
Cyrill Leutwiler
393d90165e
pallet_revive: Account20 ( #41 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-04 12:42:41 +02:00
Cyrill Leutwiler
d2f76b645f
switch to pallet_revive runtime ( #40 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-03 17:18:22 +02:00
xermicus
5d742d150d
tidy up workspace
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-24 16:09:07 +02:00
Cyrill Leutwiler
7844bbb604
add runner crate ( #34 )
...
Signed-off-by: xermicus <cyrill@parity.io >
Co-authored-by: xermicus <cyrill@parity.io >
Co-authored-by: pgherveou <pgherveou@gmail.com >
2024-08-24 03:20:52 +02:00
Cyrill Leutwiler
880305dbfb
replace deprecated structopt crate with clap ( #33 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-23 18:25:08 +02:00
Cyrill Leutwiler
184d40d377
Upgrade inkwell ( #31 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-19 18:40:35 +02:00
xermicus
a4c4ad55dc
remove extensions crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-18 16:08:35 +02:00
xermicus
d9a304d162
integration: cache contract blob artifacts after compilation
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-04 19:14:52 +02:00
Cyrill Leutwiler
1ba806be1f
Contract calls ( #19 )
2024-06-01 20:48:20 +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
d8be21f156
update PolkaVM
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-05-15 10:12:52 +02:00
xermicus
02055c73bb
extend mock runtime to allow executing constructors and cross contract calls
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-13 13:50:35 +02:00
xermicus
03a1918993
parallelize tests
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-10 10:54: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
95ff85c6d1
implement block.number and block.timestamp
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-07 18:03:17 +02:00
xermicus
518c03d045
internalize runtime API function symbols
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-06 13:45:58 +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
72515254fe
rename llvm-context crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-05-01 15:45:09 +02:00
xermicus
9b341853b4
update to polkavm with lazy execution
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-30 15:23:44 +02:00
Cyrill Leutwiler
df8ebb61ec
Integrate benchmarks and differential tests against an EVM interpreter ( #7 )
2024-04-24 18:51:19 +02:00
xermicus
b3b4f4c9ae
add sha1 contract function integration test
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-18 12:34:35 +02:00
xermicus
7aa27516e4
remove zkEVM extensions
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-15 15:22:23 +02:00
xermicus
45a082d9a8
LLVM 18
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-04-10 10:05:48 +02:00
Cyrill Leutwiler
a76c5578cc
bump Cargo.lock
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-03-25 15:59:49 +01:00
xermicus
c52a8d0f20
add common crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-22 16:19:18 +01:00
Cyrill Leutwiler
50f2dd9b74
Polkavm heap ( #2 )
...
Use PolkaVM heap
2024-03-22 12:41:41 +01:00
xermicus
e83e4f04e6
add crate for custom isa extensions
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-20 10:59:02 +01:00
xermicus
2b9e40225d
implement calldatacopy
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-03-19 10:49:47 +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
Cyrill Leutwiler
d238d8f39e
custom ir
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-02-02 09:10:03 +01:00
xermicus
7a094f17c0
add more crates
...
Signed-off-by: xermicus <cyrill@parity.io >
2023-12-09 17:48:52 +01:00
Cyrill Leutwiler
426ab4b095
initial commit
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2023-12-07 20:37:23 +01:00