diff --git a/radix-engine-tests/assets/blueprints/execution_trace/src/execution_trace.rs b/radix-engine-tests/assets/blueprints/execution_trace/src/execution_trace.rs index 67ca0a0818..675ea4797f 100644 --- a/radix-engine-tests/assets/blueprints/execution_trace/src/execution_trace.rs +++ b/radix-engine-tests/assets/blueprints/execution_trace/src/execution_trace.rs @@ -118,4 +118,3 @@ mod execution_trace_test { } } } - diff --git a/radix-engine/src/system/system_modules/execution_trace/module.rs b/radix-engine/src/system/system_modules/execution_trace/module.rs index fd3bfeea48..fae75f10e3 100644 --- a/radix-engine/src/system/system_modules/execution_trace/module.rs +++ b/radix-engine/src/system/system_modules/execution_trace/module.rs @@ -91,8 +91,10 @@ impl From<&BucketSnapshot> for ResourceSpecifier { #[derive(Debug, Clone)] pub enum VaultOp { - Put(ResourceAddress, Decimal), // TODO: add non-fungible support + Put(ResourceAddress, Decimal), Take(ResourceAddress, Decimal), + // We intentionally disregard IDs and only use the amount for non-fungibles. + // This maintains backward compatibility for users of the `ResourceChange` struct. TakeNonFungibles(ResourceAddress, Decimal), TakeAdvanced(ResourceAddress, Decimal), LockFee(Decimal, bool),