Merge pull request #14503 from Saw-mon-and-Natalie/fix-test-typo

fixed `MSTORE` typo in `libevmasm` tests
This commit is contained in:
Daniel
2023-09-18 14:30:55 +02:00
committed by GitHub
+2 -2
View File
@@ -229,8 +229,8 @@ BOOST_AUTO_TEST_CASE(immutables_and_its_source_maps)
auto const NumExpectedMappings =
(
2 + // PUSH <a> PUSH <b>
(numActualRefs - 1) * 5 + // DUP DUP PUSH <n> ADD MTOSRE
3 // PUSH <n> ADD MSTORkhbE
(numActualRefs - 1) * 5 + // DUP DUP PUSH <n> ADD MSTORE
3 // PUSH <n> ADD MSTORE
) * numImmutables;
auto constexpr NumSubs = 1;