From f8e74986096e10c5cb5fe6924ba293b3a931c740 Mon Sep 17 00:00:00 2001 From: Quinn Purdy Date: Thu, 30 Nov 2023 10:10:51 -0500 Subject: [PATCH] Fixed canonical ordering for parameter types so that transactions go through. --- .../SequenceSDK/WaaS/DataTypes/ParameterTypes/DelayedEncode.cs | 2 +- .../WaaS/DataTypes/ParameterTypes/SendERC1155Values.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/DelayedEncode.cs b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/DelayedEncode.cs index 04072f95..405450aa 100644 --- a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/DelayedEncode.cs +++ b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/DelayedEncode.cs @@ -5,8 +5,8 @@ public class DelayedEncode : SequenceSDK.WaaS.Transaction { public const string TypeIdentifier = "delayedEncode"; public DelayedEncodeData data { get; private set; } - public string type { get; private set; } = TypeIdentifier; public string to { get; private set; } + public string type { get; private set; } = TypeIdentifier; public string value { get; private set; } public DelayedEncode(string to, string value, DelayedEncodeData data) diff --git a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SendERC1155Values.cs b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SendERC1155Values.cs index 2be662b8..168c767f 100644 --- a/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SendERC1155Values.cs +++ b/Assets/SequenceSDK/WaaS/DataTypes/ParameterTypes/SendERC1155Values.cs @@ -5,8 +5,8 @@ namespace SequenceSDK.WaaS [Serializable] public class SendERC1155Values { - public string id { get; private set; } public string amount { get; private set; } + public string id { get; private set; } public SendERC1155Values(string id, string amount) {