Alexey
5c47116889
fix comment for gas extern in Wasm runtime ( #8101 )
2018-03-14 12:27:18 +01:00
Nikolay Volf
58a1671076
add some dos protection ( #8084 )
2018-03-12 15:55:28 +03:00
Nikolay Volf
e0a21e5aae
WASM libraries bump ( #7970 )
...
* update wasmi, parity-wasm, wasm-utils to latest version
* Update to new wasmi & error handling
* also utilize new stack limiter
* fix typo
* replace dependency url
* Cargo.lock update
2018-03-12 11:37:32 +00:00
Nikolay Volf
684322cd6f
Kovan WASM fork code ( #7849 )
...
* kovan fork code
* introduce ethcore level vm_factory and let it fail
* fix json tests
* wasmcosts as option
* review changes
* wasm costs in parser
* fix evm tests
* review fixes
* fix test
* remove redundant json field
2018-02-19 12:27:42 +01:00
Alexey
a30de1b8d8
Clean up docs formatting for Wasm runtime ( #7869 )
...
* Clean up docs formatting for Wasm runtime
* Update runtime.rs
2018-02-12 17:59:41 +01:00
Nikolay Volf
fab03398dd
disable internal memory ( #7842 )
2018-02-12 11:19:43 +01:00
Marek Kotewicz
c060d9584d
ethabi version 5 ( #7723 )
...
* Refactor updater to use ethabi-derive
* Grumble: do_call type alias
* Empty commit to trigger test re-run
* migration to ethabi-5.0
* migration to ethabi-5.0 in progress
* use ethabi_deriven to generate TransactAcl contract
* use ethabi_deriven to generate Registry contract
* hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720
* node-filter crate uses ethabi_derive to generate peer_set contract interface
* use LruCache in node-filter instead of HashMap
* validator_set engine uses ethabi_derive
* ethcore does not depend on native_contracts
* miner does no depend on native_contracts
* secret_store does not use native_contracts (in progress)
* removed native-contracts
* ethcore and updater does not depend on futures
* updated ethereum-types
* fixed all warnings caused by using new version of ethereum-types
* updated ethabi_derive && ethabi_contract to get rid of warnings
* removed another retain cycle in updater, fixed following minor version on update
* moved contracts out of native_contracts res
* updated ethabi_contract
* fixed failing test
* fixed failing test
* there is no need to create two contracts of the same kind any more
* simplify updater::ReleaseTrack conversion into u8 and add several tests for it
* applied review suggestions
* applied review suggestions
2018-02-09 09:32:06 +01:00
Nikolay Volf
0a7cebe316
adjust storage update evm-style ( #7812 )
2018-02-06 11:57:29 +01:00
Nikolay Volf
fb4582a90e
wasmi interpreter ( #7796 )
2018-02-05 20:59:27 +01:00
Alexey
534692cdae
[Wasm] memcmp fix and test added ( #7590 )
...
* [Wasm] memcmp fix and test added
* [Wasm] use reqrep_test! macro for memcmp test
2018-01-17 13:13:17 +04:00
Alexey
d927320719
[WASM] mem_cmp added to the Wasm runtime ( #7539 )
...
* mem_cmp added to the Wasm runtime
* schedule.wasm.mem_copy to schedule.wasm.mem_cmp for mem_cmp
2018-01-15 18:24:24 +04:00
Marek Kotewicz
e95b093483
dissolve util ( #7460 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* removed obsolete util/src/lib.rs
* removed commented out code
2018-01-10 15:35:18 +03:00
Nikolay Volf
82340c058a
Wasm runtime update ( #7356 )
...
* call augmented, wasm-tests updated
* fix all call tests
* fix comments
2017-12-22 21:54:35 +03:00
NikVolf
4f12e1dab1
pwasm-run-test utility upgrade
2017-12-01 16:41:09 +03:00
Marek Kotewicz
e8787c1acf
Merge pull request #7142 from paritytech/pwasm-run
...
WASM test runner utility
2017-11-27 10:16:28 +01:00
Sergey Pepyakin
359b4de3ff
WASM Remove blockhash error ( #7121 )
...
* Remove blockhash error
* Update tests.
2017-11-26 23:18:58 +03:00
NikVolf
13f3113826
pwasm-run-test utility
2017-11-26 00:06:57 +03:00
Sergey Pepyakin
66b2db0137
Update gas values
2017-11-21 17:03:14 +03:00
Sergey Pepyakin
7564b05572
Make storage_read/write return nothing
2017-11-21 17:03:13 +03:00
Sergey Pepyakin
3e4e00fc6a
spaces to tabs.
2017-11-21 15:39:34 +03:00
Nikolay Volf
9798e3c45a
Update panic_payload.rs
2017-11-20 18:12:31 +03:00
Sergey Pepyakin
3d0616c1ae
Parse payload from panic
...
Impl payload
empty str is none
Update tests
Clean
Update wasm-tests
2017-11-20 13:09:57 +03:00
Sergey Pepyakin
bcdfc50a0b
pwasm-std update ( #7018 )
2017-11-13 00:21:15 +03:00
NikVolf
bed82e5cc0
elog (events) for wasm runtime
2017-11-05 18:54:35 +03:00
Nikolay Volf
f72858ee0a
Add hint in ActionParams for splitting code/data ( #6957 )
...
* Action params and embedded params handling
* fix namespaces
2017-11-02 12:49:57 +01:00
Tomasz Drwięga
8dfdebc2a2
Refactor static context check in CREATE. ( #6886 )
...
* Refactor static context check in CREATE.
* Fix wasm.
2017-10-25 11:27:18 +02:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
Nikolay Volf
1601030081
WASM gas schedule ( #6638 )
...
* some failing tests
* finalize
* fallable -> fallible
* alter mul/div/static_i64
* Update schedule.rs
* to u32
* balance charge also
* review fixes
* remove redundant line
2017-10-09 13:12:58 +02:00
fro
6956d218b5
address balance extern provided for wasm
2017-10-04 19:09:18 +03:00
Nikolay Volf
4260910db6
WASM Runtime refactoring ( #6596 )
...
* refactoring to new pwasm-std
* pass reference
* remove ref
* missing underscores
2017-10-04 13:15:59 +02:00
Arkadiy Paronyan
25b35ebddd
Byzantium updates ( #5855 )
...
* EIP-211 updates
* benchmarks
* blockhash instruction gas cost updated
* More benches
* EIP-684
* EIP-649
* EIP-658
* Updated some tests
* Modexp fixes
* STATICCALL fixes
* Pairing fixes
* More STATICALL fixes
* Use paritytech/bn
* Fixed REVERTing of contract creation
* Fixed more tests
* Fixed more tests
* Blockchain tests
* Enable previously broken tests
* Transition test
* Updated tests
* Fixed modexp reading huge numbers
* Enabled max_code_size test
* Review fixes
* Updated pairing pricing
* missing commas (style)
* Update test.rs
* Small improvements
* eip161abc
2017-09-15 21:07:54 +02:00
Alexey
79659bdc76
WASM sha3 test ( #6512 )
...
* sha3 test for empty input implemented
* rename sha3-> keccak
* update keccak test. Now it expects input to hash
* fix gas_left in tests
2017-09-14 19:32:29 +02:00
Svyatoslav Nikolsky
03e039b13d
wasm: math_sub_with_overflow test ( #6474 )
2017-09-11 11:43:33 +02:00
Nikolay Volf
ee14a3fb31
WASM runtime update ( #6467 )
...
* refactor to new parity-wasm
* more errors refactoring
* final test
* update tests
* fix merge bugs
2017-09-10 18:02:31 +02:00
Fredrik
308f36a532
Don't reexport bigint from util
2017-09-04 16:36:49 +02:00
Nikolay Volf
abecd80f54
Wasm math tests extended ( #6354 )
...
* extend math tests
* use latest wasm-tests
* cleanup
* avoid overflow
* use correct gas-
* and division
2017-08-28 14:12:40 +02:00
Nikolay Volf
9e4c122cf3
WASM math test ( #6305 )
...
* wasm tests initial
* fix bug in bitswap
2017-08-20 12:02:59 +08:00
Nikolay Volf
4ab607d4de
wasm-std refactoring ( #6278 )
2017-08-14 12:33:52 +03:00
Alexey
d209100a60
Wasm storage read test ( #6255 )
...
* Test for read from prepopulated storage implemented
* wasm-tests submodule update
* fix identation
* comment for storage_read added
2017-08-09 10:57:54 +02:00
NikVolf
c1108da6e9
fixed wasm tests
2017-08-01 14:35:43 +03:00
NikVolf
017430e803
fixed evm tests
2017-08-01 14:33:49 +03:00
Nikolay Volf
b7006034b1
Decouple virtual machines ( #6184 )
...
* work in progress for splitting vms
* evm working
* Evm -> Vm
* wasm converted
* ethcore working
* test fixes
2017-08-01 13:37:57 +03:00