-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Labels
devexdeveloper experiencedeveloper experiencehygieneTidying up around the houseTidying up around the housetechnical-debtvaults_triageDO NOT USEDO NOT USE
Description
What is the Problem Being Solved?
assert is a global in SES. However, IDEs don't know about it or its members. To allow automatic imports we have @agoric/assert, but it's useful outside of Agoric.
Description of the Design
Move most of @agoric/assert to use @endo/errors. Move NonNullish checked cast to @agoric/internal.
Acceptance
No more use of global assert in agoric-sdk. This will support getting assertion functions without having set up a SES environment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
devexdeveloper experiencedeveloper experiencehygieneTidying up around the houseTidying up around the housetechnical-debtvaults_triageDO NOT USEDO NOT USE