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.

贡献者指南