Cyrill Leutwiler
7f81f37e0c
revive llvm builder utility ( #154 )
...
Pre-eliminary support for LLVM releases and resolc binary releases by streamlining the build process for all supported hosts platforms.
- Introduce the revive-llvm-builder crate with the revive-llvm builder utilty.
- Do not rely on the LLVM dependency in $PATH to decouple the system LLVM installation from the LLVM host dependency.
- Fix the emscripten build by decoupling the host and native LLVM dependencies. Thus allowing a single LLVM emscripten release that can be used on any host platform.
- An example Dockerfile building an alpine container with a fully statically linked resolc ELF binary.
- Remove the Debian builder utilities and workflow.
2025-01-13 15:58:27 +01:00
Cyrill Leutwiler
952c5cc894
resolc-0.1.0-dev.7 ( #143 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-12-20 14:33:08 +01:00
Cyrill Leutwiler
d8752ec6b5
the basefee opcode ( #142 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-12-19 18:59:10 +01:00
Cyrill Leutwiler
6ad846a285
the base fee opcode ( #141 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-12-19 12:44:15 +01:00
Cyrill Leutwiler
3f9771f838
update and fix the linker ( #140 )
2024-12-18 23:11:06 +01:00
Cyrill Leutwiler
22070a824d
the gas limit opcode ( #139 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-12-18 20:31:42 +01:00
Cyrill Leutwiler
d299dd1a19
change getters to register version ( #138 )
2024-12-18 17:56:37 +01:00
Cyrill Leutwiler
14a598e840
implement the gas opcode ( #136 )
2024-12-18 17:19:32 +01:00
Cyrill Leutwiler
909de515c4
Allow arbitrary call data size ( #135 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-12-18 14:04:46 +01:00
Cyrill Leutwiler
4e5482bad2
fix the commit sha in the version ( #129 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-12-03 12:34:17 +01:00
Cyrill Leutwiler
0110258d81
release 0.1.0 dev.6 ( #128 )
2024-11-29 17:45:47 +01:00
Cyrill Leutwiler
f0d9d44dce
Implement the gasprice opcode ( #127 )
2024-11-29 17:14:27 +01:00
Cyrill Leutwiler
423a494621
Switch target to 64bit and enable the zbb feature ( #120 )
2024-11-29 15:56:10 +01:00
dependabot[bot]
93f1deb6a5
Bump rustls from 0.23.17 to 0.23.18 ( #121 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.17 to 0.23.18.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.17...v/0.23.18 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-29 09:50:29 +01:00
Sebastian Miasojed
229c0d452d
Merge remote-tracking branch 'origin/main' into resolc.js
2024-11-25 10:54:44 +01:00
Ermal Kaleci
01b5ed5ba3
Implement delegate_call ( #80 )
2024-11-23 18:05:21 +01:00
Cyrill Leutwiler
dbb47fd13e
experimental: support for debug info ( #118 )
...
Signed-off-by: wpt967 <matt.aw@parity.io >
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-22 08:56:09 +01:00
Sebastian Miasojed
fcbe00f4a9
Merge branch 'main' into resolc.js
2024-11-20 12:51:10 +01:00
Cyrill Leutwiler
3232382d96
update dependencies ( #115 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-15 13:50:55 +01:00
Sebastian Miasojed
4f6debcbe3
Make native version to compaile again
2024-11-07 15:04:35 +01:00
Cyrill Leutwiler
4cce4a729e
pre-release v0.1.0-dev.5 ( #110 )
2024-10-31 15:22:34 +01:00
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