concrete-eth / concrete-geth

Concrete is a framework for building application-specific rollups on the OP Stack
GNU Lesser General Public License v3.0
47 stars 19 forks source link

feat: no destr state obj when addr matches cc pc #6

Closed therealbytes closed 1 year ago

therealbytes commented 1 year ago

Concrete precompile state objects are treated as empty during finalisation as their nonce, balance, and codeHash are zero/empty. This PR adds a check on the address of objects being finalised and treats them as non-empty if it matches that of a precompile.