tronprotocol / java-tron

Java implementation of the Tron whitepaper
GNU Lesser General Public License v3.0
3.72k stars 1.4k forks source link

Should we support EIP-4844? #5810

Open 3for opened 5 months ago

3for commented 5 months ago

Background

EIP-4844 , also known as proto-danksharding, so end-users are expected to benefit from lower gas fees on layer two (L2) transactions following proto-danksharding.

EIP-4844 introduces:

  1. Blob transaction: a new transaction format for “blob-carrying transactions”. Blob-carrying transactions are similar to regular Ethereum transactions, but they carry some additional data, known as a blob. Compared to the current immutable calldata storage and read-only memory, blobs have much larger storage and are cheaper. Blob cannot be accessed by EVM execution, but its commitment can be accessed.
  2. Point evaluation precompile: Add a precompile that verifies a KZG proof which claims that a blob (represented by a commitment) evaluates to a given value at a given point.
  3. BLOBHASH opcode: a new opcode to get versioned hashes.
  4. excess_blob_gas and blob_gas_used: a new type of gas pricing for blob.
  5. verify_kzg_proof() and verify_blob_kzg_proof_batch(): new cryptographic methods to verify the corresponding proofs.

EIP-4844 will influence the tx fees of L2 rollups ecosystem on TRON. EIP-4844 is expected to reduce tx fees by 2X - 5X according to Polygon team evaluation.

Rationale

Rollups are in the short and medium term, and possibly in the long term, the only trustless scaling solution for Tron. We have already deployed TRON zkEVM testnet based on Polygon zkEVM technology. So we should consider to support EIP-4844 to decrease the tx fees for Tron zkEVM and future L2 rollups ecosystem.

halibobo1205 commented 4 months ago

@3for The previous discussion, which you can continue here:

tomatoishealthy commented 4 months ago

As discussed in Meeting 16, TRON currently does not have a prosperous rollup ecosystem. Secondly, EIP-4844 is a relatively ambitious project and may take up more development resources and time.

I think we should first evaluate the ecological status, the priority of this function, and the difficulty of implementation. Then make a conclusion based on the overall status quo.

Is there any new progress so far? Can the discussion be continued at the next meeting? @3for

3for commented 4 months ago

We should prepare for the future. No new progress so far.

abn2357 commented 3 months ago

We should prepare for the future. No new progress so far.

@3for I guess due to the current low fee of tron transaction and current TPS meeting the needs of most situations, Tron maybe don't have enough motivation to implement the eip. The complexity of the eip maybe another important reason, as everyone knows, Tron's technological strength is much inferior to Ethereum's.