Janet Liang
c1928f01c2
[validator] Fix sanity checks when input is None
5 years ago
Janet Liang
5bb67df3e7
Validator class ( #8 )
...
* [account] Add basic check for valid ONE address
* [rpc] Add ability to access error message from RPCError
* [validator] Inital commit of Validator class
* [validator] Add pretty print option to JSON export
[validator] Fix TypeError when setting string values
* [validator] Update error message
* [validator] Address PR comments
[exceptions] Address PR comments
5 years ago
Janet Liang
ea6926ab4d
[blockchain] Add methods for getValidatorKeys & getBlockSignerKeys ( #7 )
...
* [blockchain] Add methods for getValidatorKeys & getBlockSignerKeys
* [blockchain] Update documentation for new methods
* [test] Fix blockchain test ordering
5 years ago
Janet Liang
6881847544
[exceptions] Add base exceptions package ( #6 )
...
* [exceptions] Remove unused import
* [exceptions] Add base exceptions package & move InvalidRPCReplyError to base exceptions package
5 years ago
Janet Liang
fdfe7f255f
[request] Update documentation
5 years ago
Janet Liang
27cdf2cb7e
[exceptions] Remove JSONDecodeError wrapper, include in RPCError ( #5 )
5 years ago
Janet Liang
b1118b7030
[refactor] Move blockchain interaction methods out of rpc lib ( #4 )
5 years ago
Janet Liang
525b513652
[docs] Indicate which methods return None when hash isn't found
5 years ago
Janet Liang
f46fe4a450
[tests] Update tests to assert return type
5 years ago
Janet Liang
d5fbdd9575
[blockchain] Add method for hmy_getCurrentBadBlocks
...
[test] Add test for new method
5 years ago
Janet Liang
021fe948e7
[blockchain] Add methods for commonly requested data
...
[blockchain] Raise InvalidRPCReplyErrors when modifying return value
[test] Add tests for new blockchain methods
5 years ago
Janet Liang
4ea694a127
[account] Add RPC to get account nonce (true nonce & pending pool nonce)
...
[account] Add method to get account total balance
[account] Update get_balance_for_all_shards to match return structure as go-sdk
[exceptions] New InvalidRPCReplyError to indicate Harmony API changed from what pyhmy expects
[test] Add respective tests for new RPCs & methods
5 years ago
Janet Liang
481c5e77de
[staking] Add ByBlockNumber validator & delegation information RPCs
...
[test] Add respective tests for new RPCs
[test] Update test setup to return block number of staking transaction
5 years ago
Daniel Van Der Maden
6d077de7a4
[setup] Fix build for subpackage
5 years ago
Janet Liang
3cf778876e
Basic Python SDK ( #1 )
...
* [project] Update README with correct Python version requirement
* [request] Add rpc request lib
[exceptions] Add exceptions wrapper lib
[common] Define defaults for endpoint & timeout
* [blockchain] Added blockchain related RPCs
[staking] Added staking related RPCs
* [blockchain] Added more RPCs, organized file based on RPC type (network or block)
* [account] Add account related RPCs (balance, transaction history)
* [transaction] Added regular & staking transaction RPCs
* [rpc] Move RPCs to separate lib
[common] Remove common & add defaults to request
* [rpc] Add __init__ file for future use
* [util] Update utils to use rpc lib
* [rpc] Add return type annotations
* [make] Fix import errors
* [test] Add tests for rpc_request using local blockchain
[make] Update make tests to print reason to skip test
* [test] Add proper testing infra for RPC calls
* [numbers] Add utils for converting between atto and one
* [test] Use cross shard as the inital funding transaction & enable cross shard RPC tests
* [test] Refactor test setup to not wait if setup on chain is already done
* [pyhmy] Remove dev version & update major version
* [init] Update imports
* [account] Add get_balance_on_all_shards
* [rpc] Fix documentation errors
* [util] Fix is_active_shard error
* [rpc] Address PR comments
5 years ago
Daniel Van Der Maden
b50b8214ae
[version] bump
5 years ago
Daniel Van Der Maden
3c6dc8ddf3
[cli] Fix duplicate arg parsing in _make_call_command
5 years ago
Daniel Van Der Maden
ae8b698996
[logging] expose file path
5 years ago
Daniel Van Der Maden
1b692a56b4
[logging] Add log rotating to ControlledLogger
5 years ago
Daniel Van Der Maden
b27315b0f7
[version] Update version to release
5 years ago
Daniel Van Der Maden
2a3fdfcb75
[cli] Fix string command parse for calls
5 years ago
Daniel Van Der Maden
6a260cf187
[cli] Add support for quoted strings in cli calls
5 years ago
Daniel Van Der Maden
793e006826
[cli] Clean cli calls to account for empty strings
5 years ago
Daniel Van Der Maden
b8ceb839b3
[util] Add util to check if shard is active
5 years ago
Daniel Van Der Maden
a50c04e525
[cli] Fix fallback libs set after download
5 years ago
Daniel Van Der Maden
8d7710fbba
[cli] Disable caching for future improvements
5 years ago
Daniel Van Der Maden
3fbdb9ce30
[cli] Restore keystore caching
5 years ago
Daniel Van Der Maden
7407b26a82
[cli] Fix syncing
5 years ago
Daniel Van Der Maden
99d30bea0f
[cli] Refactor stored address logic
5 years ago
Daniel Van Der Maden
3ee4aa15f8
[cli] Lock keystore accesses
5 years ago
Daniel Van Der Maden
00ad71714d
[cli] Disable keystore caching while cli is under dev
5 years ago
Daniel Van Der Maden
483d655746
[cli] Update preface doc
5 years ago
Daniel Van Der Maden
46835d8320
[version] Update version
5 years ago
Daniel Van Der Maden
c5f9c11a9f
[cli] Set default pexpect delaybeforesend to none on `expect_call` return
5 years ago
Daniel Van Der Maden
8924f6dec3
[version] Update version
5 years ago
Daniel Van Der Maden
726dea06c8
[cli] Make `single_call` errors more general
5 years ago
Daniel Van Der Maden
1ea3dfbaa0
[version] Update version
5 years ago
Daniel Van Der Maden
f086e4cb30
[cli] Fix `single_call` error report
5 years ago
Daniel Van Der Maden
75b52240b5
[version] Update version
5 years ago
Daniel Van Der Maden
250bc2f5d4
[cli] Make keystore cache mutex lock global
5 years ago
Daniel Van Der Maden
cb5adab45d
[version] Update version
5 years ago
Daniel Van Der Maden
9610790aae
[cli] Add option for ok errors in `single_call`
5 years ago
Daniel Van Der Maden
08855a8862
[version] Update version to latest pypi
5 years ago
Daniel Van Der Maden
65b0442cbc
[cli] Add locked caching to `_get_current_accounts_keystore`
5 years ago
Daniel Van Der Maden
34bc2c2194
[version] update readme and version
5 years ago
Daniel Van Der Maden
0c3b18609d
[version] Add thread locking when accessing keystore
5 years ago
Daniel Van Der Maden
e7e64375a9
[version] Update version
5 years ago
Daniel Van Der Maden
acae34ae06
[cli] Remove caching for keystore related functions
5 years ago
Daniel Van Der Maden
4db7cf7dfe
[cli] Remove unnecessary caching & update version
5 years ago
Daniel Van Der Maden
00acc839be
[cli] Remove setting default binary
5 years ago