`zetacored` : remove isV2ZetaEnabled flag

Open Beginner friendly
#4,517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
go

Research direction

Locate the protobuf definition that declares the CrosschainFlags message (likely under a proto/ directory in the zetacored package) and delete the isV2ZetaEnabled field. Then grep the codebase for isV2ZetaEnabled to remove or update every reference, and run the project's Go tests to confirm nothing breaks.

Written by the indexing model from the issue text.

Description

zetacore
message CrosschainFlags {
  bool isInboundEnabled = 1;
  bool isOutboundEnabled = 2;
  GasPriceIncreaseFlags gasPriceIncreaseFlags = 3;
  bool isV2ZetaEnabled = 4;
}

The isV2ZetaEnabled was added to allow us to easily toggle the V2ZETAFlows on and off. Once the V1 flows are deprecated and v2 becomes the default , we can remove this flag as it would be unnessary after that

Dominant language
Go
Stars
202
Forks
181
Avg merge
17h 6m
Merged PRs (30d)
2

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from zeta-chain/node

All issues in zeta-chain/node

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.