You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Starknet.js library user, I am not able to import and use this function.
Error message :
TSError: ⨯ Unable to compile TypeScript:
src/tmp/26.testSepolia.ts:33:25 - error TS2551: Property 'computeHintedClassHash' does not exist on type 'typeof index$1'. Did you mean 'computeCompiledClassHash'?
33 const result = hash.computeHintedClassHash()
~~~~~~~~~~~~~~~~~~~~~~
Not yet.
I am creating today several issues, that have to be first discussed internally.
The team will then decide if it will be solved internally or with contributors.
Describe the bug
In utils/hash, the
computeHintedClassHash()
function is set a default export :starknet.js/src/utils/hash/classHash.ts
Line 115 in 66a5c03
As a Starknet.js library user, I am not able to import and use this function.
Error message :
To Reproduce
In a ts-node script :
Expected behavior
To be able to use this function.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
Warning
Currently not open to contributors.
The text was updated successfully, but these errors were encountered: