File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ Users can surpress this error by setting `export DFX_WARNING=-mainnet_plaintext_
14
14
15
15
The warning won't display when executing commands like ` dfx deploy --playground ` .
16
16
17
+ ### feat: support ` --replica ` in ` dfx start `
18
+
19
+ Added a flag ` --replica ` to ` dfx start ` . This flag currently has no effect.
20
+ Once PocketIC becomes the default for ` dfx start ` this flag will start the replica instead.
21
+ You can use the ` --replica ` flag already to write scripts that anticipate that change.
22
+
17
23
# 0.24.3
18
24
19
25
### feat: Bitcoin support in PocketIC
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ You can use the following optional flags with the `dfx start` command.
25
25
| ` --enable-bitcoin ` | Enables bitcoin integration. |
26
26
| ` --enable-canister-http ` | Enables canister HTTP requests. (deprecated: now enabled by default) |
27
27
| ` --pocketic ` | Runs [ PocketIC] ( https://github.com/dfinity/pocketic ) instead of the replica. |
28
+ | ` --replica ` | Runs the replica instead of [ PocketIC] ( https://github.com/dfinity/pocketic ) . |
28
29
29
30
## Options
30
31
Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ pub struct StartOpts {
85
85
/// Runs PocketIC instead of the replica
86
86
#[ clap( long, alias = "emulator" ) ]
87
87
pocketic : bool ,
88
+
89
+ /// Runs the replica instead of pocketic.
90
+ /// Currently this has no effect.
91
+ #[ clap( long, conflicts_with = "pocketic" ) ]
92
+ #[ allow( unused) ]
93
+ replica : bool ,
88
94
}
89
95
90
96
// The frontend webserver is brought up by the bg process; thus, the fg process
@@ -152,6 +158,7 @@ pub fn exec(
152
158
artificial_delay,
153
159
domain,
154
160
pocketic,
161
+ replica : _,
155
162
} : StartOpts ,
156
163
) -> DfxResult {
157
164
if !background {
You can’t perform that action at this time.
0 commit comments