trezor/definitions

Check and clip threshold values.

Offen

#85 geöffnet am 12.08.2026

 (0 Kommentare) (1 Reaktion) (1 zugewiesene Person)Python (7 Forks)github user discovery
enhancementerc7730ethereumgood first issue

Repository-Metriken

Stars
 (3 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 11h) (8 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide