Commit Graph

19 Commits

Author SHA1 Message Date
x
a0c61641cf general cleanup and re-enabling of earlier disabled features. 2022-11-03 08:46:05 +01:00
x
e5ca71bd4b wasm: re-enable metering for gas used 2022-11-03 08:45:18 +01:00
x
225c75f8c6 remove old dead code 2022-11-03 08:45:18 +01:00
x
abc907ba2b remove state from entrypoint params 2022-11-03 08:45:18 +01:00
x
5304a7d883 wasm: remove __drkruntime_mem_alloc and just allocate memory pages directly using library native functions. 2022-11-03 08:45:16 +01:00
x
f35fd6ab96 (semi-)working wasm contract 2022-11-03 08:43:20 +01:00
x
080c2edfbd wasm: first working function drk_log. Notes:
* Env no longer needs to be Copy in API upgrade. Begin removing Arcs.
  Env is now passed around as a ref (we should check how this works
  since lifetimes are somehow hidden).
* Switch from internal MemoryManipulation to library functions using
  WasmPtr. Can possibly be deprecated later.
* Add MemoryView convenience functions used in 3.0 API.
* Engine has been removed.
2022-11-03 08:37:41 +01:00
x
6668ff238b get wasm code compiling with wasmer3.0.0-beta. doesn't work yet 2022-11-03 08:36:53 +01:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Luther Blissett
057b818731 runtime: Log targets 2022-10-14 17:02:00 +02:00
Luther Blissett
ecbe5c35c8 runtime: Change log target to wasm_runtime. 2022-10-14 02:46:11 +02:00
Luther Blissett
c370e2779d runtime: Add query for merkle root store. 2022-10-14 02:30:21 +02:00
Luther Blissett
01998f20e6 runtime: Initial support for ledger state queries. 2022-10-14 02:29:31 +02:00
Luther Blissett
9b0f68460d drk: Draft code for contract deployment. 2022-10-10 13:33:09 +02:00
parazyd
4c9570583e Minor rustdoc corrections. 2022-05-22 21:12:59 +02:00
parazyd
d765387fd0 Update dependencies and reduce compilation time.
For release, we don't need halo2 dev stuff, so we move it into dev-deps.
2022-05-21 13:32:13 +02:00
parazyd
92a4410e31 Miscellaneous fixes and 'make fix'. 2022-03-16 22:30:54 +01:00
parazyd
deab6241dd runtime: Implement initial webassembly runtime prototype for smart contracts. 2022-03-16 22:30:53 +01:00