Commit 560200f
authored
fix(jsonrpc): support blockHash param and genesis block process for eth_getBlockReceipts (#6433)
* fix: return null for genesis block in eth_getBlockReceipts
* feat:support query eth_getBlockReceipts by blockHash
* checkStyle1 parent b1bf6aa commit 560200f
3 files changed
Lines changed: 33 additions & 24 deletions
File tree
- framework/src
- main/java/org/tron/core/services/jsonrpc
- test/java/org/tron/core/jsonrpc
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
| 842 | + | |
| 843 | + | |
843 | 844 | | |
844 | 845 | | |
845 | 846 | | |
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
849 | | - | |
| 850 | + | |
850 | 851 | | |
851 | | - | |
852 | | - | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
853 | 863 | | |
854 | 864 | | |
855 | 865 | | |
856 | 866 | | |
857 | 867 | | |
858 | 868 | | |
859 | 869 | | |
860 | | - | |
| 870 | + | |
861 | 871 | | |
862 | 872 | | |
863 | 873 | | |
| |||
Lines changed: 17 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | 167 | | |
185 | 168 | | |
186 | 169 | | |
| |||
340 | 323 | | |
341 | 324 | | |
342 | 325 | | |
| 326 | + | |
| 327 | + | |
343 | 328 | | |
344 | 329 | | |
345 | 330 | | |
| |||
1048 | 1033 | | |
1049 | 1034 | | |
1050 | 1035 | | |
1051 | | - | |
| 1036 | + | |
1052 | 1037 | | |
1053 | 1038 | | |
1054 | 1039 | | |
| |||
1088 | 1073 | | |
1089 | 1074 | | |
1090 | 1075 | | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1091 | 1090 | | |
1092 | 1091 | | |
1093 | 1092 | | |
| |||
0 commit comments