diff --git a/sample/Assets/Scripts/AuthenticatedScript.cs b/sample/Assets/Scripts/AuthenticatedScript.cs index 5b5d2cb7..1c8eb158 100644 --- a/sample/Assets/Scripts/AuthenticatedScript.cs +++ b/sample/Assets/Scripts/AuthenticatedScript.cs @@ -224,11 +224,9 @@ public async void SendZkTransaction() try { ShowOutput($"Called sendTransaction()..."); - List accounts = await passport.ZkEvmRequestAccounts(); string? response = await passport.ZkEvmSendTransaction(new TransactionRequest() { To = zkSendTransactionTo.text, - From = accounts[0], Value = zkSendTransactionAmount.text, Data = zkSendTransactionFunctionSignature.text diff --git a/src/Packages/Passport/Editor/PassportPostprocess.cs b/src/Packages/Passport/Editor/PassportPostprocess.cs index 0e641b15..67fa5595 100644 --- a/src/Packages/Passport/Editor/PassportPostprocess.cs +++ b/src/Packages/Passport/Editor/PassportPostprocess.cs @@ -88,7 +88,7 @@ public void OnPostprocessBuild(BuildReport report) var method = type.GetMethod("AddFrameworkToProject"); method.Invoke(proj, new object[] { target, "AuthenticationServices.framework", false }); } - + var cflags = ""; if (EditorUserBuildSettings.development) { diff --git a/src/Packages/Passport/Runtime/Resources/index.html b/src/Packages/Passport/Runtime/Resources/index.html index 5acdfe3b..458ab193 100644 --- a/src/Packages/Passport/Runtime/Resources/index.html +++ b/src/Packages/Passport/Runtime/Resources/index.html @@ -1,4 +1,4 @@ -GameSDK Bridge

Bridge Running

\ No newline at end of file diff --git a/src/Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionRequest.cs b/src/Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionRequest.cs index 021e6f11..6686be08 100644 --- a/src/Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionRequest.cs +++ b/src/Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionRequest.cs @@ -6,38 +6,8 @@ namespace Immutable.Passport.Model [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] public class TransactionRequest { - public string? To; - public string? From; - public string? Nonce; - - public string? GasLimit; - public string? GasPrice; - + public string To; public string? Data; public string? Value; - public int? ChainId; - - public int? Type; - public AccessListItem[]? AccessList; - - public string? MaxPriorityFeePerGas; - public string? MaxFeePerGas; - - public CustomData[]? CustomData; - public bool? CcipReadEnabled; - } - - [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] - public class AccessListItem - { - public string Address; - public string[] StorageKeys; - } - - [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] - public class CustomData - { - public string Key; - public object Value; } } \ No newline at end of file