0xMiden/air-script

Treatment of duplicate integrity constraints

開放

#275 建立於 2023年4月26日

 (4 則留言) (0 個反應) (0 位負責人)Rust (37 個分叉)github user discovery
good first issue

倉庫指標

星標
 (96 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Currently we don't throw an error if a user defines duplicate constraints, we transpile them into two equivalent constraints. We could do one of the following:

  1. Generate only one constraint in this case and ignore duplicates.
  2. Throw an error since this is most likely unintended.
  3. Throw a warning (in future) but still generate one constraint.

貢獻者指南