EvernodeXRPL / evernode-sdk

Evernode SDK
Other
44 stars 7 forks source link

hpdevkit: Contract file compilation fails if code is invalid #85

Closed wojake closed 1 year ago

wojake commented 1 year ago

File compilation fails if the dApp's code is invalid.

For example:

require(...) in the contract code would invalidate the file compilation process.

ravinsp commented 1 year ago

@wojake this is not clear. For one thing, the npm build SHOULD fail if the contract code is invalid. require() shouldn't cause any build failures unless you have specified an incorrect npm module path in the require. Can you elaborate? probably I'm missing the meaning of your question.

wojake commented 1 year ago

Yes, you're right that it should fail but it should also end the execution & exit. The file compilation just freezes and I have to terminate that cmd session/window.