Include token owners in TransactionTokenBalances (#20642)
* Cache owners in TransactionTokenBalances * Light cleanup * Use return struct, and remove pub * Single-use statements * Why not, just do the whole crate * Add metrics * Make datapoint_debug to prevent spam unless troubleshooting
This commit is contained in:
@ -8361,6 +8361,7 @@ pub mod tests {
|
||||
amount: "11".to_string(),
|
||||
ui_amount_string: "1.1".to_string(),
|
||||
},
|
||||
owner: Pubkey::new_unique().to_string(),
|
||||
}]),
|
||||
post_token_balances: Some(vec![TransactionTokenBalance {
|
||||
account_index: 0,
|
||||
@ -8371,6 +8372,7 @@ pub mod tests {
|
||||
amount: "11".to_string(),
|
||||
ui_amount_string: "1.1".to_string(),
|
||||
},
|
||||
owner: Pubkey::new_unique().to_string(),
|
||||
}]),
|
||||
rewards: Some(vec![Reward {
|
||||
pubkey: "My11111111111111111111111111111111111111111".to_string(),
|
||||
|
Reference in New Issue
Block a user