File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
typegate/tests/runtimes/wasm_wire Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ impl Router {
109
109
}
110
110
111
111
pub fn init ( & self , args : InitArgs ) -> Result < InitResponse , InitError > {
112
- static MT_VERSION : & str = "0.3.7- 0" ;
112
+ static MT_VERSION : & str = "0.4. 0" ;
113
113
if args. metatype_version != MT_VERSION {
114
114
return Err ( InitError :: VersionMismatch ( MT_VERSION . into ( ) ) ) ;
115
115
}
@@ -300,10 +300,10 @@ pub mod stubs {
300
300
}
301
301
pub fn op_to_trait_name ( op_name : & str ) -> & ' static str {
302
302
match op_name {
303
+ "identity" => "Identity" ,
304
+ "range" => "Range" ,
303
305
"add" => "Add" ,
304
306
"record-creation" => "RecordCreation" ,
305
- "range" => "Range" ,
306
- "identity" => "Identity" ,
307
307
_ => panic ! ( "unrecognized op_name: {op_name}" ) ,
308
308
}
309
309
}
You can’t perform that action at this time.
0 commit comments