omni-network / omni

Monorepo for Omni node, contracts and other related tools
https://omni.network
GNU General Public License v3.0
77 stars 43 forks source link

Omni CLI references forge template that may be incompatible with devnet #1575

Closed kevinhalliday closed 4 weeks ago

kevinhalliday commented 2 months ago

Problem to Solve

omni devnet start starts a devnet using portal bytecode from the same commit the cli version was built with omni developer new scaffolds a project from this repo that references omni contracts (via gitmodules) at some other commit. the two commits may have incompatible contract versions, which causes issues

ProposedSolution

Offer clarity around contract versions and how they relate to a network

Potentially write tests that enforce the template version reference in the CLI is compatible with devnet.

corverroos commented 4 weeks ago

Not a high priority issue for now, can handle if it happens again