Skip to content

Commit f018182

Browse files
committed
Updates tests
1 parent ed16a77 commit f018182

16 files changed

+25
-0
lines changed

tests/gold/tools/getBlocks/api_tests/getBlocks_hashes_1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ blocks?blocks=4001001&hashes
55
"blockNumber": 4001001,
66
"date": "2017-07-10 01:53:12 UTC",
77
"hash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
8+
"miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
89
"parentHash": "0x7721d6149047de2b5ab2cfcf0204a7a3dcdc563635003926f8f76cd652b173cb",
910
"timestamp": 1499651592,
1011
"tx_hashes": [

tests/gold/tools/getBlocks/api_tests/getBlocks_terse_no_raw.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ blocks?blocks=4001001-4001003&hashes
55
"blockNumber": 4001001,
66
"date": "2017-07-10 01:53:12 UTC",
77
"hash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
8+
"miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
89
"parentHash": "0x7721d6149047de2b5ab2cfcf0204a7a3dcdc563635003926f8f76cd652b173cb",
910
"timestamp": 1499651592,
1011
"tx_hashes": [
@@ -107,6 +108,7 @@ blocks?blocks=4001001-4001003&hashes
107108
"blockNumber": 4001002,
108109
"date": "2017-07-10 01:53:45 UTC",
109110
"hash": "0x96f1a23f2170bf2684a876b7d88229f3904c3a43773775554ebd37f86cdfa852",
111+
"miner": "0x829bd824b016326a401d083b33d092293333a830",
110112
"parentHash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
111113
"timestamp": 1499651625,
112114
"tx_hashes": [

tests/gold/tools/getBlocks/api_tests/getBlocks_terse_yes_raw.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ blocks?blocks=4001001&hashes&fmt=json
55
"blockNumber": 4001001,
66
"date": "2017-07-10 01:53:12 UTC",
77
"hash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
8+
"miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
89
"parentHash": "0x7721d6149047de2b5ab2cfcf0204a7a3dcdc563635003926f8f76cd652b173cb",
910
"timestamp": 1499651592,
1011
"tx_hashes": [

tests/gold/tools/getBlocks/api_tests/getBlocks_withdrawals_full.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ blocks?blocks=17034900&hashes
55
"blockNumber": 17034900,
66
"date": "2023-04-12 22:35:23 UTC",
77
"hash": "0x06e3ed937d795a5c33831880806d3f1726d6f5756f1f7c109ed5572171c73d4a",
8+
"miner": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5",
89
"parentHash": "0x0a7f8a484260cd1598e02cb528f7497092000c4bf788ce4dd568f8676712c1f2",
910
"timestamp": 1681338923,
1011
"tx_hashes": [

tests/gold/tools/getBlocks/cmd_file1_out.file

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@
833833
"blockNumber": 1909113,
834834
"date": "2016-07-18 18:17:23 UTC",
835835
"hash": "0x005ae48cbf04826bacbbffd44b79a5995eb9bda46ffda5609dbad7bd3c083902",
836+
"miner": "0xbcdfc35b86bedf72f0cda046a3c16829a2ef41d1",
836837
"minerName": "KNOWN_MINERS_007",
837838
"parentHash": "0x5e26bd3cb18e0775d13d460868d328642bf51f4d989a3a13a0f43c6401edb8ad",
838839
"timestamp": 1468865843,
@@ -858,6 +859,7 @@
858859
"blockNumber": 2127401,
859860
"date": "2016-08-23 22:20:47 UTC",
860861
"hash": "0x3f5f0299a7ca6c2f3aa5b6bec2e6c75ca3f3785e15c1f2af85ad78e95ea3ee96",
862+
"miner": "0xea674fdde714fd979de3edf0f56aa9716b898ec8",
861863
"minerName": "Ethermine",
862864
"parentHash": "0xd6f07877d475d957c7d2154db7b2b6e769ec4428be56e0690a7ead297aa7cd39",
863865
"timestamp": 1471990847,

tests/gold/tools/getBlocks/cmd_file2_out.file

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"blockNumber": 394557,
8383
"date": "2015-10-16 23:07:48 UTC",
8484
"hash": "0x0dc3238e4314369676ba901bf53c8c7284347360bcc5b66fc519546f9c88bd1f",
85+
"miner": "0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13",
8586
"minerName": "Miner_0002_4407",
8687
"parentHash": "0x5db7a06b7cd96e5d93769fbdfa515017887c5d1badd3c75412c98fcab6c89fd5",
8788
"timestamp": 1445036868,
@@ -122,6 +123,7 @@
122123
"blockNumber": 599852,
123124
"date": "2015-11-26 13:39:43 UTC",
124125
"hash": "0x85bc0d134ec1a4b4b3700519b60bac5f8ff34a7a368b129d907b4cbe764c9743",
126+
"miner": "0xf8b483dba2c3b7176a3da549ad41a48bb3121069",
125127
"minerName": "KNOWN_MINERS_005",
126128
"parentHash": "0xe68c10d9a9e99e40a9a2407f3f0e4ea5af8e278cbc579dcdaa255e2d5b8a6ee1",
127129
"timestamp": 1448545183,
@@ -658,6 +660,7 @@
658660
"blockNumber": 1078767,
659661
"date": "2016-02-29 16:04:11 UTC",
660662
"hash": "0xd62bbd86a8e93d18a74561fd1404cdfc3725ee49e2268f8915979e9de85e04b3",
663+
"miner": "0x2a65aca4d5fc5b5c859090a6c34d164135398226",
661664
"minerName": "DwarfPool1",
662665
"parentHash": "0x334f6a841735572f7b683837cd7e3eade9147b3eae88a088eadaf7c13c37a06d",
663666
"timestamp": 1456761851,

tests/gold/tools/getBlocks/getBlocks_cmd_file1.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,7 @@ Results in ./cmd_file1_out.file
940940
"blockNumber": 1909113,
941941
"date": "2016-07-18 18:17:23 UTC",
942942
"hash": "0x005ae48cbf04826bacbbffd44b79a5995eb9bda46ffda5609dbad7bd3c083902",
943+
"miner": "0xbcdfc35b86bedf72f0cda046a3c16829a2ef41d1",
943944
"minerName": "KNOWN_MINERS_007",
944945
"parentHash": "0x5e26bd3cb18e0775d13d460868d328642bf51f4d989a3a13a0f43c6401edb8ad",
945946
"timestamp": 1468865843,
@@ -965,6 +966,7 @@ Results in ./cmd_file1_out.file
965966
"blockNumber": 2127401,
966967
"date": "2016-08-23 22:20:47 UTC",
967968
"hash": "0x3f5f0299a7ca6c2f3aa5b6bec2e6c75ca3f3785e15c1f2af85ad78e95ea3ee96",
969+
"miner": "0xea674fdde714fd979de3edf0f56aa9716b898ec8",
968970
"minerName": "Ethermine",
969971
"parentHash": "0xd6f07877d475d957c7d2154db7b2b6e769ec4428be56e0690a7ead297aa7cd39",
970972
"timestamp": 1471990847,

tests/gold/tools/getBlocks/getBlocks_cmd_file2.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ Results in ./cmd_file2_out.file
235235
"blockNumber": 394557,
236236
"date": "2015-10-16 23:07:48 UTC",
237237
"hash": "0x0dc3238e4314369676ba901bf53c8c7284347360bcc5b66fc519546f9c88bd1f",
238+
"miner": "0xf927a40c8b7f6e07c5af7fa2155b4864a4112b13",
238239
"minerName": "Miner_0002_4407",
239240
"parentHash": "0x5db7a06b7cd96e5d93769fbdfa515017887c5d1badd3c75412c98fcab6c89fd5",
240241
"timestamp": 1445036868,
@@ -275,6 +276,7 @@ Results in ./cmd_file2_out.file
275276
"blockNumber": 599852,
276277
"date": "2015-11-26 13:39:43 UTC",
277278
"hash": "0x85bc0d134ec1a4b4b3700519b60bac5f8ff34a7a368b129d907b4cbe764c9743",
279+
"miner": "0xf8b483dba2c3b7176a3da549ad41a48bb3121069",
278280
"minerName": "KNOWN_MINERS_005",
279281
"parentHash": "0xe68c10d9a9e99e40a9a2407f3f0e4ea5af8e278cbc579dcdaa255e2d5b8a6ee1",
280282
"timestamp": 1448545183,
@@ -811,6 +813,7 @@ Results in ./cmd_file2_out.file
811813
"blockNumber": 1078767,
812814
"date": "2016-02-29 16:04:11 UTC",
813815
"hash": "0xd62bbd86a8e93d18a74561fd1404cdfc3725ee49e2268f8915979e9de85e04b3",
816+
"miner": "0x2a65aca4d5fc5b5c859090a6c34d164135398226",
814817
"minerName": "DwarfPool1",
815818
"parentHash": "0x334f6a841735572f7b683837cd7e3eade9147b3eae88a088eadaf7c13c37a06d",
816819
"timestamp": 1456761851,

tests/gold/tools/getBlocks/getBlocks_hashes_1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TEST[DATE|TIME] Format: json
99
"blockNumber": 4001001,
1010
"date": "2017-07-10 01:53:12 UTC",
1111
"hash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
12+
"miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
1213
"parentHash": "0x7721d6149047de2b5ab2cfcf0204a7a3dcdc563635003926f8f76cd652b173cb",
1314
"timestamp": 1499651592,
1415
"tx_hashes": [

tests/gold/tools/getBlocks/getBlocks_terse_no_raw.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TEST[DATE|TIME] Format: json
99
"blockNumber": 4001001,
1010
"date": "2017-07-10 01:53:12 UTC",
1111
"hash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
12+
"miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
1213
"parentHash": "0x7721d6149047de2b5ab2cfcf0204a7a3dcdc563635003926f8f76cd652b173cb",
1314
"timestamp": 1499651592,
1415
"tx_hashes": [
@@ -111,6 +112,7 @@ TEST[DATE|TIME] Format: json
111112
"blockNumber": 4001002,
112113
"date": "2017-07-10 01:53:45 UTC",
113114
"hash": "0x96f1a23f2170bf2684a876b7d88229f3904c3a43773775554ebd37f86cdfa852",
115+
"miner": "0x829bd824b016326a401d083b33d092293333a830",
114116
"parentHash": "0x693b52d0fc09ec86d86aa117dd2b397116b6031cf2b672f8673c4441b9dc190f",
115117
"timestamp": 1499651625,
116118
"tx_hashes": [

0 commit comments

Comments
 (0)