mergify[bot]
|
a669ef3abb
|
account subcommand now requests binary64 (#11494)
(cherry picked from commit a4f5f3e978)
Co-authored-by: Michael Vines <mvines@gmail.com>
|
2020-08-09 22:35:19 +00:00 |
|
Justin Starry
|
768c6b4bef
|
Fallback to base64 account encoding if json parse fails (#11483)
* Fallback to base64 account encoding if json parse fails
* Remove default binary conversion
(cherry picked from commit ebc45bd73f)
|
2020-08-09 09:15:21 -07:00 |
|
mergify[bot]
|
8bcc04c275
|
Decode native-program and sysvar accounts (bp #11463) (#11484)
* 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
(cherry picked from commit a9f76862fb)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/src/rpc.rs
* Fix conflicts
* Ignore clippy lint affecting rust <v1.44.0
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-08-09 09:45:31 +00:00 |
|
mergify[bot]
|
2fd822887f
|
Add Binary64 option for account data (#11474) (#11480)
* Add Binary64 option for account data
* Decode into binary64
* Reword docs
Co-authored-by: sakridge <sakridge@gmail.com>
|
2020-08-09 07:14:54 +00:00 |
|
mergify[bot]
|
e2c8aa0847
|
Return delegated amount as UiTokenAmount (#11475) (#11476)
* Return delegated amount as UiTokenAmount
* Omit delegate and delegatedAmount when none
(cherry picked from commit 88d8d3d02a)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
|
2020-08-09 00:28:24 +00:00 |
|
mergify[bot]
|
9b049402c9
|
Token Accounts: return ui_amount, decimals with decoded account (bp #11407) (#11452)
* Token Accounts: return ui_amount, decimals with decoded account (#11407)
* Return ui_amount, decimals from token client methods
* Return ui_amount, decimals in RPC jsonParsed token accounts
* Fixup docs
* Return ui_amount, decimals in pubsub jsonParsed token accounts
* Remove unnecessary duplicate struct
* StringAmount rename
(cherry picked from commit b7c2681903)
# Conflicts:
# client/src/rpc_client.rs
# core/src/rpc.rs
# core/src/rpc_subscriptions.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-08-07 19:28:25 +00:00 |
|
mergify[bot]
|
80525ac862
|
Return token amounts as floats (bp #11370) (#11378)
* Return token amounts as floats (#11370)
* Return token amounts as floats
* Floating-point equality
* Return float and raw token amounts
* Fix decimals and token rpcs for native-mint tokens
* Fixup docs and review comments
(cherry picked from commit 86e3f96f16)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-08-05 08:31:22 +00:00 |
|
mergify[bot]
|
c14f98c6fc
|
Rework parsed account format (#11372) (#11380)
* Rework parsed account format
* Serialize as type
(cherry picked from commit 308186da79)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
|
2020-08-05 08:21:08 +00:00 |
|
Michael Vines
|
f06a4c7861
|
Update spl-token and spl-memo
|
2020-08-02 07:53:46 -07:00 |
|
mergify[bot]
|
c805f7dc4e
|
Decode token instructions (bp #11281) (#11313)
* Decode token instructions (#11281)
* Token->SplToken
* Add spl_token instruction parsing
* Rebase on master
* Gracefully fail key len mismatches
(cherry picked from commit 0f551d4f75)
# Conflicts:
# Cargo.lock
# transaction-status/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-07-31 21:11:58 +00:00 |
|
Michael Vines
|
2f8d0f88d6
|
Avoid spl-sdk dependency, which inhibits crate publishing
|
2020-07-31 00:05:13 +00:00 |
|
mergify[bot]
|
a7f4d1487a
|
Add SPL Token-specific rpc endpoints (bp #11231) (#11261)
* Add SPL Token-specific rpc endpoints (#11231)
* Simplify account-decoder program ids + spl_token helper
* Spl program namespace version
* Add getTokenAccountBalance endpoint
* Remove token program id from getTokenAccountBalance request
* Add getTokenSupply endpoint
* Remove token program id from getTokenSupply request
* Add getTokenAccountsByOwner/Delegate endpoints
* Remove token program id from getTokenAccountsByOwner/Delegate requests
* Named parameter
(cherry picked from commit b45ac5d4db)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
# core/src/rpc.rs
# transaction-status/Cargo.toml
* Fix backport
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-07-29 17:08:21 +00:00 |
|
mergify[bot]
|
05ef21cd3b
|
Add token account decoding (bp #11136) (#11202)
* Add token account decoding (#11136)
* Add token decoding
* Bump versions
(cherry picked from commit 32fea0496e)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# transaction-status/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
|
2020-07-25 01:37:07 +00:00 |
|
Tyera Eulberg
|
f7fb5aebac
|
v1.2 instruction and account decoding backports (#10939)
* Revert "Rpc: add filter to getProgramAccounts (#10888) (#10932)"
This reverts commit 9311a6e356.
* Add jsonParsed option for EncodedTransactions; add memo parser (#10711)
* Add jsonParsed option for EncodedTransactions; add memo parser
* Use kebab case for program names
* Add account-key parsing
* Add parse test
* Update transaction encoding docs (#10833)
* Add account-decoder utilities (#10846)
* Fix comment and make less pub
* Add account-decoder crate and use to decode vote and system (nonce) accounts
* Update docs
* Rename RpcAccount struct
* s/Rpc/Display
* Call it jsonParsed and update docs
* Revert "s/Rpc/Display"
This reverts commit 6e7149f503.
* s/Rpc/Ui
* Add tests
* Ui more things
* Comments
* Update struct prefixes to Ui (#10874)
* Update comments
* Use Ui prefix
* Rpc: add filter to getProgramAccounts (#10888)
* Add RpcFilterType, and implement CompareBytes for getProgramAccounts
* Accept bytes in bs58
* Rename to memcmp
* Add Memcmp optional encoding field
* Add dataSize filter
* Update docs
* Clippy
* Simplify tests that don't need to test account contents; add multiple-filter tests
|
2020-07-07 09:35:35 -06:00 |
|