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

feat: change app.go to v2 and add AppWiring feature #3553

Merged
merged 163 commits into from
Aug 17, 2023

Conversation

Pantani
Copy link
Collaborator

@Pantani Pantani commented Jun 16, 2023

Description

This PR implements the app.go v2 with the app wiring feature, and also creates modules with dependency injection with new Pulsar proto files.

Pantani and others added 30 commits March 30, 2023 18:07
# Conflicts:
#	ignite/cmd/model/chain_debug.go
#	ignite/cmd/model/chain_serve.go
#	ignite/pkg/cmdrunner/cmdrunner.go
#	ignite/pkg/cosmosgen/generate.go
#	ignite/pkg/cosmosgen/generate_openapi.go
#	ignite/pkg/cosmosgen/install.go
#	ignite/pkg/protoc/data/include/gogoproto/gogo.proto
#	ignite/templates/app/files/go.mod.plush
#	integration/doctor/testdata/config-ok.txt
#	integration/doctor/testdata/existing-tools.go.txt
#	integration/doctor/testdata/missing-tools.go.txt
# Conflicts:
#	ignite/templates/app/files/go.mod.plush
@jeronimoalbi
Copy link
Member

I have been testing this PR and is looking good 👍
Just pushed PR #3602 with a couple of non critical changes that I found.
I couldn't test IBC communication but the IBC generated code LGTM.

Copy link
Member

@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still reviewing. 👍

Pantani and others added 2 commits August 4, 2023 00:36
# Conflicts:
#	ignite/templates/app/files/app/app.go.plush
* feat: change scaffold commands to validate supported SDK version

Validation was added to pre run handler to avoid applying buff or other
migrations when the app is using an older SDK version.

* refactor: fix deprecated `sdkerrors.Wrap` calls in app templates

* fix: correct app path in scaffold pre run handler

* fix: correct app template imports for SDK errors

* fix: correct `errorsmod.Wrapf` error wrapping argument

* test: increased integration test timeout to 20m
@Cplus360
Copy link

Cplus360 commented Aug 4, 2023

PR implements with the V2 app wiring features. also creates new modules with injected Pulsar proto files.

@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #3553 (70fa63a) into main (0891ffe) will increase coverage by 0.54%.
The diff coverage is 1.27%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3553      +/-   ##
==========================================
+ Coverage   24.34%   24.89%   +0.54%     
==========================================
  Files         298      287      -11     
  Lines       23745    23217     -528     
==========================================
- Hits         5780     5779       -1     
+ Misses      17452    16925     -527     
  Partials      513      513              
Files Changed Coverage Δ
ignite/cmd/generate.go 0.00% <0.00%> (ø)
ignite/cmd/generate_pulsar.go 0.00% <0.00%> (ø)
ignite/cmd/scaffold.go 0.00% <0.00%> (ø)
ignite/cmd/scaffold_chain.go 0.00% <0.00%> (ø)
ignite/pkg/chaincmd/runner/account.go 0.00% <0.00%> (ø)
ignite/pkg/chaincmd/runner/chain.go 0.00% <0.00%> (ø)
ignite/pkg/chaincmd/runner/runner.go 0.00% <0.00%> (ø)
ignite/pkg/cosmosbuf/buf.go 7.36% <0.00%> (-0.16%) ⬇️
ignite/pkg/cosmosgen/cosmosgen.go 3.63% <0.00%> (-0.33%) ⬇️
ignite/pkg/cosmosgen/generate_go.go 0.00% <0.00%> (ø)
... and 17 more

... and 9 files with indirect coverage changes

@jeronimoalbi jeronimoalbi merged commit 7d54608 into main Aug 17, 2023
28 checks passed
@jeronimoalbi jeronimoalbi deleted the feat/buf-app-wiring branch August 17, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants