SIMD-0334 Fix alt_bn128_pairing syscall length check
The altbn128pairing syscall takes a byte slice as input, interprets the bytes as an array of pairs of g1 and g2 points on bn128 elliptic curve, and applies a pairing operation. If the byte slice input has an improper length, the function should terminate early. Specifically, if the byte slice length is not a multiple of 192 (the sum of the lengths of g1 and g2 points), the function should terminate early with an error.
Feature gate
The account below is the gate. Its state is decoded from the account data on each cluster, so it reflects the chain rather than the proposal text.
bnYzodLwmybj7e1HAe98yZrdJTd7we69eMMLgCXqKZm
| mainnet | Activated | slot 406,944,000 |
| testnet | Activated | slot 385,868,256 |
| devnet | Activated | slot 438,480,000 |
the document says Implemented while its feature gate is active on mainnet since slot 406,944,000
Client implementations (2)
As the proposal reports it. This is a claim by the authors rather than something read from chain.
What the proposal covers
Parsed from the canonical proposal · pull request