Open samliok opened 1 month ago
Many of our errors depend on avalanchego such as database.ErrNotFound. Would be useful to create a common set of hypersdk errors that we can reference in all parts of the code(runtime, simulator, wasm, etc...)
database.ErrNotFound
hypersdk
https://github.com/ava-labs/hypersdk/pull/1205#discussion_r1714012111
even more, we shouldn't hardcode errors like this in the simulator
Many of our errors depend on avalanchego such as
database.ErrNotFound
. Would be useful to create a common set ofhypersdk
errors that we can reference in all parts of the code(runtime, simulator, wasm, etc...)