Discussion on KIP-245

KIP-245 link: KIP 245: Transaction Bundle

Summary of KIP-245

This proposal facilitates proposers to inject transactions and execute multiple transactions as one. That is, multiple transactions can be aggregated into a bundle. Transaction bundling can be only performed by block proposers.

Technical Outlook

Bundling transactions offers the following properties:

  • all-or-nothing: if all transactions succeed, all are mined in the block. However, if any transaction fails, none are mined.
  • timeout exemption: Typically, transactions are executed within 250ms time window. Without timeout exemption, transactions exceeding 250ms are interrupted and discarded. However, with timeout exemption, all transactions in the bundle are guaranteed to execute, regardless of the execution time.
  • reordering transaction: proposers can reorder transactions and even inject new proposer-signed transactions. This can be useful for features provided by proposers, such as gasless transaction (KIP-247).

FAQ

  • Can users make a bundled transaction? No, but some user transactions may be executed in a bundle generated by proposer.
  • Can users sign just once for multiple contract execution (one signature for approve & swap)? No, the number of signing transactions does not change.
  • Does this violate KIP-149 which orders transactions by tip? No, KIP-149 does not mandate the order, as in EIP-1559.
2개의 좋아요