aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

feat: fetching data over BCS

Open jjleng opened this issue 3 years ago • 0 comments

Description

Experimenting with data reads over BCS rather than JSON for TS SDK. Make getAccountResource read data through BCS by default. Developers can override this behavior by setting the flag enableBCSRead to false.

Test Plan

Added a Jest test to compare the read result for all resources under 0x1 except a few.


This change is Reviewable

jjleng avatar Sep 12 '22 05:09 jjleng