mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
dao: re-added Transaction TODO overwritten by merge and deleted old TODO file
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
priority: immediate
|
||||
|
||||
* move schema.rs to darkfi/example
|
||||
* rename it to dao.rs
|
||||
* we want to be able to run it like how we run example/tx.rs
|
||||
* cargo run --example dao
|
||||
* and it should compile and work
|
||||
|
||||
priority: low
|
||||
|
||||
* the things in util.rs are not all utils
|
||||
* some of them should be moved to other modules eventually
|
||||
|
||||
* rename [foo]_contract to just foo
|
||||
* contract/dao_contract/ is redundant
|
||||
* we can just have contract/dao
|
||||
@@ -121,10 +121,14 @@ impl ZkContractTable {
|
||||
}
|
||||
}
|
||||
|
||||
// ANCHOR: transaction
|
||||
pub struct Transaction {
|
||||
pub func_calls: Vec<FuncCall>,
|
||||
// TODO: this is wrong. It should be Vec<Vec<Signature>>
|
||||
// each Vec<Signature> correspond to ONE function call
|
||||
pub signatures: Vec<Signature>,
|
||||
}
|
||||
// ANCHOR_END: transaction
|
||||
|
||||
impl Transaction {
|
||||
/// Verify ZK contracts for the entire tx
|
||||
|
||||
Reference in New Issue
Block a user