Commit Graph

23 Commits

Author SHA1 Message Date
parazyd
4b0a57cdc8 sdk/contract_id: Use From for instantiation. 2022-11-06 11:35:26 +01:00
x
3c69a9fc04 Merge branch 'master' of github.com:darkrenaissance/darkfi 2022-11-05 18:23:08 +00:00
x
1c9ff6fdba wasm: fix error codes situation so we get contract errors from inside wasm 2022-11-05 18:12:59 +00:00
parazyd
60934a20d4 runtime: WIP db get 2022-11-05 18:48:28 +01:00
x
3aba630188 wasm: add metadata() functionality 2022-11-05 15:08:26 +00:00
x
346a6a5802 wasm: make functions use the same generic underlying call(), and able to return data through env with set_return_data() 2022-11-05 09:55:27 +00:00
parazyd
ff952172fa runtime: Pass ContractId to section functions. 2022-11-05 10:35:34 +01:00
parazyd
9848a1e5f5 runtime: sled blockchain access 2022-11-04 14:41:40 +01:00
x
efba1abc66 wasm: delete Transaction from sdk, and now just pass Vec<FuncCall> around (with no proofs or sigs inside). simplified POD, 2022-11-04 11:57:58 +00:00
parazyd
84bf94d856 runtime: Cleanup and add payload support to init() 2022-11-04 10:35:29 +01:00
x
87be69f103 wasm: add example passing tx into state_transition() 2022-11-04 04:25:52 +00:00
parazyd
7d233c5bbf runtime: State update apply 2022-11-04 00:01:02 +01:00
x
66198e60a6 begin to add full darkfi smart contract functionality 2022-11-03 21:04:56 +00:00
x
48f1a86d58 wasm add comment 2022-11-03 08:46:06 +01:00
x
a0c61641cf general cleanup and re-enabling of earlier disabled features. 2022-11-03 08:46:05 +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
x
e46ce80bd3 fix smart contract test so it compiles 2022-10-25 10:45:28 +00:00
Luther Blissett
12b7419c10 example/smart-contract: Cleanup 2022-10-14 03:25:55 +02:00
Luther Blissett
4adb6d1c67 node/state: Implement temporary dummy state function. 2022-10-14 02:29:52 +02:00
Luther Blissett
ada09adde8 example/smart-contract: Nullifier lookup in state. 2022-10-14 02:29:31 +02:00
Luther Blissett
bcf031fb8a Update examples. 2022-09-24 16:02:20 +02:00
parazyd
2505f9ebf6 example: Add integration test for contract. 2022-04-11 12:53:13 +02:00