* 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
(cherry picked from commit e806fa6904
)
# Conflicts:
# ledger/src/blockstore.rs
# transaction-status/Cargo.toml
# transaction-status/src/token_balances.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@@ -8387,6 +8387,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,
|
||||
@@ -8397,6 +8398,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