aggstam
8a416c047d
drk: removed coin_blind references
2023-06-19 21:40:49 +03:00
aggstam
bca5527c7b
drk: removed coin_blind from hashes
2023-06-19 21:38:20 +03:00
aggstam
8e4f93f4a9
proof/*: removed coin_blind from hashes
2023-06-19 21:38:00 +03:00
aggstam
0e83156cdd
src: removed coin_blind references
2023-06-19 21:30:28 +03:00
aggstam
2196f32c02
contract/dao: removed coin blind from hashes
2023-06-19 21:25:20 +03:00
aggstam
e969004907
contract/money: removed coin blind for hashes
2023-06-19 19:28:57 +03:00
aggstam
b7b26c77b6
contract/consensus: removed coin blind for hashes
2023-06-19 18:56:19 +03:00
parazyd
e684748f2a
zk/vm: Add constrain_constant calls to literal witnessing and constant one.
2023-06-19 09:50:45 +02:00
x
ccea2417e5
doc: update dao section
2023-06-17 07:35:10 +02:00
aggstam
5e3aa99f32
contract/consensus: cleanup
2023-06-16 22:11:58 +03:00
freerangedev
d4a7ce140f
zkrunner: Rename pubins
2023-06-16 18:53:22 +00:00
freerangedev
9092a58dad
zkrunner: yapf formatting
2023-06-16 18:53:22 +00:00
freerangedev
9912167686
zkrunner: API and style refactoring
2023-06-16 18:53:22 +00:00
freerangedev
ccff4b250f
zkrunner: Add previous work
2023-06-16 18:53:22 +00:00
ertosns
7a98f5c273
[src/contract/consensus] sk is non-resettable
2023-06-16 21:49:01 +03:00
ertosns
e34c97ea2c
Update generate_seminar_ics.py
...
replace code walkthrough by consensus & control part II
2023-06-16 00:57:50 +03:00
parazyd
08467c7e0a
sdk-py: Wheel build guide, and dev guide.
2023-06-15 15:27:10 +02:00
aggstam
cc09d133c7
sdk-py: Makefile added and README updated
2023-06-15 13:54:06 +03:00
freerangedev
03e39f263f
sdk-py: Add random to Point
2023-06-15 04:32:16 +00:00
freerangedev
ac6088964c
sdk-py: add randomness in README
2023-06-15 04:32:16 +00:00
freerangedev
c05ff09364
sdk-py: Add repr and richcmp to Point
2023-06-15 04:32:16 +00:00
freerangedev
a60ea786da
sdk-py: Pythonic methods for Point
2023-06-15 04:32:16 +00:00
parazyd
d424f57995
sdk-py: Implement python operator functions for Base and Scalar.
2023-06-15 04:32:16 +00:00
parazyd
70e1387ee5
sdk-py: Add tldr in Readme.
2023-06-15 04:32:16 +00:00
parazyd
4824c84cb5
sdk-py: Minor cleanups
2023-06-15 04:32:16 +00:00
parazyd
badcb123d3
sdk-py: Move to src/sdk/python
2023-06-15 04:32:16 +00:00
freerangedev
533594bbab
sdk-py: Fix import errors
2023-06-15 04:32:16 +00:00
freerangedev
40286532cf
sdk-py: cargo fmt
2023-06-15 04:32:16 +00:00
freerangedev
c42825f3af
sdk-py: Add license info
2023-06-15 04:32:16 +00:00
freerangedev
46ed0a24b0
sdk-py: Add ZkCircuit, Proof, ProvingKey, VerifiyingKey, ZkBinary
2023-06-15 04:32:16 +00:00
freerangedev
cfce6deccd
sdk-py: Add darfi-sdk as dep
2023-06-15 04:32:16 +00:00
freerangedev
34bd1ac46e
sdk-py: Add bolierplate
2023-06-15 04:32:16 +00:00
aggstam
19b70a8d4b
contract/money/tests/mint_pay_swap: migrated to new contract/test-harness plus some minor cleanups
...
assert_trees() might seem placed randomly, but its not! Since we add stuff to each holder's merkle tree asyncronously, we have to ensure that everyone has added everything(along with gathering their coin) before asserting. Ignore any typos, its getting late...
2023-06-15 04:46:24 +03:00
aggstam
7fcc5953ff
contract/money/tests/verification_bench: migrated to new contract/test-harness plus some minor cleanups
2023-06-15 02:16:31 +03:00
aggstam
7bbd7f8d05
contract/money/tests/txs_verification: migrated to new contract/test-harness plus some minor cleanups
2023-06-14 23:45:46 +03:00
aggstam
d540853309
contract/test-harness: minor cleanup
2023-06-14 23:11:14 +03:00
aggstam
b69e017a5b
contract/money/tests/money_genesis_mint|money_transfer: migrated to new contract/test-harness
2023-06-14 23:04:08 +03:00
aggstam
4b2fdc2fbd
contract/money/tests/integration.rs: tree checks added
2023-06-14 23:04:08 +03:00
Dastan-glitch
f60d259039
bin/darkirc: add contacts in tmux test script to test DMs
2023-06-14 22:59:53 +03:00
Dastan-glitch
6df3b5d339
bin/darkirc: remove unused commented code
2023-06-14 22:58:56 +03:00
aggstam
9446fba4c1
chore: clippy
2023-06-14 19:16:26 +03:00
aggstam
410ab42b54
contract/consensus: migrated tests to new contract/test-harness
2023-06-14 19:02:28 +03:00
parazyd
33c286f19f
contract/dao: Introduce money state snapshotting.
...
This prevents double-voting in the sense of minting new coins _after_
a proposal was created, meaning only the coins that have existed prior
to creating a certain proposal are able to vote on it.
This is done by marking down the latest Merkle root in the Money state
and attaching it to the proposal's metadata. Then this root is used for
verifying inclusion proofs when voting.
2023-06-14 14:41:24 +02:00
parazyd
7ec7d9244f
runtime/merkle: Introduce pointers to latest merkle roots in merkle_add()
...
Also migrate all the contracts that use merkle_add to this API.
This is the better approach, since it avoids having to run redundant
operations like lots of hashing when we want to retrieve the latest
Merkle root in some tree. It is too expensive to do it directly in WASM,
so doing this through the injected host function allows us to price it
more accordingly.
2023-06-14 13:32:23 +02:00
parazyd
95f0a67642
Makefile: Add src/contract/deployooor as a contracts dependency
2023-06-14 09:57:22 +02:00
Dastan-glitch
6c3c761fdd
bin/darkirc: support no-history capability
2023-06-14 04:46:56 +03:00
parazyd
0b3769acd8
contract/money: Use test-harness for integration test.
2023-06-14 02:33:54 +02:00
parazyd
a2ddbcd4f8
contract: WIP implementation of generic test harness for native contracts.
2023-06-14 02:32:56 +02:00
parazyd
b36861fa1d
contract/dao: Refactor contract code to match other native contracts.
2023-06-13 14:23:33 +02:00
Dastan-glitch
86d4080061
bin/darkirc: resetting root every 24hrs at 00:00AM UTC
2023-06-13 04:03:13 +03:00