Skip to content

Commit 66c2e1f

Browse files
committed
Updated SIGNEXTEND tests
1 parent e229374 commit 66c2e1f

File tree

1 file changed

+35
-28
lines changed

1 file changed

+35
-28
lines changed

VMTests/vmArithmeticTest.json

Lines changed: 35 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,28 +2142,29 @@
21422142
"exec" : {
21432143
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
21442144
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2145-
"code" : "0x62126af4605016600057",
2145+
"code" : "0x62126af460500b600055",
21462146
"data" : "0x",
21472147
"gas" : "10000",
21482148
"gasPrice" : "100000000000000",
21492149
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
21502150
"value" : "1000000000000000000"
21512151
},
2152-
"gas" : "0",
2152+
"gas" : "9696",
21532153
"out" : "0x",
21542154
"post" : {
21552155
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
21562156
"balance" : "1000000000000000000",
2157-
"code" : "0x62126af4605016600057",
2157+
"code" : "0x62126af460500b600055",
21582158
"nonce" : "0",
21592159
"storage" : {
2160+
"0x" : "0x126af4"
21602161
}
21612162
}
21622163
},
21632164
"pre" : {
21642165
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
21652166
"balance" : "1000000000000000000",
2166-
"code" : "0x62126af4605016600057",
2167+
"code" : "0x62126af460500b600055",
21672168
"nonce" : "0",
21682169
"storage" : {
21692170
}
@@ -2355,28 +2356,29 @@
23552356
"exec" : {
23562357
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
23572358
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2358-
"code" : "0x60ff68f0000000000000000116600057",
2359+
"code" : "0x60ff68f000000000000000010b600055",
23592360
"data" : "0x",
23602361
"gas" : "10000",
23612362
"gasPrice" : "100000000000000",
23622363
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
23632364
"value" : "1000000000000000000"
23642365
},
2365-
"gas" : "0",
2366+
"gas" : "9696",
23662367
"out" : "0x",
23672368
"post" : {
23682369
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
23692370
"balance" : "1000000000000000000",
2370-
"code" : "0x60ff68f0000000000000000116600057",
2371+
"code" : "0x60ff68f000000000000000010b600055",
23712372
"nonce" : "0",
23722373
"storage" : {
2374+
"0x" : "0xff"
23732375
}
23742376
}
23752377
},
23762378
"pre" : {
23772379
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
23782380
"balance" : "1000000000000000000",
2379-
"code" : "0x60ff68f0000000000000000116600057",
2381+
"code" : "0x60ff68f000000000000000010b600055",
23802382
"nonce" : "0",
23812383
"storage" : {
23822384
}
@@ -2439,28 +2441,29 @@
24392441
"exec" : {
24402442
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
24412443
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2442-
"code" : "0x62122f6a600016600057",
2444+
"code" : "0x62122f6a60000b600055",
24432445
"data" : "0x",
24442446
"gas" : "10000",
24452447
"gasPrice" : "100000000000000",
24462448
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
24472449
"value" : "1000000000000000000"
24482450
},
2449-
"gas" : "9995",
2451+
"gas" : "9696",
24502452
"out" : "0x",
24512453
"post" : {
24522454
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
24532455
"balance" : "1000000000000000000",
2454-
"code" : "0x62122f6a600016600057",
2456+
"code" : "0x62122f6a60000b600055",
24552457
"nonce" : "0",
24562458
"storage" : {
2459+
"0x" : "0x6a"
24572460
}
24582461
}
24592462
},
24602463
"pre" : {
24612464
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
24622465
"balance" : "1000000000000000000",
2463-
"code" : "0x62122f6a600016600057",
2466+
"code" : "0x62122f6a60000b600055",
24642467
"nonce" : "0",
24652468
"storage" : {
24662469
}
@@ -2481,28 +2484,29 @@
24812484
"exec" : {
24822485
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
24832486
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2484-
"code" : "0x62126af4600116600057",
2487+
"code" : "0x62126af460010b600055",
24852488
"data" : "0x",
24862489
"gas" : "10000",
24872490
"gasPrice" : "100000000000000",
24882491
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
24892492
"value" : "1000000000000000000"
24902493
},
2491-
"gas" : "9995",
2494+
"gas" : "9696",
24922495
"out" : "0x",
24932496
"post" : {
24942497
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
24952498
"balance" : "1000000000000000000",
2496-
"code" : "0x62126af4600116600057",
2499+
"code" : "0x62126af460010b600055",
24972500
"nonce" : "0",
24982501
"storage" : {
2502+
"0x" : "0x6af4"
24992503
}
25002504
}
25012505
},
25022506
"pre" : {
25032507
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
25042508
"balance" : "1000000000000000000",
2505-
"code" : "0x62126af4600116600057",
2509+
"code" : "0x62126af460010b600055",
25062510
"nonce" : "0",
25072511
"storage" : {
25082512
}
@@ -2523,28 +2527,29 @@
25232527
"exec" : {
25242528
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
25252529
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2526-
"code" : "0x6212faf4600116600057",
2530+
"code" : "0x6212faf460010b600055",
25272531
"data" : "0x",
25282532
"gas" : "10000",
25292533
"gasPrice" : "100000000000000",
25302534
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
25312535
"value" : "1000000000000000000"
25322536
},
2533-
"gas" : "9995",
2537+
"gas" : "9696",
25342538
"out" : "0x",
25352539
"post" : {
25362540
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
25372541
"balance" : "1000000000000000000",
2538-
"code" : "0x6212faf4600116600057",
2542+
"code" : "0x6212faf460010b600055",
25392543
"nonce" : "0",
25402544
"storage" : {
2545+
"0x" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaf4"
25412546
}
25422547
}
25432548
},
25442549
"pre" : {
25452550
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
25462551
"balance" : "1000000000000000000",
2547-
"code" : "0x6212faf4600116600057",
2552+
"code" : "0x6212faf460010b600055",
25482553
"nonce" : "0",
25492554
"storage" : {
25502555
}
@@ -2565,28 +2570,29 @@
25652570
"exec" : {
25662571
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
25672572
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2568-
"code" : "0x66f000000000000161ffff16600057",
2573+
"code" : "0x66f000000000000161ffff0b600055",
25692574
"data" : "0x",
25702575
"gas" : "10000",
25712576
"gasPrice" : "100000000000000",
25722577
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
25732578
"value" : "1000000000000000000"
25742579
},
2575-
"gas" : "0",
2580+
"gas" : "9696",
25762581
"out" : "0x",
25772582
"post" : {
25782583
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
25792584
"balance" : "1000000000000000000",
2580-
"code" : "0x66f000000000000161ffff16600057",
2585+
"code" : "0x66f000000000000161ffff0b600055",
25812586
"nonce" : "0",
25822587
"storage" : {
2588+
"0x" : "0xf0000000000001"
25832589
}
25842590
}
25852591
},
25862592
"pre" : {
25872593
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
25882594
"balance" : "1000000000000000000",
2589-
"code" : "0x66f000000000000161ffff16600057",
2595+
"code" : "0x66f000000000000161ffff0b600055",
25902596
"nonce" : "0",
25912597
"storage" : {
25922598
}
@@ -2607,28 +2613,29 @@
26072613
"exec" : {
26082614
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
26092615
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
2610-
"code" : "0x62122ff4600016600057",
2616+
"code" : "0x62122ff460000b600055",
26112617
"data" : "0x",
26122618
"gas" : "10000",
26132619
"gasPrice" : "100000000000000",
26142620
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
26152621
"value" : "1000000000000000000"
26162622
},
2617-
"gas" : "9995",
2623+
"gas" : "9696",
26182624
"out" : "0x",
26192625
"post" : {
26202626
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
26212627
"balance" : "1000000000000000000",
2622-
"code" : "0x62122ff4600016600057",
2628+
"code" : "0x62122ff460000b600055",
26232629
"nonce" : "0",
26242630
"storage" : {
2631+
"0x" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4"
26252632
}
26262633
}
26272634
},
26282635
"pre" : {
26292636
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
26302637
"balance" : "1000000000000000000",
2631-
"code" : "0x62122ff4600016600057",
2638+
"code" : "0x62122ff460000b600055",
26322639
"nonce" : "0",
26332640
"storage" : {
26342641
}

0 commit comments

Comments
 (0)