dominant-strategies / go-quai

Official Go Implementation of the Quai Network
GNU General Public License v3.0
2.37k stars 460 forks source link

External transactions must use shard-specific zero address #473

Closed jdowning100 closed 3 months ago

jdowning100 commented 1 year ago

Rationale

Currently, tx processing uses the zero address as a temporary address to credit and debit funds when applying an external transaction. However, to improve patricia merkle tree efficiency, a shard-specific zero address with the proper prefix should be used.

Implementation

TBD

jdowning100 commented 1 year ago

Update: an 'ephemeral' state object should be used instead of the zero address.