Scaffold-Stark / scaffold-stark-2

Open source forkable Starknet dev stack
https://www.scaffoldstark.com
64 stars 87 forks source link

Add unit test to useScaffoldEventHistory & use starkjs to parse event. #339

Closed iossocket closed 2 weeks ago

iossocket commented 3 weeks ago

Continue issue #293

Fixes #293

Types of change

Comments (optional)

By fixing the unit test, found current parsing logic can not handle array & tuple correctly, so change to parseEvents of starkjs to parse event data. it can work properly, the test case covers some complex types.