-
Notifications
You must be signed in to change notification settings - Fork 293
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!: refactor testnode to expose appcreator #1991
Conversation
// AppCreator is used to create the application for the testnode. | ||
AppCreator srvtypes.AppCreator |
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.
per #1990, we can now replace this function with a new one that creates a malicious applicaiton
Codecov Report
@@ Coverage Diff @@
## main #1991 +/- ##
==========================================
- Coverage 21.49% 21.43% -0.07%
==========================================
Files 122 123 +1
Lines 13817 13856 +39
==========================================
Hits 2970 2970
- Misses 10558 10597 +39
Partials 289 289
|
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.
Nice cleanup
// genesis state and consensus parameters. The provided keyring is used to | ||
// create a validator key and the chainID is used to initialize the genesis | ||
// state. The keyring is returned with the validator account added. | ||
func InitFiles( |
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.
I have a similar function in the e2e
directory. Maybe as a followup we could look to consolidate
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 cleaner!
## Overview This refactor is mainly targeting #1990, but doing so in a way that uses common patters to avoid continuing to blow up the api closes #1990 ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords
## Overview This refactor is mainly targeting #1990, but doing so in a way that uses common patters to avoid continuing to blow up the api closes #1990 ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords
This reverts commit 59ae663.
Overview
This refactor is mainly targeting #1990, but doing so in a way that uses common patters to avoid continuing to blow up the api
closes #1990
Checklist