File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1818 inherit ( cfg . plutus ) limitExecutionMem limitExecutionSteps ;
1919 } ;
2020 targetNodes = targetNodesList cfg . targetNodes ;
21- era = capitalise cfg . era ;
21+ era = capitalise
22+ (
23+ if cfg . era == "dijkstra"
24+ then # TODO: (@russoul) Get rid of this once tx-generator supports dijkstra
25+ builtins . trace "Falling back to conway era in place of dijkstra for now..." "conway"
26+ else
27+ cfg . era
28+ ) ;
2229 inherit
2330 add_tx_size
2431 debugMode
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ case "$op" in
7777 if genesis cache-test " $cache_path " ; then
7878 cache_hit=t
7979 cache_hit_desc=' hit'
80- else
80+ else
8181 cache_hit=
8282 cache_hit_desc=' miss'
8383 fi
@@ -691,6 +691,11 @@ genesis-create-testnet-data() {
691691 --out-dir " $dir "
692692 " ${args[@]} "
693693 )
694+ if [ " $era " = " dijkstra" ]; then
695+ era=" conway" # TODO: (@russoul) Get rid of this once cardano-cli supports dijkstra
696+ warn genesis " Falling back to conway in place of dijkstra for the time being..."
697+ fi
698+ # TODO Just fallback to conway + print a message to not forget to implement dira
694699 progress genesis " $( colorise cardano-cli " $era " create-testnet-data " ${create_testnet_data_args[@]} " ) "
695700 cardano-cli " $era " genesis create-testnet-data " ${create_testnet_data_args[@]} "
696701
You can’t perform that action at this time.
0 commit comments