We have been waiting for bn128 host function, but that's been blocked on the protocol level.
We should have an example just using the same code directly in the smart contract.
It is worth just having that example to see how much it costs without host function.
We have been waiting for bn128 host function, but that's been blocked on the protocol level.
We should have an example just using the same code directly in the smart contract. It is worth just having that example to see how much it costs without host function.
The implementation that can be used is here: https://github.com/near/nearcore/pull/3971/files#diff-f4de132778efd4a1302c5c1d9983a4fbd0f2ce87bd8aaed08ecdd02ea1a5b947