16222553b8
bincode::serialized_sized requires constructing a temporary object and it is slow. Silently changing serialized size of these structs can also be a backward incompatible change. This commit instead hard-codes serialized size of VoteState, Feature and Nonce, and defines the functions as const. Added tests verify hard-coded values. |
||
---|---|---|
.. | ||
address-lookup-table | ||
address-lookup-table-tests | ||
bpf | ||
bpf_loader | ||
compute-budget | ||
config | ||
ed25519-tests | ||
stake | ||
vote | ||
zk-token-proof |