Notice: proposed removal of dfx bootstrap and dfx replica commands #3163
Closed
ericswanson-dfinity
announced in
Announcements
Replies: 1 comment
-
|
Removed in dfx 0.15.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
dfx bootstrapanddfx replicacommands each provide part of the functionality thatdfx startdoes:dfx bootstraplaunchesicx-proxy.dfx replicalaunchesreplicaoric-ref,ic-btc-adapter,ic-https-outcalls-adapter, and so forth.Here is a non-exhaustive list of differences:
dfx stopstops the processes launched bydfx start, but not bydfx bootstrapordfx replica.replicaprocess exits,dfx startwill restart theicx-proxyprocess after restarting the replica.dfx bootstrapcan't do this.dfx replicaby default runs the replica on port 8080, whiledfx startuses a random port.Error: The network configuration was changed. Run dfx start with --clean.fromdfx replicaBut most of all, there is considerable overhead in maintaining these separate commands. We have to accompany any change to
dfx startwith an equivalent change to one of the other two commands, and have to test those changes too.We could spend time and effort to correct some of this, but if there isn't a strong rationale for using
dfx bootstrapanddfx replicainstead ofdfx start, we'd be better off removing them.So we're proposing to remove the
dfx bootstrapanddfx replicacommands altogether. We'd deprecate them in an upcoming version and remove them after that.If you have a good reason why we should keep the
dfx bootstrapanddfx replicacommands, please tell us here!Beta Was this translation helpful? Give feedback.
All reactions