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()