runtime: Pass `log_index` in place of `transaction_log_index`
Geth does not support `transaction_log_index`, and subgraphs
that use it only care that it identifies the log, the specific
value is not important. Still this will change the output of
subgraphs that use this field.
@@ -200,7 +200,7 @@ impl WasmiModule {
transaction: EthereumTransactionData::from(transaction.deref()),
address: log.address,
log_index: log.log_index.unwrap_or(U256::zero()),
- transaction_log_index: log.transaction_log_index.unwrap_or(U256::zero()),
+ transaction_log_index: log.log_index.unwrap_or(U256::zero()),
log_type: log.log_type.clone(),
params,
},
@@ -213,7 +213,7 @@ impl WasmiModule {
transaction: EthereumTransactionData::from(transaction.deref()),
address: log.address,
log_index: log.log_index.unwrap_or(U256::zero()),
- transaction_log_index: log.transaction_log_index.unwrap_or(U256::zero()),
+ transaction_log_index: log.log_index.unwrap_or(U256::zero()),
log_type: log.log_type.clone(),
params,
},
