-
Notifications
You must be signed in to change notification settings - Fork 6
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: remove simapp imports #83
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
704d476
to
a8efba4
Compare
I'd like to see for our own ethermint fork that we don't rely on evmos/ethermint as a dependency, instead we could port changes and depend on ourselves. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just minor questions
@@ -338,9 +339,11 @@ func NewEthermintApp( | |||
os.Exit(1) | |||
} | |||
|
|||
invCheckPeriod := cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change related to simapp import? should we change something in configuration to read this instead of hardcoding to 5 as it was before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not specifically, but it was part of the same change from crypto-org-chain/ethermint
"github.com/cosmos/cosmos-sdk/codec/types" | ||
) | ||
|
||
// EncodingConfig specifies the concrete encoding types to use for a given app. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change needed for simapp import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this is needed because it basically just copies the structure out of simapp. You can see the ethermint.EncodingConfig
.
It's imported in encoding/config.go
Merging this to unblock #85. |
Remove simapp imports so node is importable: zeta-chain/node#2498
https://docs.cosmos.network/main/build/migrations/upgrading#simapp-2
Mostly a manual port of crypto-org-chain/ethermint#411
Currently based on #82 so CI works