-
-
Notifications
You must be signed in to change notification settings - Fork 905
Add sha256 function #1327
Copy link
Copy link
Closed
Labels
VIP: ApprovedVIP ApprovedVIP ApprovedVIP: DiscussionUsed to denote VIPs and more complex issues that are waiting discussion in a meetingUsed to denote VIPs and more complex issues that are waiting discussion in a meeting
Metadata
Metadata
Assignees
Labels
VIP: ApprovedVIP ApprovedVIP ApprovedVIP: DiscussionUsed to denote VIPs and more complex issues that are waiting discussion in a meetingUsed to denote VIPs and more complex issues that are waiting discussion in a meeting
Type
Fields
Give feedbackNo fields configured for issues without a type.
Simple Summary
Currently Vyper doesn't
Abstract
Add sha256 function, which hcalls
Motivation
Currently
sha256precompile isn't exposed as a function, this VIP adds the functionality.Specification
This function will make a call to the pre-compile at address
0x000...0002, and return the output as bytes.Backwards Compatibility
Feature, forwards compatible.
Dependencies
No dependencies.
Copyright
Copyright and related rights waived via CC0