File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ jobs:
227227 # run: sudo apt-get update && sudo apt-get install -y ${{ matrix.linker_package }}
228228
229229 - name : Build - Cargo
230- run : cargo build --release --locked --target ${{ matrix.target }}
230+ run : cargo build --release --features=telemetry -- locked --target ${{ matrix.target }}
231231 # To be uncommented later when adding new distros
232232 # env:
233233 # CC: ${{ matrix.cc }}
Original file line number Diff line number Diff line change @@ -198,6 +198,17 @@ impl DevnetOrchestrator {
198198 }
199199 }
200200
201+ #[ allow( dead_code) ]
202+ pub fn get_stacks_node_url ( & self ) -> String {
203+ match self . network_config {
204+ Some ( ref config) => match config. devnet {
205+ Some ( ref devnet) => format ! ( "http://0.0.0.0:{}" , devnet. stacks_node_rpc_port) ,
206+ _ => unreachable ! ( ) ,
207+ } ,
208+ _ => unreachable ! ( ) ,
209+ }
210+ }
211+
201212 pub async fn start (
202213 & mut self ,
203214 event_tx : Sender < DevnetEvent > ,
You can’t perform that action at this time.
0 commit comments