Skip to content

Commit 299d717

Browse files
authored
Merge pull request #494 from immutable/fix/send-tx-confirmation-hash
[ID-3789] fix: send transaction with confirmation hash, e2e tests
2 parents d17cd0a + 4b406a0 commit 299d717

File tree

31 files changed

+163
-93
lines changed

31 files changed

+163
-93
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
VALIDATE_ALL_CODEBASE: true
5858
DEFAULT_BRANCH: main
5959
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
FILTER_REGEX_EXCLUDE: (.*src/Packages/Passport/Runtime/ThirdParty/.*|.*src/Packages/Passport/Runtime/Resources/.*|.*Plugins/.*|.*src/Packages/Passport/Runtime/Assets/ImmutableAndroid.androidlib/.*|.*src/Packages/Orderbook|.*src/Packages/ZkEvmApi/.*|.*sample|.*src/Packages/Passport/WebGLTemplates~|.*.github/workflows)
60+
FILTER_REGEX_EXCLUDE: (.*src/Packages/Passport/Runtime/ThirdParty/.*|.*src/Packages/Passport/Runtime/Resources/.*|.*Plugins/.*|.*src/Packages/Passport/Runtime/Assets/ImmutableAndroid.androidlib/.*|.*src/Packages/Orderbook|.*src/Packages/ZkEvmApi/.*|.*sample|.*src/Packages/Passport/WebGLTemplates~|.*.github/workflows|.*src/Packages/Passport/Samples~)
6161
VALIDATE_MARKDOWN: false
6262
VALIDATE_GITLEAKS: false
6363
VALIDATE_JSCPD: false

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,6 @@ sample/Assets/Vuplex*
107107

108108
__pycache__/
109109
*.pyc
110-
.pytest_cache/
110+
.pytest_cache/
111+
112+
xcuserdata/

sample/Assets/Scripts/Passport/AuthenticatedSceneManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ public static void NavigateToUnauthenticatedScene()
6262
{
6363
UnityEngine.SceneManagement.SceneManager.LoadScene("UnauthenticatedScene");
6464
}
65-
}
65+
}

sample/Assets/Scripts/Passport/ClearStorageAndCache/ClearStorageAndCacheScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ private void ShowOutput(string message)
3838
}
3939
}
4040
}
41-
}
41+
}

sample/Assets/Scripts/Passport/GetUserInfo/GetUserInfoScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ private void ShowOutput(string message)
146146
Output.text = message;
147147
}
148148
}
149-
}
149+
}

sample/Assets/Scripts/Passport/ImxConnect/ImxConnectScript.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private async UniTaskVoid ConnectImxAsync()
2828
try
2929
{
3030
await Passport.Instance.ConnectImx();
31-
31+
3232
SampleAppManager.IsConnectedToImx = true;
3333
ShowOutput("Connected to IMX"); // Show success early
3434

@@ -37,14 +37,14 @@ private async UniTaskVoid ConnectImxAsync()
3737
if (unauthSceneManager != null)
3838
{
3939
unauthSceneManager.OnImxConnected?.Invoke();
40-
return;
40+
return;
4141
}
4242

4343
var authSceneManager = FindObjectOfType<AuthenticatedSceneManager>();
4444
if (authSceneManager != null)
4545
{
4646
authSceneManager.UpdateImxButtonStates();
47-
authSceneManager.OnImxConnected?.Invoke();
47+
authSceneManager.OnImxConnected?.Invoke();
4848
return;
4949
}
5050
}
@@ -61,4 +61,4 @@ private void ShowOutput(string message)
6161
Output.text = message;
6262
}
6363
}
64-
}
64+
}

sample/Assets/Scripts/Passport/ImxGetAddress/ImxGetAddressScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ private void ShowOutput(string message)
5151
Output.text = message;
5252
}
5353
}
54-
}
54+
}

sample/Assets/Scripts/Passport/ImxIsRegisteredOffchain/ImxIsRegisteredOffchainScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private async UniTaskVoid CheckIsRegisteredOffchainAsync()
3535
try
3636
{
3737
bool isRegistered = await SampleAppManager.PassportInstance.IsRegisteredOffchain();
38-
38+
3939
if (isRegistered)
4040
{
4141
ShowOutput("Registered");

sample/Assets/Scripts/Passport/ImxNftTransfer/ImxNftTransferScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ private void ShowOutput(string message)
105105
Output.text = message;
106106
}
107107
}
108-
}
108+
}

sample/Assets/Scripts/Passport/ImxRegister/ImxRegisterScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ private void ShowOutput(string message)
5858
Output.text = message;
5959
}
6060
}
61-
}
61+
}

0 commit comments

Comments
 (0)