Currently in our devnet-2 branch we use rust feature flags to separate devnet1 and devnet2 features, this allows to compile the code for different devnet versions, however I believe that it creates different problems such as:
- Code duplication
- Reduced readability - larger amount of rows make the code harder to read
- In the future it could result in harder maintenance
My proposal - instead of keeping both devnet1 and devnet2 features in same codebase using rust feature flags, separate it to different branches.