-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Re-factored EOSMixin, EOSLoader, and EOSManager to use the new static attributes `chain`, `chain_type`, and `chain_coin` - allowing for painless sub-classing for EOS forks. - Moved URL generation code out of EOSMixin.url into EOSMixin._make_url to allow for other methods to generate URLs - Added `replace_eos` method for replacing the Cleos instance, e.g. when a new RPC URL needs to be used - Adjusted many methods to use `chain` `chain_type` and `chain_coin` instead of hard coded 'eos' / 'EOS' to make sub-classing for forks easier - Added `current_rpc` attribute, enabling the ability to check what RPC is currently being used by the Cleos instance - Created Telos handler and enabled it by default. Mostly stub code which just sets the chain/chain_type/chain_coin so the EOS handler uses it correctly - Improved the EOSLoader list_txs so that it can change the RPC for different tokens if needed - Added `enabled=True` to all handler `__init__` files, to prevent handlers trying to load disabled coins and erroring - Changed `dotenv.read_dotenv` to `dotenv.load_env` (apparently a different dotenv package is being used now?)
- Loading branch information
1 parent
e38f75d
commit 73c3c94
Showing
15 changed files
with
315 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.