feat: add container update ops (#390)
* Add container update ops * Update src/middleware/operation.rs Co-authored-by: Eduard S. <eduardsanou@posteo.net> * Update src/backends/plonky2/mainpod/mod.rs Co-authored-by: Eduard S. <eduardsanou@posteo.net> * Code review --------- Co-authored-by: Eduard S. <eduardsanou@posteo.net>
This commit is contained in:
parent
656cae77e0
commit
1508dd6126
15 changed files with 1452 additions and 72 deletions
|
|
@ -381,7 +381,16 @@ fn validate_and_build_statement_template(
|
|||
| NativePredicate::SumOf
|
||||
| NativePredicate::ProductOf
|
||||
| NativePredicate::MaxOf
|
||||
| NativePredicate::HashOf => 3,
|
||||
| NativePredicate::HashOf
|
||||
| NativePredicate::ContainerDelete
|
||||
| NativePredicate::DictDelete
|
||||
| NativePredicate::SetInsert
|
||||
| NativePredicate::SetDelete => 3,
|
||||
NativePredicate::ContainerInsert
|
||||
| NativePredicate::ContainerUpdate
|
||||
| NativePredicate::DictInsert
|
||||
| NativePredicate::DictUpdate
|
||||
| NativePredicate::ArrayUpdate => 4,
|
||||
NativePredicate::None | NativePredicate::False => 0,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue