From bb40435e2b7083224a20a2a242053b9fc1f8c5ef Mon Sep 17 00:00:00 2001 From: wechman Date: Mon, 29 Aug 2022 07:18:23 +0200 Subject: [PATCH] Fixes after code rebase --- scripts/codespell_ignored_lines.txt | 1 + .../semanticTests/array/copying/array_copy_target_leftover.sol | 2 +- test/libsolidity/semanticTests/externalContracts/snark.sol | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/codespell_ignored_lines.txt b/scripts/codespell_ignored_lines.txt index b7987cc00..a3391c377 100644 --- a/scripts/codespell_ignored_lines.txt +++ b/scripts/codespell_ignored_lines.txt @@ -18,3 +18,4 @@ docker run --rm -v "${OUTPUTDIR}":/tmp/output -v "${SCRIPTDIR}":/tmp/scripts:ro templ("assignEnd", "end := pos"); templ("assignEnd", "end := tail"); templ("assignEnd", ""); + ("assignEnd", dynamic ? "end := pos" : "") diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol b/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol index 15b155f40..7b1c45709 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol @@ -20,5 +20,5 @@ contract c { // ---- // test() -> 0xffffffff, 0x0000000000000000000000000a00090008000700060005000400030002000100, 0x0000000000000000000000000000000000000000000000000000000000000000 // gas irOptimized: 124910 -// gas legacy: 187414 +// gas legacy: 187415 // gas legacyOptimized: 165660 diff --git a/test/libsolidity/semanticTests/externalContracts/snark.sol b/test/libsolidity/semanticTests/externalContracts/snark.sol index 7d04b5af6..29f1f97ef 100644 --- a/test/libsolidity/semanticTests/externalContracts/snark.sol +++ b/test/libsolidity/semanticTests/externalContracts/snark.sol @@ -297,5 +297,5 @@ contract Test { // verifyTx() -> true // ~ emit Verified(string): 0x20, 0x16, "Successfully verified." // gas irOptimized: 95261 -// gas legacy: 116473 +// gas legacy: 117493 // gas legacyOptimized: 83670