Skip to content
Merged
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/develop' into 764_do_not_store_s…
…olana_receipts_in_indexer
  • Loading branch information
otselnik committed May 19, 2022
commit 443e603dcd6f2eb8169c2cca8453fa68022354a7
10 changes: 2 additions & 8 deletions proxy/indexer/indexer_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,8 @@ def _get_tx_receipts(self, sign_list: List[str]) -> None:

def _add_tx(self, sol_sign, tx):
if tx is not None:
add = False
msg = tx['transaction']['message']
slot = tx['slot']
for instruction in msg['instructions']:
if msg["accountKeys"][instruction["programIdIndex"]] == EVM_LOADER_ID:
add = True
if add:
self.debug(f'{(slot, sol_sign)}')
self._tx_receipts[sol_sign] = tx
self.debug(f'{(slot, sol_sign)}')
self._tx_receipts[sol_sign] = tx
else:
self.debug(f"trx is None {sol_sign}")
You are viewing a condensed version of this merge commit. You can view the full changes here.