Sergey Pepyakin
b3e2a9e89c
Restore previous version of ext_sandbox_invoke ( #236 )
...
* Restore previous version of ext_sandbox_invoke.
* Rebuild binaries.
2018-06-25 12:12:27 +02:00
Sergey Pepyakin
2f9ffb78e4
Update README.md ( #242 )
...
* Update README.md
* clang is not required
2018-06-25 11:42:33 +02:00
Sergey Pepyakin
9804056c4e
Refactor travis: Build on minimal image ( #243 )
...
* Attempt 1
* minimal → generic
* Add -y to rustup script
* Remove clang
* Refactor.
* Remove CARGO_TARGET_DIR for now
* Display versions of tools from the rust toolchain
* Fix
2018-06-25 11:41:52 +02:00
Sergey Pepyakin
f1b851871e
Argument passing and returning values when invoking sandboxed funcs ( #189 )
2018-06-19 16:24:08 +03:00
Sergey Pepyakin
aebfd38250
Merge pull request #214 from paritytech/dk-pwasm-alloc-fix
...
Fixes `WasmAllocator` to reflect recent nightly API changes
2018-06-15 13:10:05 +03:00
Sergey Pepyakin
4dc6af8019
Merge pull request #210 from paritytech/ser-refactor-build
...
Refactor build scripts.
2018-06-11 13:15:56 +03:00
Sergey Pepyakin
ca48416968
Refactor build scripts.
2018-06-08 19:59:15 +03:00
Sergey Pepyakin
14675edcbc
Build parachains ( #207 )
...
* Fix build of test-chains.
* Add test-chains into build and publish scripts
2018-06-08 12:52:58 +02:00
Sergey Pepyakin
ff0d9c3359
Extract smart-contract runtime into the separate crate ( #179 )
...
* Apply inversion of control to contract module.
* Extract contract to it's own crate.
* Rebuild binaries.
2018-06-05 14:18:08 +02:00
Sergey Pepyakin
68e468f59c
Use #[panic_implementation] attribute that was landed in the recent nightly ( #199 )
...
* Use [panic_implementation] instead of lang item
* Rebuild binaries.
2018-06-04 19:11:42 +02:00
Sergey Pepyakin
5f9aca2137
Contracts: Memory and Module instance teardowns ( #171 )
...
* Add teardowns.
* Rebuild binaries.
2018-05-24 13:18:55 +01:00
Sergey Pepyakin
f3284e964a
Contracts: Make Balance Slicable. ( #168 )
...
* Make Trait::Balance: Slicable
* Rebuild binaries.
2018-05-23 16:03:54 +01:00
Sergey Pepyakin
7312a26d09
Smart-contract inspection and instrumentation. ( #165 )
...
* Extract mock module.
* Wasm smart-contract instrumentation
* Rebuild binaries.
* Memory limits and tests.
2018-05-23 13:45:57 +02:00
Sergey Pepyakin
37029eb42f
Sandbox: run start function. ( #153 )
...
* sandbox: run start function.
* Add docs.
* Add a missing_docs to sandbox module.
* Fix typo in the naming.
2018-05-17 12:54:56 +02:00
Sergey Pepyakin
5a56fbcea3
Sandboxing and the simplest smart-contract runtime ( #140 )
...
* Add primitives for sandboxing.
* Add sandbox module.
* Implement the runtime part of the sandbox.
* Rebuild binaries.
* Implement smart-contract execution.
* Add more documentation.
2018-05-01 20:32:01 +02:00
Sergey Pepyakin
052c50b536
Refactor Externalities to AccountDb. ( #112 )
...
* Refactor Externalities to AccountDb.
* Recompile wasm.
2018-04-11 14:24:57 +02:00
Sergey Pepyakin
633b9f4c0b
Support without_std env in environmental! ( #110 )
...
* Make environmental crate support without_std env.
* Small doc fixes.
2018-04-05 17:23:43 +02:00
Sergey Pepyakin
b0d8eeb526
Migrate from parity-wasmi to wasmi. ( #103 )
2018-04-04 21:39:41 +02:00
Sergey Pepyakin
96fb93b09c
Fix wasm build ( #102 )
...
* Reserve pages for heap at initialization time
Since it is freshly allocated memory it won't collide with stack, data or whatever else.
* Compile all wasm files with LTO.
Modules compiled without LTO contain undesired imports and outright invalid (e.g. type mismatches inside the wasm).
2018-03-21 15:44:14 +08:00