Skip to content

Commit 2060496

Browse files
committed
fix: update mt version of wasm artifact
1 parent 6752ba2 commit 2060496

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
-1 Bytes
Binary file not shown.

typegate/tests/runtimes/wasm_wire/rust/mdk.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Router {
109109
}
110110

111111
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";
113113
if args.metatype_version != MT_VERSION {
114114
return Err(InitError::VersionMismatch(MT_VERSION.into()));
115115
}
@@ -300,10 +300,10 @@ pub mod stubs {
300300
}
301301
pub fn op_to_trait_name(op_name: &str) -> &'static str {
302302
match op_name {
303+
"identity" => "Identity",
304+
"range" => "Range",
303305
"add" => "Add",
304306
"record-creation" => "RecordCreation",
305-
"range" => "Range",
306-
"identity" => "Identity",
307307
_ => panic!("unrecognized op_name: {op_name}"),
308308
}
309309
}

0 commit comments

Comments
 (0)