Sebastian Miasojed
2b7a510521
Disable large contract test on firefox
2025-02-11 11:01:30 +01:00
Sebastian Miasojed
381827b58b
Rename resolc_packed to resolc_web
2025-02-11 10:22:58 +01:00
Sebastian Miasojed
646da0f17c
Rename resolc_packed to resolc_loader
2025-02-11 10:04:14 +01:00
Sebastian Miasojed
1187317fd2
Merge remote-tracking branch 'origin/main' into sm/js-asserts
2025-02-11 09:34:34 +01:00
xermicus
374563bbe5
integration: add function pointer integration test ( #205 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-02-10 18:50:12 +01:00
xermicus
a921e425b4
CI: fix and pin geth ( #206 )
2025-02-10 17:39:44 +01:00
xermicus
60fc09f787
llvm-context: disable call re-entrancy for send and transfer ( #196 )
2025-02-06 16:49:50 +01:00
Sebastian Miasojed
10b8ff989c
Align emscripten compilation options ( #180 )
2025-02-06 00:37:10 +01:00
xermicus
157647d5c1
remove superfluous warning and clippy allows ( #194 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2025-02-05 12:44:29 +01:00
xermicus
35419e8202
solidity: update custom warnings and version validation ( #193 )
2025-02-05 11:42:35 +01:00
xermicus
de3e7bf253
integration: add create2 test case with duplicate salt ( #188 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-02-04 14:04:14 +01:00
xermicus
9fb24b607d
disable werror ( #191 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-02-04 12:43:56 +01:00
xermicus
ba7310fdff
integration: bugfix blob cache ( #192 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2025-02-04 12:11:25 +01:00
dependabot[bot]
4ef495beea
Bump openssl from 0.10.68 to 0.10.70 ( #190 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.68 to 0.10.70.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.68...openssl-v0.10.70 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 07:28:29 +01:00
xermicus
8ed689e7ec
solidity: various small resolc fixes ( #189 )
2025-02-03 16:16:54 +01:00
xermicus
bfda465c32
remove support for legacy evm assembly ( #186 )
2025-02-03 14:13:43 +01:00
xermicus
ab90af49df
Solidity: add --libraries to sources ( #187 )
...
* bugfix: add libraries to sources
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-01-31 18:08:11 +01:00
Sebastian Miasojed
8201401fef
Fix stack overflow issue ( #184 )
2025-01-31 14:31:34 +01:00
Sebastian Miasojed
ef22770bd3
Disable large contract test for Bun and Firefox
2025-01-29 16:01:56 +01:00
Sebastian Miasojed
f49dcbe2b8
Revert "Remove not needed options"
...
This reverts commit 69d81c9682 .
2025-01-29 15:55:24 +01:00
Sebastian Miasojed
137ff4a519
Pack resolc with deps to one file
2025-01-29 15:44:00 +01:00
xermicus
1a8a7926e9
implement the coinbase opcode ( #179 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-29 15:24:45 +01:00
xermicus
bec5d60b7c
release resolc-0.1.0-dev.9 ( #178 )
...
Signed-off-by: xermicus <cyrill@parity.io >
v0.1.0-dev.9
2025-01-29 12:49:54 +01:00
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
Sebastian Miasojed
8f87d01101
Enable bun tests
2025-01-27 20:15:40 +01:00
Sebastian Miasojed
b1d16eef23
Back to O3
2025-01-27 17:33:04 +01:00
Sebastian Miasojed
69d81c9682
Remove not needed options
2025-01-27 17:26:11 +01:00
Sebastian Miasojed
ff6bb5593d
Fix package creation issue
2025-01-24 16:02:01 +01:00
Sebastian Miasojed
3035542a1c
Add minification for resolc_packed.js
2025-01-24 15:37:49 +01:00
Sebastian Miasojed
e9d3ec2079
Rollback soljson cleaning
2025-01-23 17:20:11 +01:00
Sebastian Miasojed
e2ccdaae00
Add Wasm compression
2025-01-23 16:26:20 +01:00
Sebastian Miasojed
a4e29b3f3e
Apply revive comments
2025-01-23 15:32:54 +01:00
Sebastian Miasojed
66534f4e8c
Allow GC to do the cleanup
2025-01-23 14:46:04 +01:00
Sebastian Miasojed
66975af7bc
Upload resolc_packed.js from GHA
2025-01-23 12:12:16 +01:00
Sebastian Miasojed
82f83c910a
Add again resolc.wasm link
2025-01-23 12:05:56 +01:00
Sebastian Miasojed
8a18f08aff
Pack resolc.wasm and resolc.js to resolc_packed.js
2025-01-23 11:59:50 +01:00
Sebastian Miasojed
888723eb0d
Fix issue with relative path in web worker ( #169 )
2025-01-22 23:58:47 +01:00
Cyrill Leutwiler
fe1b3258d2
bump crate versions ( #171 )
...
- bump crate versions
- point out the supported polkadot sdk version in the changelog
v0.1.0-dev.8
2025-01-17 17:29:38 +01:00
Cyrill Leutwiler
d8a72e580b
release resolc-0.1.0-dev.8 ( #170 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-17 17:00:25 +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
Sebastian Miasojed
b78b2b2af9
Add test fixtures for the revive WASM version ( #160 )
2025-01-16 16:01:34 +01:00
Cyrill Leutwiler
8ffe072fee
pin the LLVM version ( #166 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-16 10:45:43 +01:00
Cyrill Leutwiler
71fb3ab8d6
vet the Makefile ( #165 )
...
- Move the emscripten target flags into the target configuration.
- Improve the readability of the Makefile.
Signed-off-by: xermicus <cyrill@parity.io >
2025-01-15 22:26:56 +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
4fbfb97b9e
Fix the Wasm build cache ( #159 )
...
Follow-ups for https://github.com/paritytech/revive/pull/154
- Fix the cache in the Wasm build
- Remove a no longer needed script
- The Wasm build job uses parity-large
2025-01-15 11:36:59 +01:00
Sebastian Miasojed
939138d0cd
Add the revive tests in the browsers ( #158 )
2025-01-14 22:29:02 +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