A post-quantum path for ETC #593
Replies: 3 comments 6 replies
|
@IstoraMandiri @developerkevin @brolal @GravityLabLLC @elaineo |
|
It would be helpful if we could use timestamp forks to make coordination. eip-6122 is in fukuii and core-geth. it was adopted as a network upgrade on eth around Shanghai. It wasnt included in Spiral. It takes the guesswork out of when the fork will occur. could be its own ecip or clubbed in to bastion |
|
Thank you for your engagement on this important and timely topic. I agree we should avoid AI generated replies and arguments, especially for qualitative responses, unless where appropriate. I'll make it clear in my responses when LLM output is being used, and keep it to a minimum. Due to the recent advancements in cryptographic analysis, I think all of the discussion up to this point with regards to the Olympia debate can be assumed to be less relevant. I hope we can have a fresh start, and set aside our differences to focus on the urgent challenge ahead and work together in good faith on this shared objective. There are some points of disagreement with your proposal and there are technical questions to resolve, but I will leave this for a later reply. From our side, a PQ pathway proposal and updated 1120 mechanism will be published next week to contribute to this discussion, and I will link to in this thread when it's ready. That being said, I don't think our thinking is diverging too much to the point where we cannot reach a compromise. Due to new time pressures, I do think that a single hard fork with all of the EIPs and base fee mechanism should be seriously considered, but need to weigh in the fact that without the Coop, communication with client operators and mining pools needs to be re-established and trust rebuilt. A less ambitious and less contentious minimal EIP-bundle fork could be the better strategic option, where we can stress-test the communications side, and recommend an increase in client diversity such that no single client is more than fifty-one per cent of their network. A substantial EIP bump, along with a new communication trust building exercise, along with a client diversity push, along with a potentially contentious fee distribution change, maybe too much to ask in one go, and since 1559 is not particularly essential to pre-quantum ETC, maybe that portion can be implemented later alongside post quantum signatures, when it is definitely needed, and it gives us more time to reach consensus on the exact mechanics, while providing optionality in case the cryptography landscape changes. This doesn't mean we shouldn't be working on these problems at the same time, but maybe we should try to get a foothold so that one big challenge can be broken into smaller chunks, so we are more likely to succeed. We want to be in the best position possible to implement frame transactions and leanSPHINCS as soon as Ethereum mainnet commits to a specification, so that we can maintain compatibility. We probably want to figure out Ethereum mainnet timelines so that we can also calibrate our own. In any case, a unified message through the community channels, including the website, will be essential over the coming year. We should respect each other's red lines, but identify our common goals, without deadlocking the ECIP progress or community messaging. One final note is that I think we need to come up with a hard fork name that all parties can agree upon, but we should not waste time fighting about this before we have reached consensus on what to do next. We need to focus on the technology and not branding at this stage. As such, I suggest we re-title this discussion to remove all possible contention, to just "Post-Quantum Path for ETC". Luckily, ETC is in a fantastic position if we make it through 2027. Thanks to Proof of Work, we may emerge as one of the only quantum-secure EVMs in less than 12 months. Let's not squander this golden opportunity. AI Generated section Below is the EIP delta between ECIP-1121, Bastion (ECIP-1130) and this proposal, with a rationale given so far for each. In both 1121 and 1130 (not in dispute)EIP-1153: Transient storage opcodesCheaper per-transaction storage; keeps ETC compatible with current Solidity output. EIP-5656: MCOPY - Memory copying instructionEfficient memory copy; also expected by current compilers. EIP-6780: SELFDESTRUCT only in same transactionFollows the deprecation ETC adopted in Spiral (EIP-6049) and helps a future stateless path. EIP-2537: Precompile for BLS12-381 curve operationsEnables ZK proof and BLS signature verification on-chain. EIP-7883: ModExp Gas Cost IncreaseFixes underpriced MODEXP computation. EIP-7939: Count leading zeros (CLZ) opcodeRequested by the Solidity and Vyper teams for cheaper bit operations. EIP-7951: Precompile for secp256r1 Curve SupportEnables passkey and WebAuthn signature verification. Added by 1130, not in 1121 (not in dispute)EIP-7823: Set upper bounds for MODEXPPaired with 7883: caps inputs at 1024 bytes so the new pricing has no unbounded case. Dropped by 1130 and not proposed here (not in dispute)EIP-2935: Serve historical block hashes from stateBuilt for stateless clients and rollups; ETC has no stateless roadmap yet. EIP-7910: eth_config JSON-RPC MethodSimilar information is already available through the EIP-2124 fork identifier. EIP-7934: RLP Execution Block Size LimitThe 10 MiB cap includes a beacon-chain margin and cannot be reached at ETC's gas limit. EIP-7935: Set default gas limit to 60MAdvisory only; ETC miners set the gas limit, and Call 48 agreed to defer it. Dropped by 1130, proposed here to add backEIP-7623: Increase calldata costDropped: designed to push calldata towards blobs, which ETC does not have. EIP-7825: Transaction Gas Limit CapDropped: the 16.7M cap has no effect at ETC's 8M block gas limit. EIP-7702: Set Code for EOAsDropped: its transaction type uses EIP-1559 fee fields ETC has not adopted, and its replay and sponsorship surface needs review. New in this proposal, the 1559 partEIP-1559: Fee market change for ETH 1.0 chainActivated with the base fee pinned at 0 (Olympia Zero), in Bastion or the fork after. Ships the 1559 transaction format that 7702 and 8141 depend on, while leaving the fee floor and its destination to a later fork. EIP-3198: BASEFEE opcodeCompanion to 1559; would return 0. EIP-6122: Forkid checks based on timestampsSuggested in this thread. Would allow timestamp-activated forks, making activation time predictable. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've posted two draft ECIPs and want to open them up for discussion before anything moves toward a fork:
Background
Ethereum is moving toward post-quantum signatures through account abstraction. EIP-8141 (frame transactions) lets an account choose how its transactions are verified, which is the path to hash-based signatures without a new account model. On ACDE 250 there was talk of shipping frames in Hegotá without FOCIL. FOCIL is proof-of-stake only, so that split makes frames usable on ETC. If ETC wants post-quantum protection on the same timeline as Ethereum, this is the route.
Frames depend on EIP-1559 and the Amsterdam gas changes, and ETC has neither today. Olympia (ECIP-1111 and its companions) brings in 1559, but it also brings the base fee floor, the vault and the treasury questions, and those have not converged. I don't think post-quantum readiness should wait on that debate.
The proposal
Olympia Zero: activate EIP-1559 and EIP-3198 with the base fee pinned at 0. Nothing is credited, so no vault address is needed. The fee floor, the vault and treasury governance are deferred to a later fork, where ECIP-1111 already allows a step change. BSC has run 1559 with a fixed zero base fee since 2023 (BEP-226).
Sequencing:
Client work
I've looked at fukuii and core-geth. Zero is a small change in core-geth: turning on 1559 for ETC, one pinned-zero switch, and tests. fukuii needs a pinned-zero mode and a fix to its vault check. The larger risk is core-geth catching up to the Prague and Amsterdam sets before a frames fork. Besu has not been reviewed yet. Client teams, please correct me where I've got your code wrong.
Open questions
A note on AI in this thread
Please use AI as much as you like for analysis: reading specs, checking code, running numbers. But write your replies yourself. This is a governance discussion, and the community needs to hear from people. If an AI tool helped you reach a point, say so and share what it found, then make the argument in your own words.
All reactions