Merge pull request #11234 from ethereum/fix-file-reader-compiler-stack-source-unit-name-mismatch

Use identical source unit names in FileReader and CompilerStack
This commit is contained in:
Christian Parpart
2021-04-14 13:46:14 +02:00
committed by GitHub
12 changed files with 128 additions and 11 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ function test_solc_behaviour()
sed -i.bak -e 's/\(^[ ]*auxdata: \)0x[0-9a-f]*$/\1<AUXDATA REMOVED>/' "$stdout_path"
sed -i.bak -e 's/ Consider adding "pragma .*$//' "$stderr_path"
sed -i.bak -e 's/\(Unimplemented feature error.* in \).*$/\1<FILENAME REMOVED>/' "$stderr_path"
sed -i.bak -e 's/"version": "[^"]*"/"version": "<VERSION REMOVED>"/' "$stdout_path"
sed -i.bak -e 's/"version":[ ]*"[^"]*"/"version": "<VERSION REMOVED>"/' "$stdout_path"
# Remove bytecode (but not linker references). Since non-JSON output is unstructured,
# use metadata markers for detection to have some confidence that it's actually bytecode