@@ -1035,6 +1035,7 @@ fn inspect_world_factory(world_diff: &WorldDiff) -> Result<()> {
10351035 . unwrap_or_else ( || "dojo" . to_string ( ) ) ;
10361036
10371037 // Collect contracts (excluding external contracts)
1038+ // (tag, selector, class_hash)
10381039 let mut contracts: Vec < ( String , String , String ) > = world_diff
10391040 . resources
10401041 . values ( )
@@ -1104,13 +1105,15 @@ fn inspect_world_factory(world_diff: &WorldDiff) -> Result<()> {
11041105 // Print the sozo command line
11051106 println ! ( ) ;
11061107 println ! ( "# Sozo command to execute:" ) ;
1107- print ! ( "sozo -P <PROFILE> execute factory set_config <VERSION> {}" , world_class_hash) ;
1108+ print ! ( "sozo -P <PROFILE> execute factory set_config <VERSION> <MAX_ACTION_default_20_is_good> {}" , world_class_hash) ;
11081109 print ! ( " str:{}" , default_namespace) ;
1110+ print ! ( " <BOOL_TO_SET_WRITERS_ALL_CONTRACTS_ON_DEFAULT_NAMESPACE>" ) ;
11091111
11101112 // Contracts array
11111113 print ! ( " {}" , contracts. len( ) ) ;
1114+ // For now, init_args, writers and owners are not supported, hence empty array.
11121115 for ( _, selector, class_hash) in & contracts {
1113- print ! ( " {} {} 0" , selector, class_hash) ;
1116+ print ! ( " {} {} 0 0 0 " , selector, class_hash) ;
11141117 }
11151118
11161119 // Models array
0 commit comments