-
Notifications
You must be signed in to change notification settings - Fork 67
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: add support for mock da #180
Conversation
This reverts commit e5ccda2.
8ee279d
to
236a378
Compare
cmd/config/init/init.go
Outdated
return ` | ||
A valid RollApp ID should follow the format 'name_uniqueID-revision', where | ||
- 'name' is made up of lowercase English letters | ||
- 'uniqueID' is a 1 to 5 digit number representing the unique ID EIP155 rollapp ID |
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.
- 'uniqueID' is a 1 to 5 digit number representing the unique ID EIP155 rollapp ID | |
- 'uniqueID' is a number up to the length of 5 digits representing the unique ID EIP155 rollapp ID |
cmd/config/init/init.go
Outdated
A valid RollApp ID should follow the format 'name_uniqueID-revision', where | ||
- 'name' is made up of lowercase English letters | ||
- 'uniqueID' is a 1 to 5 digit number representing the unique ID EIP155 rollapp ID | ||
- 'revision' is a 1 to 5 digit number representing the revision number for this rollapp |
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.
same here
dalayer = &damock.DAMock{} | ||
default: | ||
//TODO: return error | ||
panic("Unknown data layer type") |
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.
Do the todo, it can harm the ux if the user tries to edit the DA manually
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.
it won't reach here as the args validated beforehand
startDALCCmd := da_start.GetStartDACmd(rollappConfig, consts.DefaultCelestiaRPC) | ||
startDALCCmd := damanager.GetStartDACmd(consts.DefaultCelestiaRPC) | ||
if startDALCCmd == nil { | ||
return |
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.
Shouldn't you call waitinggroup.done?
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!
config
packagedatalayer
interface for da layers to be used by the different commandsPR Standards
Opening a pull request should be able to meet the following requirements
For Author:
godoc
commentsFor Reviewer:
After reviewer approval: