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
5b3b90db83
support the origin opcode ( #103 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-29 18:40:25 +01:00
Cyrill Leutwiler
a4043ecde7
update LLVM target features ( #102 )
...
Signed-off-by: xermicus <cyrill@parity.io >
2024-10-29 18:17:29 +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
Ermal Kaleci
aae25107a2
support full storage key space ( #100 )
...
- The storage pointer values will no longer be truncated to the register size, allowing for the use of arbitrary storage keys
- Failed storage value reads will now guarantee to return the zero value
2024-10-28 10:18:11 +01:00
Sebastian Miasojed
cc38c37481
Set evm.deployedBytecode to the value of evm.bytecode ( #95 )
2024-10-24 14:59:50 +02:00
Cyrill Leutwiler
e56feb95be
standard json output: skip serializing keys instead of emitting a null object ( #52 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-23 15:28:28 +02: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
82ae22c163
tidy up the runtime API crate ( #85 )
...
- remove unused runtime API imports and constants
- move runtime api symbols into the revive-runtime-api crate
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-17 10:55:27 +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
f0f344a139
disable sbrk and emulate EVM linear memory internally ( #76 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
Signed-off-by: xermicus <cyrill@parity.io >
2024-10-14 15:20:00 +02:00
Cyrill Leutwiler
92a18460e4
support solc 0.8.28 ( #84 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-14 13:25:18 +02:00
Cyrill Leutwiler
e5233fc46e
revive-runner: consider non-reverted transactions as success ( #82 )
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-14 13:24:59 +02:00
Ermal Kaleci
adda5a0f12
improve runtime api return value names ( #81 )
2024-10-14 08:56:26 +02:00
Ermal Kaleci
d9842b5427
Fix implementation for balance_of ( #79 )
...
The balance_of syscall is now available in pallet-revive.
- Fix balance_of implementation to use correct runtime api
- Add build_address_argument_store helper to be used for address arguments
2024-10-12 12:35:10 +02:00
Cyrill Leutwiler
6335c34a2b
remove obsolete runtime builtins
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-11 15:58:28 +02:00
Cyrill Leutwiler
49d2157a84
remove near calls
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-11 15:58:28 +02:00
Cyrill Leutwiler
e131eebf50
remove system mode and request memoization
...
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com >
2024-10-11 15:58:28 +02:00
Cyrill Leutwiler
705d1d7866
run signed_remainder test in differential mode ( #75 )
2024-10-10 19:26:04 +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
77fe683f18
remove the test encoding option ( #65 )
2024-10-04 09:59:27 +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
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
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
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