Open question to the core devs about EIP-7932

Given that the signature would have a fixed size, I don’t know whether this would actually be warranted….

refers to previous discussion about PQC not signing hashes but messages

Would you suggest something similar to:

fn gas_cost(signing_data: Bytes) -> uint64;

Exactly that. Fully abstracts it. Gas schedules that OOG on non-hashs just check size and return the real value or max_gas. Others do their size math.

That does make sense, especially with each PQ algorithm using their own flavour of hash function.

Edit: While doing this, it might make sense for a validate(signing_data: Bytes) function as well

1 Like