-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable enforcement that far must be declared #3525
Conversation
db9b191
to
ed410d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm putting this "Request changes" in place to remind us not to merge this until we can have a more detailed audit of dapp code.
But it's still a laudable goal to try to get tests to pass.
ed410d0
to
0adb9b3
Compare
8c0d0b9
to
a760051
Compare
0adb9b3
to
7650cd0
Compare
f68a85e
to
85a90b9
Compare
0924274
to
308a58e
Compare
6ffb2c5
to
b7d8cc3
Compare
9336739
to
9be3ee7
Compare
9be3ee7
to
0ae998e
Compare
0ae998e
to
6a1a69b
Compare
@michaelfig I changed it to an environment variable, kinda. PTAL. |
@kriskowal I added you as a reviewer so you could evaluate the suitability and paranoia of this way of handling environment options / static configuration parameters. And the suitability for eventual migration into Endo. |
8e7e108
to
9ec15f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest that we use a sub-shape of Node.js process
regardless of execution environment because it’s trivial to endow, greatly improves forward portability, and anticipates the need to eventually thread arguments into Compartments, particularly Endo “agent” compartments, as well.
This is a suggestion but I feel strongly enough about it to press the request changes button.
9ec15f8
to
4720ada
Compare
@kris Done. PTAL. |
d926fdb
to
4653b7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor doc fixes, if desirable.
Completes #3504
Fixes #2018
As of this PR, we still default to not enforcing, so there should not be any compat problem with dapps. However, this PR enables turning the enforcement on with an environment variable.