0xMiden/air-script

Treatment of duplicate integrity constraints

Open

#275 创建于 2023年4月26日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Rust (37 fork)github user discovery
good first issue

仓库指标

Star
 (96 star)
PR 合并指标
 (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.

贡献者指南