skoupidi
|
9da05dd9b6
contract/dao/tests/integration: added a generic(without a xfer) proposal execution
|
1 year ago |
skoupidi
|
5e79d8519b
contract/dao: cleaned unused stuff
|
1 year ago |
zero
|
88c39e5861
dao::propose(): fix get_tx_location(), by making the test-harness write the txs and their locs to the DB inside wallet.add_transactions()
|
2 years ago |
zero
|
05ea80bd99
wasm tests: add option to generate a CSV of benchmarks
|
2 years ago |
parazyd
|
47e9d68ef1
sdk/crypto: Forbid PublicKey to ever be the identity point
|
2 years ago |
parazyd
|
23f2bbeac9
sdk/crypto: Add "_unsafe" suffix to ElGamalEncryptedNote functions
|
2 years ago |
parazyd
|
98521da0de
contract/dao: Integration test port
|
2 years ago |
zero
|
2094274851
add a Blind type to the SDK, which is used in all bullas as the explicit blinding factor.
|
2 years ago |
zero
|
f74817ba8e
move TokenId from SDK to money contract
|
2 years ago |
zero
|
9d33a10a0b
use proper FuncIds to ref contract funcs such as spend_hook in money
|
2 years ago |
zero
|
eb635dc3df
fix failing DAO test
|
2 years ago |
skoupidi
|
3e15d146a3
validator/consensus: cleaned up slots logic
|
2 years ago |
skoupidi
|
f64c4e5750
contract/*: renamed all slot references to block height
|
2 years ago |
zero
|
0738b42b1c
money: change the coin_attribute serial to coin_blind. We no longer use the serial, and its sole purpose is to blind the coin. Also move it to the end, consistent with all bullas and commits used in darkfi core.
|
2 years ago |
zero
|
7ada52b28b
rename mod_r_p() -> fp_mod_fv(), and mod_p_r_unsafe() -> fv_mod_fp_unsafe()
|
2 years ago |
zero
|
bb3729db92
DAO::vote: verifiably encrypt the Scalar blinds used for the pedersen commits. We select values v ∈ 𝔽ᵥ such that v ∈ 𝔽ₚ also, and then use conversion functions to move between the fields before and after encrypting/decrypting.
|
2 years ago |
zero
|
e0ecada541
dao: use ElGamalEncryptedNote for DAO::vote() instead of AEAD
|
2 years ago |
parazyd
|
0e6f51e895
chore: Update copyright year in license headers
|
2 years ago |
parazyd
|
036afda345
validator: Configurable fee verification, incomplete
|
2 years ago |
x
|
c3587c0c6f
general cleanup, clippy & update VKS/PKS in test-harness
|
2 years ago |
x
|
7e9bd2946e
finish dao rewrite
|
2 years ago |
x
|
3a2c4e1799
auth_xfer: check output coins match proposal
|
2 years ago |
x
|
2f80d8ad26
dao: modify proposals so they now just specify a generic call. This is done through an intermediate 'auth' contract. We provide one called DaoAuthMoneyTransfer so DAOs can transfer money around.
|
2 years ago |
x
|
53ee11777d
dao: remove money::transfer specific checks in prep for move to auth module
|
2 years ago |
x
|
6bb313db3d
dao: change proposals to new composable format
|
2 years ago |
x
|
fab18bcb61
cargo fmt
|
2 years ago |
x
|
39499ac2d7
dao: cleanup by introducing the CoinParams -> Coin, Dao -> DaoBulla, and Proposal -> ProposalBulla paradigm. use consistently throughout the builders.
|
2 years ago |
x
|
929b6d0833
improve transfer_v1, simplify the default builder, and provide a lower level API for constructing more complex calls
|
2 years ago |
parazyd
|
478bfa2a00
contract: Remove async-std dependencies.
|
3 years ago |
aggstam
|
73500a25b4
contracts/tests: made consensus coins deterministic, major cleanup in rest
|
3 years ago |