Update tests.

This commit is contained in:
hrkrshnn 2021-09-28 10:54:12 +02:00 committed by chriseth
parent da5c5928fe
commit 7b7e38768c
2 changed files with 9 additions and 9 deletions

View File

@ -51,13 +51,13 @@ contract C {
// compileViaYul: also // compileViaYul: also
// ---- // ----
// test_f() -> true // test_f() -> true
// gas irOptimized: 122656 // gas irOptimized: 122887
// gas legacy: 125037 // gas legacy: 126168
// gas legacyOptimized: 122605 // gas legacyOptimized: 123199
// test_g() -> true // test_g() -> true
// gas irOptimized: 95908 // gas irOptimized: 96673
// gas legacy: 100586 // gas legacy: 101311
// gas legacyOptimized: 95996 // gas legacyOptimized: 96566
// addresses(uint256): 0 -> 0x18 // addresses(uint256): 0 -> 0x18
// addresses(uint256): 1 -> 0x19 // addresses(uint256): 1 -> 0x19
// addresses(uint256): 3 -> 0x1b // addresses(uint256): 3 -> 0x1b

View File

@ -31,7 +31,7 @@ contract C {
// write_a() -> // write_a() ->
// a() -> 0x2001 // a() -> 0x2001
// write_b() -> // write_b() ->
// b() -> 0xf00e000000000000000000000000000000000000000000000000000000000000 // b() -> 0x5403000000000000000000000000000000000000000000000000000000000000
// get_b(uint256): 0 -> 0xf000000000000000000000000000000000000000000000000000000000000000 // get_b(uint256): 0 -> 0x5400000000000000000000000000000000000000000000000000000000000000
// get_b(uint256): 1 -> 0x0e00000000000000000000000000000000000000000000000000000000000000 // get_b(uint256): 1 -> 0x0300000000000000000000000000000000000000000000000000000000000000
// get_b(uint256): 2 -> FAILURE, hex"4e487b71", 0x32 // get_b(uint256): 2 -> FAILURE, hex"4e487b71", 0x32