TapeOut.linknews

官方科普:Circuit 只读调用、无需 gas 且可复算TapeOut Explainer: Circuit Calls Are Read-Only, Gas-Free and Recomputable

TapeOut 官方科普解释 Circuit 的读取方式:Circuit 只记录门如何连接,不读取外部数据,也不写入任何状态,因此完全确定性——同样的输入在任何节点、任何时间都得到同样的结果。调用 Circuit 属于只读调用,请求发送到节点后由节点在本地计算电路并返回结果,不广播交易、不改变链上状态,因此不需要支付 gas;使用者也不必信任计算方,自己重算一遍就能验证结果。TapeOut explains how Circuits are read: a Circuit only records how gates connect — it does not read outside data or write any state, so it is fully deterministic, and the same input gives the same result on any node at any time. Calling a Circuit is a read-only call: the request goes to a node, which computes the circuit locally and returns the result, with no transaction broadcast and no on-chain state change, so no gas is paid. You don't need to trust whoever computed it — recompute it yourself and you'll know.

来源 · 5 条Sources · 5

查看原推文View on X 更多动态 · 新闻频道More updates

评论Comments

    还没有评论,来说两句No comments yet