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
commit 586a7c54eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;