You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pgStr=`SELECT log_cids.index, log_cids.address, log_cids.topic0, log_cids.topic1, data FROM eth.log_cids
428
+
pgStr=`SELECT log_cids.index, log_cids.address, COALESCE(log_cids.topic0, '') as topic0, COALESCE(log_cids.topic1, '') as topic1, data FROM eth.log_cids
429
429
INNER JOIN eth.receipt_cids ON (log_cids.rct_id = receipt_cids.tx_id)
430
430
INNER JOIN public.blocks ON (log_cids.leaf_mh_key = blocks.key)
431
431
WHERE receipt_cids.leaf_cid = $1 ORDER BY eth.log_cids.index ASC`
pgStr=`SELECT cast(block_number AS TEXT), header_id, state_path, cast(balance AS TEXT), nonce, code_hash, storage_root from eth.state_accounts WHERE header_id = $1 AND state_path = $2`
587
+
pgStr=`SELECT cast(block_number AS TEXT), header_id, state_path, cast(balance AS TEXT), nonce, COALESCE(code_hash, '') as code_hash, storage_root from eth.state_accounts WHERE header_id = $1 AND state_path = $2`
AND transaction_cids.header_id = header_cids.block_hash
268
258
AND header_cids.block_number = $1
269
259
ORDER BY transaction_cids.index`
270
-
logsPgStr:=`SELECT log_cids.index, log_cids.address, log_cids.topic0, log_cids.topic1, data FROM eth.log_cids
260
+
logsPgStr:=`SELECT log_cids.index, log_cids.address, COALESCE(log_cids.topic0, '') as topic0, COALESCE(log_cids.topic1, '') as topic1, data FROM eth.log_cids
271
261
INNER JOIN eth.receipt_cids ON (log_cids.rct_id = receipt_cids.tx_id)
272
262
INNER JOIN public.blocks ON (log_cids.leaf_mh_key = blocks.key)
273
263
WHERE receipt_cids.leaf_cid = $1 ORDER BY eth.log_cids.index ASC`
pgStr=`SELECT cast(block_number AS TEXT), header_id, state_path, cast(balance AS TEXT), nonce, code_hash, storage_root from eth.state_accounts WHERE header_id = $1 AND state_path = $2`
435
+
pgStr=`SELECT cast(block_number AS TEXT), header_id, state_path, cast(balance AS TEXT), nonce, COALESCE(code_hash, '') as code_hash, storage_root from eth.state_accounts WHERE header_id = $1 AND state_path = $2`
0 commit comments