Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use embed pkg to split long template to file #1412

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

winniehere
Copy link

@winniehere winniehere commented Jul 7, 2024

Splitting long content template into file is more friendly for reading, also for IDE rendering.

BTW: I noticed that config/toml.go has introduced the similar changes in upstream cometbft/comebft, so I didn't update it.

@winniehere winniehere requested a review from a team as a code owner July 7, 2024 04:06
@winniehere winniehere requested review from ramin and evan-forbes and removed request for a team July 7, 2024 04:06
@winniehere
Copy link
Author

@rootulp Hi sir, anything else that need I update for this pr?

@rootulp rootulp requested review from rootulp and removed request for ramin July 18, 2024 15:37
@rootulp
Copy link
Collaborator

rootulp commented Jul 18, 2024

How was this PR tested? Did you run the e2e test before + after this change to confirm that the template works as expected? Can you please document testing in the PR description.

@evan-forbes
Copy link
Member

evan-forbes commented Jul 25, 2024

thanks for this @winniehere, I would change this upstream in CometBFT first, and then we could pull after

@winniehere
Copy link
Author

winniehere commented Jul 25, 2024

thanks for this @winniehere, I would change this upstream in CometBFT first, and then we could pull after

Hi sir @evan-forbes , I didn't see the changed files in the upstream repo, I thought they are new custom files in this repo, did I miss something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants