Cyrill Leutwiler
d5d419cefc
implement immutable variables codegen ( #70 )
2024-10-10 13:33:00 +02:00
Cyrill Leutwiler
8b7fe8e3d7
deny clippy warnings by default ( #73 )
2024-10-09 20:19:12 +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
77fe683f18
remove the test encoding option ( #65 )
2024-10-04 09:59:27 +02:00
wpt967
e8fcd6118e
Merge pull request #55 from wpt967/revive-debian-x86-build
...
[workflows] Add workflow for building revive in a debian container.
v0.1.0-dev
2024-09-30 17:25:08 +01:00
wpt967
ad46e94ebd
[workflows] Add workflow for building revive in a debian container.
...
Makefile: Add target 'install-revive' to build revive with the
installation path specified by variable REVIVE_INSTALL_DIR.
Add utils directory with scripts for building revive in a container.
Add utils/build-revive.sh taking option argument '-o <install-dir>' to
build revive with the specified install directory.
Add utils/revive-builder-debian.dockerfile to make a docker container
for building revive in a Debian environment.
2024-09-30 12:02:57 +01: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
066acc4663
set chain_id in test runtime
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-28 19:17:41 +02:00
Cyrill Leutwiler
287272b789
sync runtime with the pallet ( #54 )
2024-09-24 09:14:36 +02:00
Cyrill Leutwiler
f621971a13
move the repository to paritytech org ( #49 )
2024-09-17 14:53:17 +02:00
Cyrill Leutwiler
b8bd44b62a
install solc 0.8.27 on CI ( #47 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-16 13:17:30 +02:00
Cyrill Leutwiler
d8c708eba5
support solc 0.8.27
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-16 12:43:49 +02:00
Cyrill Leutwiler
72d958392b
revise alloca at function entry later
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-16 12:42:50 +02:00
Cyrill Leutwiler
616f044633
always build alloca in the entry block ( #46 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-13 21:54:42 +02:00
xermicus
7dc8e6051e
enable compressed instructions extension
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-13 14:55:16 +02:00
xermicus
783fa640e4
temporarily disable pvm linker optimizations
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-13 14:52:47 +02:00
xermicus
f086c57442
bump up runner runtime limits
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-13 14:52:09 +02:00
xermicus
0f2b55f6ff
fixed output size for transferred value
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-13 08:41:23 +02:00
wpt967
ac9215329c
[solidity] Fix wrong check on recursive-process-input CLI option. ( #42 )
2024-09-10 19:11:36 +02:00
Cyrill Leutwiler
6635a0b337
fixed size event topics
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-10 09:09:52 +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
d77ee1e0d4
runner: endow test accounts on genesis
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-06 13:50:01 +02:00
xermicus
c111bcbc4d
common: remove unused constants
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-05 20:02:33 +02:00
xermicus
9e73c48150
remove the extra abi data
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-05 18:10:24 +02:00
Cyrill Leutwiler
afd9f26aed
runner: gate the solidity frontend behind a feature
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-04 20:12:27 +02:00
Cyrill Leutwiler
a413238464
runner: CodeUpload specs action
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-04 18:03:30 +02:00
Cyrill Leutwiler
d47539159b
enable call context address tests
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-09-04 12:55:44 +02:00
Cyrill Leutwiler
393d90165e
pallet_revive: Account20 ( #41 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-04 12:42:41 +02:00
xermicus
7c934e5ca1
fix some clippies
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-09-04 11:31:18 +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
Sebastian Miasojed
41c8d4e955
Add support for --license arg ( #38 )
2024-08-29 16:26:06 +02:00
Cyrill Leutwiler
d763e30b8f
Simplify test case declaration ( #36 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-26 15:15:33 +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
xermicus
0903718f07
add compiler helpers to solidity test utils
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-24 02:09:56 +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
wpt967
bb4a4dddde
[solidity,llvm-context] Improve support for debugging the compiler ( #32 )
...
Add option --recursive-process-input <filename> for use with
--recursive-process to specify the name of a file to use instead of
reading from stdin.
If --debug-output-dir is set, dump the file passed to the recursive
invocation of the compiler as a JSON file suitable for use with
--recursive-process-input.
These changes are intended to support debugging the compiler and are
only available with DEBUG builds.
2024-08-23 18:18:07 +02:00
Cyrill Leutwiler
184d40d377
Upgrade inkwell ( #31 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-19 18:40:35 +02:00
wpt967
bd89ebc45a
Put llvm and compiler-rt build directories in one place. ( #30 )
...
Adjust the llvm build script to put the llvm and compiler-rt build
directories outside the llvm-project source directory. A new build
directory 'build' at the toplevel of the revive directory is used
instead. LLVM is built into 'build/llvm' and compiler-rt into
'build/compiler-rt'.
Adjust .gitignore to ignore the contents of the build directory.
This is intended to keep the build artifacts separate from the upstream
sources and any changes made as part of the revive work.
2024-08-12 16:35:19 +02:00
xermicus
44bc7b94b2
typo
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-08-05 18:27:38 +02:00
xermicus
b002382d76
llvm build script: build compiler-rt for 64bit
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-07-19 00:06:53 +02:00
xermicus
e22eebabad
update README.md
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-07-19 00:06:48 +02:00
dependabot[bot]
16a0cc46e6
Bump braces from 3.0.2 to 3.0.3 in /crates/solidity/src/tests/cli-tests ( #25 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 18:07:10 +02:00
xermicus
6834751522
support riscv64 target
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-07-09 17:57:58 +02:00
xermicus
a4c4ad55dc
remove extensions crate
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-18 16:08:35 +02:00
xermicus
0d39b289cb
init mdbook
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-08 16:41:40 +02:00
xermicus
10c7045e15
Implement CODESIZE
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-06 15:10:21 +02:00
xermicus
39d78179d4
implement transient storage
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-06-05 17:34:17 +02:00