Cyrill Leutwiler
b19981a513
division functions
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-07-04 16:18:30 +02:00
Cyrill Leutwiler
10e50e446b
restore
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-07-04 15:51:00 +02:00
Cyrill Leutwiler
939a8f2f78
add simulated evm math opcode syscalls
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-07-04 15:45:59 +02:00
xermicus
ed608699af
release resolc v0.3.0 ( #354 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
v0.3.0
2025-06-28 12:32:48 +02:00
xermicus
75fc23c810
add the missing memset builtin ( #353 )
...
Closes #350
- Add the missing `memset` builtin which was accidentally deleted in a
previous PR.
- Add a compilation test to ensure the `memset` builtin is present.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-06-28 12:01:34 +02:00
xermicus
486c9c28a1
new clippies ( #352 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-06-28 11:48:24 +02:00
PG Herveou
7656c6a8b4
js: Add stats and override options ( #348 )
...
- Add `RESOLC_BIN` env variable to force use a binary compiler instead
of the wasm
- Add `--diff-stats` options to print file path
e.g
```
~/github/redstone-oracles-monorepo main*
❯ npx @parity/resolc@latest --diff-stats \
--base-path . \
--include-path node_modules \
--bin packages/evm-connector/contracts/samples/SampleWithEvents.sol
┌─────────┬──────────────────────────────────────────────────────────────────────────┬───────────────────────────────┬────────────┬────────────┬───────────┐
│ (index) │ file │ contract │ polkavm │ bin │ diff │
├─────────┼──────────────────────────────────────────────────────────────────────────┼───────────────────────────────┼────────────┼────────────┼───────────┤
│ 0 │ 'packages/evm-connector/contracts/core/CalldataExtractor.sol' │ 'CalldataExtractor' │ '4.31 kB' │ '2.53 kB' │ '70.12%' │
│ 1 │ 'packages/evm-connector/contracts/core/RedstoneConstants.sol' │ 'RedstoneConstants' │ '0.80 kB' │ '0.17 kB' │ '368.18%' │
│ 2 │ 'packages/evm-connector/contracts/core/RedstoneDefaultsLib.sol' │ 'RedstoneDefaultsLib' │ '0.90 kB' │ '0.31 kB' │ '189.06%' │
│ 3 │ 'packages/evm-connector/contracts/libs/BitmapLib.sol' │ 'BitmapLib' │ '0.90 kB' │ '0.31 kB' │ '189.06%' │
│ 4 │ 'packages/evm-connector/contracts/libs/NumericArrayLib.sol' │ 'NumericArrayLib' │ '0.90 kB' │ '0.31 kB' │ '189.06%' │
│ 5 │ 'packages/evm-connector/contracts/libs/SignatureLib.sol' │ 'SignatureLib' │ '0.90 kB' │ '0.31 kB' │ '189.06%' │
│ 6 │ 'packages/evm-connector/contracts/mocks/RedstoneConsumerNumericMock.sol' │ 'RedstoneConsumerNumericMock' │ '13.62 kB' │ '10.17 kB' │ '33.96%' │
│ 7 │ 'packages/evm-connector/contracts/samples/SampleWithEvents.sol' │ 'SampleWithEvents' │ '29.34 kB' │ '15.60 kB' │ '88.03%' │
└─────────┴──────────────────────────────────────────────────────────────────────────┴───────────────────────────────┴────────────┴────────────┴───────────┘
```
2025-06-19 12:17:09 +02:00
xermicus
8754d802fa
llvm-context: bugfix PHI values in SAR builtin translation ( #345 )
...
Closes #344
Signed-off-by: xermicus <cyrill@parity.io >
2025-06-14 15:12:03 +02:00
PG Herveou
63f0266fff
@parity/resolc fix sol file resolutions ( #343 )
...
second take on #339
turns out that the resolve-pkg npm package was also failing to properly
resolve package with an exports field define in the package.json.
This fixes it and add a test case with such a package
2025-06-05 10:05:53 +02:00
xermicus
e94432eaa0
ci: the resolc version dictates binary releases ( #341 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
v0.2.0
2025-06-03 15:47:33 +02:00
xermicus
1fc3aa1554
release resolc v0.2.0 ( #340 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-06-03 15:36:54 +02:00
Chris
a77ab501c8
fix: exclude EVM bytecode from production solc requests ( #338 )
...
This is to address issue #320
## Introduced changes
- Added new_required_for_tests() method that includes EVM bytecode flags
- Modified new_required() to exclude evm.bytecode and
evm.deployedBytecode
- Updated test utilities to explicitly request EVM bytecode when needed
Signed-off-by: 0xf333 <0x333@tuta.io >
2025-06-03 10:43:52 +02:00
xermicus
8a3c587bbe
solc-json-interface: do not unconditionally skip serialization of custom keys ( #337 )
...
The data structure can be used to build the JSON input for `resolc` too.
In that case serializing of provided custom options should not be
dismissed.
Makes the memory settings struct more modular as a drive-by.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-06-03 08:17:54 +02:00
PG Herveou
45b6a57cae
Fix npm package resolution ( #339 )
...
Current approach fails with an 'ERR_PACKAGE_PATH_NOT_EXPORTED' error for
npm package that defines an exports field in the package.json
e.g:
> require.resolve('@redstone-finance/evm-connector/package.json')
will fail with
Uncaught:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json'
is not defined by "exports" in
/home/pg/github/evm-test-suite/eth-rpc/node_modules/@redstone-finance/evm-connector/package.json
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
2025-06-02 14:41:06 +02:00
xermicus
8a730f42cc
update NPM package version ( #336 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-28 08:15:41 +02:00
xermicus
413819facd
do not use wildcard dependency in resolc crate ( #335 )
...
Do not use wildcard dependency in resolc crate. No sure why the publish
dry-run doesn't catch this.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 14:19:24 +02:00
xermicus
fa0ad68279
make resolc crate publishable ( #334 )
...
- Fetching the commit SHA must not panic if not executed in a git
repository.
- Remove the license printer.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 14:13:12 +02:00
xermicus
004c71d5d5
add description to revive-differential ( #333 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 13:26:05 +02:00
xermicus
4d659ac2a6
release resolc v0.1.0 ( #332 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
v0.1.0
2025-05-27 12:06:42 +02:00
xermicus
ed9dc60417
bump dependencies ( #331 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 11:24:15 +02:00
xermicus
3b9144ef3b
add installation instructions to the readme ( #330 )
...
Closes #294
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 10:23:42 +02:00
xermicus
bd4e108bb0
resolc crate ( #328 )
...
- Factor the YUL crate out of `revive-solidity`.
- `revive-solidity` is in reality not a Solidity implementation but the
revive solidity compiler driver (`resolc`). By renaming we not only get
this straight but also a binary with the same name as the crate which
should be less confusing.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 09:48:43 +02:00
xermicus
090e3ac13c
bugfix an env var in the release workflow ( #329 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-27 09:29:25 +02:00
xermicus
3389865af7
solc-json-interface: make the input Cloneable ( #323 )
...
It helps external consumers working with the
`revive-solc-json-interface` crate.
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-21 10:03:32 +02:00
xermicus
af39d506d9
update emsdk ( #324 )
...
Update Emscripten SDK to latest version `v4.0.9`.
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
llvm-18.1.8-revive.af39d50
2025-05-21 07:01:41 +02:00
xermicus
bb2f829361
expose custom PVM settings in the standard json interface ( #318 )
...
Exposes the following PolkaVM specific options via the standard json
interface:
- Heap size
- Stack size
- Whether to emit source level debug information
Additionally it is now forbidden to specify those as CLI option in
standard JSON mode. They are bytecode altering options and having
multiple ways to specify them creates unnecessary room for confusion:
The standard JSON input description should be sufficient and succint for
reproducible builds.
Closes #290
---------
Signed-off-by: xermicus <bigcyrill@hotmail.com >
2025-05-13 15:19:00 +02:00
xermicus
1b8fcc4649
Update the Rust version ( #316 )
...
- Update the Rust version to 1.85
- Update the package-lock.json
- Update the musl-cross docker image
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-09 20:00:58 +02:00
Cyrill Leutwiler
0e9e405f21
remove any git dependencies
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-09 17:26:20 +02:00
xermicus
722dd86c27
remove STATUS.md ( #315 )
...
This information is provided in the docs.
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-09 12:21:25 +02:00
PG Herveou
0421869e4b
Replace release 0.1.0-dev.15 with 0.1.0-dev.16 ( #314 )
...
add missing patch and rename release
v0.1.0-dev.16
2025-05-08 15:26:10 +02:00
xermicus
32f55b976c
update changelog ( #313 )
...
somehow went wrong
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
v0.1.0-dev.15
2025-05-08 14:16:46 +02:00
PG Herveou
459a786299
v0.1.0-dev.15 release ( #311 )
...
Co-authored-by: xermicus <cyrill@parity.io >
2025-05-08 14:09:55 +02:00
xermicus
fbaa45f283
support solc v0.8.30 ( #308 )
...
- Add support for solc `v0.8.30`. No changes in YUL or the binary
interface.
- Fix a semver bug in the NPM packages to correctly align their solc
dependencies with our last supported version.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-08 13:29:13 +02:00
xermicus
f2fac85dae
add npm package information to release checklist ( #312 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-08 13:14:28 +02:00
PG Herveou
b8f3073e29
Run lint:fix ( #309 )
2025-05-08 12:36:11 +02:00
xermicus
11d47d74ac
apply size optimizations by default ( #298 )
...
So far if no optimization level was specified, optimizations for
execution time were applied. However, we currently are a bit limited on
code size. Add to that, this setting is not available in solc and people
generally ignore the docs, generating a lot of support requests.
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-05-07 15:35:48 +02:00
xermicus
e3a9c95d32
llvm-builder: use the ninja generator for building the builtins on windows ( #299 )
...
The builtins build should use the Ninja generator (MSVC does not build a
valid archive).
Tested and verified here:
https://github.com/paritytech/revive-alex-workflowtest/releases/tag/untagged-f02d0f574bab8404fead
Closes #305
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
llvm-18.1.8-revive.e3a9c95
2025-05-07 11:10:58 +02:00
PG Herveou
a560b2d919
Fix npm-release job ( #297 )
...
follow up from #295
2025-04-30 21:48:11 +02:00
PG Herveou
e07d0f0cb7
Move @parity/resolc from js-revive ( #296 )
...
- Move npm package from paritytech/js-revive
- Rename package to `@parity/resolc`
v0.1.0-dev.14.1
2025-04-30 17:24:52 +02:00
xermicus
f6a412eef4
release resolc v0.1.0-dev.14 ( #289 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
v0.1.0-dev.14
2025-04-24 11:57:46 +02:00
xermicus
20e77cb0b5
configurable stack and heap memory size ( #288 )
...
- Allow configuration of the maximum heap and stack size via CLI flags
and JSON input settings.
- Increase the default value for the stack size to 32kb.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-24 10:47:38 +02:00
xermicus
357bf58868
allow dynamic configuration of the heap memory ( #287 )
...
This PR changes the implementation of the emulated EVM heap memory:
Instead of linking in a C implementation the code is emitted directly
into the contract module. Which allows making it configurable via a
compiler parameter (a follow up PR to this).
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-23 20:25:55 +02:00
xermicus
f937188991
revive-runner: install with locked dependencies ( #286 )
...
Make the installation of `revive-runner` easier:
- Use locked dependencies to avoid issues with downstream crates
- Make the llvm-context crate an optional dependency to the runner
- Add it to the default `test` target ensuring that this actually works
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-22 19:46:18 +02:00
xermicus
6e44488b4f
revive-runner: add a utility binary for local contract execution ( #284 )
...
I had this in mind for a while but never implemented a standalone binary
so far because I always end up writing an integration test anyways.
However, using a standalone version of the pallet based on the
revive-runner crate is something people filing in bug reports do
anyways, for example:
https://github.com/paritytech/revive/issues/266
https://github.com/paritytech/contract-issues/issues/54
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-22 15:34:51 +02:00
xermicus
5003f3e9ac
llvm-context: alloca at the function entry if possible ( #283 )
...
Closes #48
Change the code size test to no longer emit debug info as to get a more
accurate picture.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-15 15:22:24 +02:00
xermicus
431b5a2ce5
llvm-context: lazy handling of function arguments and immutable data ( #282 )
...
- Lazily load function arguments so that they can be passed as pointers.
- Lazily call the immutable store function to avoid storing zero sized
immutable data.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2025-04-14 15:54:59 +02:00
xermicus
ad3315346c
release resolc-0.1.0-dev.13 ( #279 )
v0.1.0-dev.13
2025-04-08 09:10:13 +02:00
dependabot[bot]
516f79ee0f
Bump tokio from 1.43.0 to 1.44.2 ( #281 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.43.0 to 1.44.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tokio/releases ">tokio's
releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.44.2</h2>
<p>This release fixes a soundness issue in the broadcast channel. The
channel
accepts values that are <code>Send</code> but <code>!Sync</code>.
Previously, the channel called
<code>clone()</code> on these values without synchronizing. This release
fixes the channel
by synchronizing calls to <code>.clone()</code> (Thanks Austin Bonander
for finding and
reporting the issue).</p>
<h3>Fixed</h3>
<ul>
<li>sync: synchronize <code>clone()</code> call in broadcast channel (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7232 ">#7232</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/7232 ">#7232</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7232 ">tokio-rs/tokio#7232</a></p>
<h2>Tokio v1.44.1</h2>
<h1>1.44.1 (March 13th, 2025)</h1>
<h3>Fixed</h3>
<ul>
<li>rt: skip defer queue in <code>block_in_place</code> context (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7216 ">#7216</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/7216 ">#7216</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7216 ">tokio-rs/tokio#7216</a></p>
<h2>Tokio v1.44.0</h2>
<h1>1.44.0 (March 7th, 2025)</h1>
<p>This release changes the <code>from_std</code> method on sockets to
panic if a blocking socket is provided. We determined this change is not
a breaking change as Tokio is not intended to operate using blocking
sockets. Doing so results in runtime hangs and should be considered a
bug. Accidentally passing a blocking socket to Tokio is one of the most
common user mistakes. If this change causes an issue for you, please
comment on <a
href="https://redirect.github.com/tokio-rs/tokio/issues/7172 ">#7172</a>.</p>
<h3>Added</h3>
<ul>
<li>coop: add <code>task::coop</code> module (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7116 ">#7116</a>)</li>
<li>process: add <code>Command::get_kill_on_drop()</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7086 ">#7086</a>)</li>
<li>sync: add <code>broadcast::Sender::closed</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6685 ">#6685</a>,
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7090 ">#7090</a>)</li>
<li>sync: add <code>broadcast::WeakSender</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7100 ">#7100</a>)</li>
<li>sync: add <code>oneshot::Receiver::is_empty()</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7153 ">#7153</a>)</li>
<li>sync: add <code>oneshot::Receiver::is_terminated()</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7152 ">#7152</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>fs: empty reads on <code>File</code> should not start a background
read (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7139 ">#7139</a>)</li>
<li>process: calling <code>start_kill</code> on exited child should not
fail (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7160 ">#7160</a>)</li>
<li>signal: fix <code>CTRL_CLOSE</code>, <code>CTRL_LOGOFF</code>,
<code>CTRL_SHUTDOWN</code> on windows (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7122 ">#7122</a>)</li>
<li>sync: properly handle panic during mpsc drop (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7094 ">#7094</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>runtime: clean up magic number in registration set (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7112 ">#7112</a>)</li>
<li>coop: make coop yield using waker defer strategy (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7185 ">#7185</a>)</li>
<li>macros: make <code>select!</code> budget-aware (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7164 ">#7164</a>)</li>
<li>net: panic when passing a blocking socket to <code>from_std</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7166 ">#7166</a>)</li>
<li>io: clean up buffer casts (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7142 ">#7142</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ec4b1d7215a3e1e91797ad3fb6ba0f7c7f3d2566 "><code>ec4b1d7</code></a>
chore: forward port 1.43.x</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/e3c3a56718d201fb7bb430567f05fbb64b2ef082 "><code>e3c3a56</code></a>
Merge branch 'tokio-1.43.x' into forward-port-1.43.x</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/a7b658c35bd40f6811e557aeb97cbb361b612c56 "><code>a7b658c</code></a>
chore: prepare Tokio v1.43.1 release</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/c1c8d1033d637d7027fdc137ec8008c5801cbc0d "><code>c1c8d10</code></a>
Merge remote-tracking branch 'origin/tokio-1.38.x' into
forward-port-1.38.x</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/aa303bc2051f7c21b48bb7bfcafe8fd4f39afd21 "><code>aa303bc</code></a>
chore: prepare Tokio v1.38.2 release</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/7b6ccb515ff067151ed62db835f735e5653f8784 "><code>7b6ccb5</code></a>
chore: backport CI fixes</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/4b174ce2c95fe1d1a217917db93fcc935e17e0da "><code>4b174ce</code></a>
sync: fix cloning value when receiving from broadcast channel</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/d413c9c02af8f2b4fea14b769b86484b12f46595 "><code>d413c9c</code></a>
chore: prepare Tokio v1.44.1 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7217 ">#7217</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/addbfb9204be25a8621feb3f20b44a7c1f00edbd "><code>addbfb9</code></a>
rt: skip defer queue in <code>block_in_place</code> context (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7216 ">#7216</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/8182ecf2628d5e80dac52b8ed1ea466dbb0925b9 "><code>8182ecf</code></a>
chore: prepare Tokio v1.44.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7202 ">#7202</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/paritytech/revive/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: xermicus <cyrill@parity.io >
2025-04-08 08:26:06 +02:00
Alexander Samusev
9f5443b6d6
Remove path from release json and add sha256 ( #280 )
...
PR addresses
https://github.com/paritytech/revive/issues/162#issuecomment-2783173447
2025-04-08 08:18:35 +02:00
Alexander Samusev
0dafc779ce
ci: update release flow and publish list.json ( #276 )
...
This pull request adds changes described in **this comment**:
- `.github/scripts/json_generator.py` - a small script that generates
several json files for different platforms.
-
[generate_versions.yml](https://github.com/paritytech/revive/compare/as-release-json?expand=1#diff-2aee05b96020ac60943e6dfcb30597e53898f31542aeb570468b970d9a13a5a6 )
- the workflow that runs when release is published, creates info.json
files and pushes them into resolc-bin repo
- `js/build.js` is adjusted in order to set `RESOLC_WASM_URI` from env
variable
- ⚠️ Release workflow is changed:
- In PRs and main branch it'll only build artifacts
- Release will happen automatically only on the `v*` tag push. This is
needed for revive_web.js to have the necessary `RESOLC_WASM_URI`
- workflow will check that version in Cargo.toml is the same as the tag
when the new tag is pushed
cc https://github.com/paritytech/revive/issues/162
cc https://github.com/paritytech/devops/issues/3890
2025-04-07 13:39:56 +02:00