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 |
|
parazyd
|
3bdd6cf1c9
|
runtime: Implement sled tree batch writes.
|
2022-11-05 14:47:30 +01:00 |
|
x
|
38054cc751
|
dao-example: remove WalletCache from money::State, now it's just used by the wallet.
|
2022-11-05 12:34:01 +00:00 |
|
lunar-mining
|
5c98311c98
|
example/dao: each Vec<Signature> corresponds to ONE function call
|
2022-11-05 13:03:31 +01:00 |
|
parazyd
|
f6296bf3f2
|
smart-contract: Add note about deleting sled trees on failures.
|
2022-11-05 12:49:05 +01:00 |
|
lunar-mining
|
bdd0dd3362
|
cargo fmt
|
2022-11-05 12:51:16 +01:00 |
|
parazyd
|
96b159c00c
|
wasm: Working db_init()
|
2022-11-05 12:41:44 +01:00 |
|
x
|
3ef803c25b
|
fix dao test
|
2022-11-05 11:25:38 +00:00 |
|
x
|
695f86f7c6
|
wasm: fix most of the warnings
|
2022-11-05 10:19:23 +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 |
|
mohab metwally
|
f27ee17282
|
WIP debugging failing verified lead contract
|
2022-11-04 22:14:16 +02:00 |
|
parazyd
|
9848a1e5f5
|
runtime: sled blockchain access
|
2022-11-04 14:41:40 +01:00 |
|
x
|
dbdbc42705
|
wasm: replace current mess of macros with a single define_contract!()
|
2022-11-04 13:00:57 +00: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
|
0add5ee26d
|
Add missing license headers.
|
2022-11-04 10:39:24 +01: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 |
|
x
|
92b2cd1e02
|
wasm: add example db usage to example/smart-contract/src/lib.rs
|
2022-11-04 03:46:28 +00:00 |
|
Dastan-glitch
|
daeb250c13
|
example/dao: use chacha20poly1305 crate for note encryption
|
2022-11-04 05:29:24 +03:00 |
|
Dastan-glitch
|
0f28415473
|
example/dao: rename dao.rs to main.rs and add it to example workspace
|
2022-11-04 05:26:35 +03:00 |
|
x
|
5ffdb1beb9
|
wasm: alloc pages for apply()
|
2022-11-04 00:16:13 +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 |
|
parazyd
|
867b1bb7a3
|
example/smart-contract: Update Cargo.lock
|
2022-11-03 10:28:00 +01: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
|
abc907ba2b
|
remove state from entrypoint params
|
2022-11-03 08:45:18 +01:00 |
|
x
|
f35fd6ab96
|
(semi-)working wasm contract
|
2022-11-03 08:43:20 +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 |
|
mohab metwally
|
61363b450f
|
[zk/circuit/lead_contract] integrate optimized lead circuit
|
2022-11-02 21:57:59 +02:00 |
|
parazyd
|
8ae84ad7f9
|
Add license header to source files.
|
2022-10-31 18:16:13 +01:00 |
|
Luther Blissett
|
43a871c3f2
|
Update all Cargo.toml files to include AGPL license reference.
|
2022-10-30 11:01:40 +01:00 |
|
lunar-mining
|
29cfa5dc3c
|
book: update broken link. run cargo fmt
|
2022-10-27 08:40:54 +02:00 |
|
mohab metwally
|
149aaaf465
|
[zk/circuits/lead_contract] replace constrain instance for coin2 commit, and serial number with constrain equal
|
2022-10-26 22:22:43 +02:00 |
|
x
|
e46ce80bd3
|
fix smart contract test so it compiles
|
2022-10-25 10:45:28 +00:00 |
|
Dastan-glitch
|
034664d5f3
|
move example/dao/schema (python dao schema)to script/research/dao
|
2022-10-24 15:15:21 +03:00 |
|
Dastan-glitch
|
32456baf7a
|
example/dao: re-add python dao schema
|
2022-10-24 13:29:14 +03:00 |
|
Dastan-glitch
|
3a68228897
|
example/crypsinous: fix p2p and syncing issue
|
2022-10-24 04:02:20 +03:00 |
|
mohab metwally
|
852c89d917
|
[ouroboros] organize order of background execution
|
2022-10-21 19:25:48 +02:00 |
|
lunar-mining
|
22151f6b7a
|
book/dchat: use anchors where possible, copy paste code where not.
also run cargo fmt.
|
2022-10-20 12:02:04 +02:00 |
|
aggstam
|
49b6582930
|
dchat: enabled localnet
|
2022-10-19 14:03:30 +03:00 |
|
Dastan-glitch
|
d001ebf28a
|
example/dao: remove unused imports
|
2022-10-17 17:02:48 +03:00 |
|
Dastan-glitch
|
c035ba4744
|
example/dao: rename foo_contract to foo and update imports
|
2022-10-17 07:09:55 +03:00 |
|
Dastan-glitch
|
05f554fe4d
|
move dao/schema.rs to example (dao)
|
2022-10-17 06:30:04 +03:00 |
|
Luther Blissett
|
62d1f06c1f
|
Update imports for type migrations.
|
2022-10-17 00:34:34 +02:00 |
|
Dastan-glitch
|
c0c97337d7
|
resolve conflicts merging dao_demo
|
2022-10-16 02:50:59 +03:00 |
|
Luther Blissett
|
2ca5866c43
|
Fix tests compilation
|
2022-10-15 20:30:21 +02:00 |
|