trezor/definitions

Check and clip threshold values.

開放

#85 建立於 2026年8月12日

 (0 則留言) (1 個反應) (1 位負責人)Python (7 個分叉)github user discovery
enhancementerc7730ethereumgood first issue

倉庫指標

星標
 (3 顆星)
PR 合併指標
 (平均合併 5天 11小時) (30 天內合併 8 個 PR)

描述

The spec says the values should be ABOVE the threshold, but practically it is above OR EQUAL. This might be updated as well: https://github.com/ethereum/clear-signing-erc7730-registry/issues/2863

We can keep a track of it, but until then, we could consider clipping and logging a field's max value to MAX_VALUE - 1 in the definition itself to avoid errors.

It is not a priority since this merged: https://github.com/ethereum/clear-signing-erc7730-registry/pull/2870 but would be good to have.

OR

fixed in Firmware.

貢獻者指南