Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize identity precompile (vyperlang#2488)
If we use staticcall, we don't need to pass value=0, saving 2 bytes in bytecode / 3 gas at runtime Also, we do not need to have an assert after call to identity (the only way failure can happen is OOG and by that time it is too late to do anything anyway). Related: vyperlang#1929, vyperlang#1930
- Loading branch information