-
I've been using the To get a little more specific about my usage of the library, I use it to:
I've been able to test the contract code and verify that it works in a controlled, simulated environment, however, I run into issues when attempting to deploy the contract for testing on the agoric blockchain. The block below contains the errors that arise (seemingly when the contract instance is attempting to start up).
Having said all of this, i am opening up this discussion in an attempt to figure out the best way to figure out the best way forward for myself, as well as future applications which choose to ship atop agoric. While I've managed to work through these issues, I keep finding myself in situations where an issue I thought I had put to rest comes back alive and as one can expect, it has burdened the development process quite a bit. The noble-hashes library is rare in its lack of dependence on any external modules. I mention this as I would expect it be much less problematic than if I was attempting to use a library that did rely on other libraries (which most likely rely on other libraries...which most likely rely on other libraries...). You can view it for yourself here. The source code for this contract can be found here. Changes are expected in this file, but the way in which this |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
What are the steps leading up to the |
Beta Was this translation helpful? Give feedback.
-
See also https://github.com/endojs/endo/blob/master/packages/ses/error-codes/SES_IMPORT_REJECTED.md |
Beta Was this translation helpful? Give feedback.
-
@tgrecojs I think what you're encountering has been fixed upstream, Adjust typescript. Bump jsbt. Emit separate ts declarations for esm It hasn't been released yet, But I hear from the maintainer that a new release is in security review and may be cut by end of the month. |
Beta Was this translation helpful? Give feedback.
I just repeated the experiment. It works now that I get 1.5.0 from
yarn add @noble/hashes
.