Decode native-program and sysvar accounts (#11463)

* Pass pubkey in to account-decoder for sysvars

* Decode sysvar accounts

* Decode config accounts; move validator-info lower

* Decode stake accounts

* Review comments

* Stringify any account lamports and epochs that can be set to u64::MAX
This commit is contained in:
Tyera Eulberg
2020-08-09 01:50:45 -06:00
committed by GitHub
parent 068d23f298
commit a9f76862fb
16 changed files with 852 additions and 54 deletions

3
Cargo.lock generated
View File

@@ -3207,11 +3207,14 @@ dependencies = [
"base64 0.12.3",
"bincode",
"bs58",
"bv",
"lazy_static",
"serde",
"serde_derive",
"serde_json",
"solana-config-program",
"solana-sdk 1.4.0",
"solana-stake-program",
"solana-vote-program",
"spl-token",
"thiserror",