thirdweb-dev / unity-sdk

Best in class Web3 Unity SDK, powered by thirdweb.
https://portal.thirdweb.com/unity
Apache License 2.0
126 stars 70 forks source link

[WebGL] Avoid all contract-abi calls when custom abi passed #196

Closed 0xFirekeeper closed 4 months ago

0xFirekeeper commented 4 months ago

Speeds up contract fetches by 10x+


PR-Codex overview

This PR updates the thirdweb-unity-bridge.js file with changes related to hashing, encoding, and type validation functionalities.

Detailed summary

The following files were skipped due to too many changes: Assets/WebGLTemplates/Thirdweb/lib/thirdweb-unity-bridge.js

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

github-actions[bot] commented 4 months ago

Test Results for iOS

  1 files  ±0   16 suites  ±0   8m 15s :stopwatch: +9s 102 tests ±0  102 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  106 runs  ±0  106 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 401a0cec. ± Comparison against base commit 5456ad31.

github-actions[bot] commented 4 months ago

Test Results for StandaloneLinux64

  1 files  ±0   16 suites  ±0   7m 53s :stopwatch: -8s 102 tests ±0  102 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  106 runs  ±0  106 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 401a0cec. ± Comparison against base commit 5456ad31.

github-actions[bot] commented 4 months ago

Test Results for Android

  1 files  ±0   16 suites  ±0   8m 19s :stopwatch: +6s 102 tests ±0  102 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  106 runs  ±0  106 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 401a0cec. ± Comparison against base commit 5456ad31.

github-actions[bot] commented 4 months ago

Test Results for WebGL

  1 files  ±0   16 suites  ±0   8m 12s :stopwatch: -7s 102 tests ±0  102 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  106 runs  ±0  106 :white_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 401a0cec. ± Comparison against base commit 5456ad31.