forked from vyperlang/vyper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore[ux]: compute natspec as part of standard pipeline (vyperlang#3946)
prior to this commit, natspec had to be explicitly requested by the user (`-f userdoc`, `-f devdoc` or `-f combined_json`). this would lead to discrepancies between development time and verification time, where a contract could compile locally (because no natspec was requested), but not on the verifier's pipeline (because the verifier would request the natspec via one of the above methods). this commit computes the natspec as part of the dependencies of the analysed AST (the reasoning being that, a consumer might expect semantic analysis to include natspec validation). so, there is no way to produce bytecode for a contract without validating natspec.
- Loading branch information
1 parent
6f09e29
commit 074073f
Showing
4 changed files
with
61 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters