xermicus
3608a5a143
runtime-api: pass call arguments in registers instead of spilling to stack ( #174 )
...
Companion to paritytech/polkadot-sdk#7319
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-28 12:45:54 +01:00
Cyrill Leutwiler
bd1a22a702
update polkavm to 0.19 ( #167 )
...
paritytech/polkadot-sdk#7203 companion:
- Update the polkavm dependency to the latest version.
- Update the polkadot-sdk to the latest version.
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-17 16:59:45 +01:00
Cyrill Leutwiler
cec283986f
llvm-builder: do not build clang by default ( #168 )
...
We only need LLD for cross compilation. This significantly reduces the LLVM build times in a cross compilation scenario. Update the README as a drive-by.
2025-01-17 16:03:04 +01:00
Siphamandla Mjoli
06f43083c3
multiple resolc fixes and improvements ( #151 )
...
- Error out early on compiler invocations with invalid base path or include path flags.
- Do not error out if no files and no errors were produced. This aligns resolc closer to sloc.
- Add a CLI test with an involved fixture containing multiple contract remappings to properly testing the standard JSON path.
- Fixes input normalization in the Wasm version.
Co-authored-by: Cyrill Leutwiler <cyrill@parity.io >
2025-01-17 10:10:47 +01:00
Cyrill Leutwiler
3e7579580b
vet workspace dependencies ( #163 )
...
- Update the used workspace dependencies.
- Remove the unused workspace dependencies.
- Add the machete CI workflow.
2025-01-15 20:14:54 +01:00
Cyrill Leutwiler
ad805543b3
call and create set uncapped resource limits ( #161 )
...
- polkadot-sdk#6890 companion
- Adjust the gas price constant for the required polkadot-sdk version as a drive-by
2025-01-15 17:32:31 +01:00
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
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
2cb8f82266
calls: supply max ref_time and proof_size limits ( #133 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-12-10 16:31:44 +01:00
Cyrill Leutwiler
6f2f158ef1
fix new clippy lint ( #132 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-12-10 15:24:25 +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
f0d9d44dce
Implement the gasprice opcode ( #127 )
2024-11-29 17:14:27 +01:00
Cyrill Leutwiler
3f6cd115ee
update warnings ( #126 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-29 16:23:36 +01:00
Cyrill Leutwiler
7c00bbb0fc
remove unneeded utils ( #125 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-29 16:21:24 +01:00
Cyrill Leutwiler
423a494621
Switch target to 64bit and enable the zbb feature ( #120 )
2024-11-29 15:56:10 +01:00
Sebastian Miasojed
229c0d452d
Merge remote-tracking branch 'origin/main' into resolc.js
2024-11-25 10:54:44 +01:00
Sebastian Miasojed
4e024655a1
Add support for esm and cjs modules
2024-11-25 10:26:22 +01:00
Ermal Kaleci
01b5ed5ba3
Implement delegate_call ( #80 )
2024-11-23 18:05:21 +01:00
xermicus
84d47fa738
fix missing semicolon
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-22 16:14:07 +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
Cyrill Leutwiler
87f2bcefb3
dump the elf shared object into the debug output directory ( #119 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-11-21 21:48:42 +01:00
Sebastian Miasojed
05925f25f1
Update comment
2024-11-21 13:57:00 +01:00
Cyrill Leutwiler
89ddfb28c8
CI: ignore the broken test ( #116 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-11-21 12:22:15 +01:00
Sebastian Miasojed
fcbe00f4a9
Merge branch 'main' into resolc.js
2024-11-20 12:51:10 +01:00
Sebastian Miasojed
cdebf69fc0
Fix stdin support
2024-11-20 10:54:15 +01:00
Sebastian Miasojed
39e504703e
Add test with standard json args
2024-11-18 16:52:56 +01:00
Sebastian Miasojed
3072c03600
Fix parallel feature
2024-11-18 13:59:48 +01:00
Sebastian Miasojed
d88ddb25bd
Refactor soljson compiler
2024-11-18 12:19:36 +01:00
Sebastian Miasojed
87dd77b784
Remove libsolc crate
2024-11-18 11:07:45 +01:00
Cyrill Leutwiler
3232382d96
update dependencies ( #115 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-11-15 13:50:55 +01:00
Cyrill Leutwiler
6a120463c2
implement the blockhash opcode ( #114 )
2024-11-15 13:11:04 +01:00
Sebastian Miasojed
881b88354c
Rename compiler to solc
2024-11-14 17:09:03 +01:00
Sebastian Miasojed
010a2ed223
Fmt
2024-11-14 11:44:48 +01:00
Sebastian Miasojed
ce8bf3d9ef
Apply suggestions from previous review
2024-11-14 11:20:33 +01:00
Cyrill Leutwiler
f947984671
update 64bit target flags ( #113 )
2024-11-14 10:29:21 +01:00
Sebastian Miasojed
14991f40ac
Fix CI for wasm path
2024-11-13 15:34:41 +01:00
Sebastian Miasojed
64fefe76b5
Removed not needed libs from linking process
2024-11-12 16:07:21 +01:00
Sebastian Miasojed
94445bab93
Fix compilation for wasm target
2024-11-08 12:06:11 +01:00
Sebastian Miasojed
b6baf6cfd9
Make wasm version to compile
2024-11-08 09:54:10 +01:00
Sebastian Miasojed
b7b28efded
Update solc compiler version check
2024-11-07 15:30:00 +01:00
Sebastian Miasojed
d260472330
Fmt
2024-11-07 15:15:52 +01:00
Sebastian Miasojed
4f6debcbe3
Make native version to compaile again
2024-11-07 15:04:35 +01:00
Sebastian Miasojed
9b23e19479
Fix Cargo.toml
2024-11-07 09:43:44 +01:00
Sebastian Miasojed
88a888d138
Merge remote-tracking branch 'origin/main' into resolc.js
2024-11-06 15:04:34 +01:00