-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(cu): indicate to loader whether or not to apply metering #1040
Labels
cu
ao Compute Unit
Comments
TillaTheHun0
added a commit
that referenced
this issue
Oct 15, 2024
PeterFarber
added a commit
that referenced
this issue
Oct 15, 2024
TillaTheHun0
added a commit
that referenced
this issue
Oct 15, 2024
PeterFarber
added a commit
that referenced
this issue
Oct 16, 2024
PeterFarber
added a commit
that referenced
this issue
Oct 16, 2024
TillaTheHun0
added a commit
that referenced
this issue
Oct 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
AoLoader
overloadsWebAssembly.compile
andWebAssembly.compileStreaming
in order to apply metering to wasm binaries. This is activated via passing aapplyMetering
flag in theimportObject
Problem
The CU currently does not pass this flag
Solution
Add an environment variable to the CU to enable/disable metering. It should default to enabled.
The text was updated successfully, but these errors were encountered: