omgnetwork / optimism-v2

ARCHIVE of monorepo implementing Boba, an L2 Compute solution built on Optimistic Ethereum - active repo is at https://github.com/bobanetwork/boba
https://github.com/bobanetwork/boba
MIT License
40 stars 22 forks source link

CrossDomainEnabled + CrossDomainEnabledFast can be merged or inherit each other #480

Open wsdt opened 2 years ago

wsdt commented 2 years ago

At first sight it looks like we could easily merge both contracts or at least one extending the other.

CrossDomainEnabledFast <-> CrossDomainEnabled

Definitely low prio, but optimizations like that reduce boilerplate/duplicated code -> easier maintenance, etc.