0xMiden/air-script

Treatment of duplicate integrity constraints

オープン

#275 opened on 2023/04/26

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (37 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (96 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド