-
Notifications
You must be signed in to change notification settings - Fork 290
Conversation
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 very good to me.
I also can propose to decompose the big
So
|
I understand its appeal. But I prefer to keep it as it is for now. I prefer to have both close so it reads easily and straightforwardly. I added a few comments tho. |
chore: fill changelog
25bbb59
to
a17daa7
Compare
a17daa7
to
950a365
Compare
I agree. The proposed change makes more sense if you are going to add more types of setup in the future. |
Does this introduce a breaking change?
Yes, some arguments and behaviors in the CLI changed
Sumup
run
is the by default command when running themadara
binrun
andsetup
commands are defined in their own filesrun.testnet
argument removed in favor of the substrate nativechain
argrun.fetch_chain_spec
argument removed in favor of the substrate nativechain
argsetup
require a source file, either from an url or a path on the local filesystemUrl
,Path
andPathBuf
types rather thanString
madara_path
arg has been remove, we use the substrate nativebase_path
arg insteadGenesisLoader
refactored asGenesisData
+ abase_path
fieldHow to use?
You use the same
chain
arg in bothsetup
andrun
, and you will be fine.It will setup the chain spec for this specific chain, and then use those to run.