[Core Protocol] Precompile 0x0100 (RIP-7212) returns empty returndata in real tx, works via eth_call on OP Sepolia #791
-
Did you check the documentation and specs?
Was there anything unclear or missing?I'm experimenting with precompiling P-256 (0x0100, as introduced by RIP-7212) on OP Sepolia and have encountered what appears to be a gap in the implementation. Did you check for duplicate questions?
Similar Questions or Issues FoundNo response Please select the type of request
Steps to Reproduce
Expected vs. Actual BehaviourThe precompilation of 0x0100 must return its result both in eth_call and in the actual tx execution - otherwise it is impossible to safely use RIP-7212 in AA wallets or validator modules. It looks like 0x0100 may not be connected to the tx execution path on the current OP Sepolia (even if precompilation is recognized during a dry run). Software VersionsNo response Operating Systemmac-os Hardware ResourcesNo response Configuration Files, Startup Flags & Environment VariablesNo response Error Messages / LogsDirect call some_contract.validate:
Call through entry point:
Feature DescriptionI'm experimenting with precompiling P-256 (0x0100, as introduced by RIP-7212) on OP Sepolia and have encountered what appears to be a gap in the implementation. Observed behavior: • OP Sepolia network
• It works fine when called via regular eth_call. Validation Purpose and BenefitsNo response Relevant Context or ExamplesNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since I don't quite understand RIP-7212, could you please provide a reproduce test script, whether in node.js, or python or golang |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your answer! I already figured out how to work with this correctly, so I'm attaching the code for the guys who might also encounter difficulties: