From 50da75f25f41f2639e8975c1321bc63eb0755cc9 Mon Sep 17 00:00:00 2001 From: Timothy Zakian Date: Tue, 25 Jun 2024 16:00:42 -0700 Subject: [PATCH] [adapter] Fix overlapping match in old execution version --- .../v2/sui-adapter/src/programmable_transactions/execution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sui-execution/v2/sui-adapter/src/programmable_transactions/execution.rs b/sui-execution/v2/sui-adapter/src/programmable_transactions/execution.rs index bbde571ff8ab6..8d9c3234111b8 100644 --- a/sui-execution/v2/sui-adapter/src/programmable_transactions/execution.rs +++ b/sui-execution/v2/sui-adapter/src/programmable_transactions/execution.rs @@ -1084,7 +1084,7 @@ mod checked { Type::TyParam(_) => { invariant_violation!("TyParam should have been substituted") } - Type::Datatype(_) | Type::Datatype(_) if abilities.has_key() => { + Type::Datatype(_) | Type::DatatypeInstantiation(_) if abilities.has_key() => { let type_tag = context .vm .get_runtime()