-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(WIP): use boarsh schema type #382
base: develop
Are you sure you want to change the base?
Conversation
4111808
to
915aabe
Compare
Hi @gagdiez , I re-exported
major error info:
|
summoning @hanakannzashi |
915aabe
to
fbb224d
Compare
https://www.npmjs.com/package/borsher?activeTab=code |
fbb224d
to
c9d5707
Compare
but I created examples/src/index2.js, import { BorshSchema, borshSerialize, borshDeserialize } from 'borsher';
const n = 100;
const buffer = borshSerialize(BorshSchema.u8, n); and then run:
the result was OK, quite strange. |
@fospring the problem is probably borsher isn't ESM packaged. CommonJS packaging is not supported by near-sdk-js builder. Let's skip this one from the 2.0 release and introduce it in a later version |
Pre-flight checklist
Motivation
related issue: #377
Test Plan
Related issues/PRs