mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
making planetmint/__init__.py lean
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
2cac403a1d
commit
7f3977b954
@ -13,7 +13,7 @@ from transactions.common.input import Input
|
||||
from transactions.common.transaction_link import TransactionLink
|
||||
|
||||
import planetmint.abci.block
|
||||
from planetmint import lib
|
||||
|
||||
from transactions.types.assets.create import Create
|
||||
from transactions.types.assets.transfer import Transfer
|
||||
from planetmint.web import server
|
||||
|
@ -3,5 +3,3 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||
# Code is Apache-2.0 and docs are CC-BY-4.0
|
||||
|
||||
from planetmint.application.validator import Validator
|
||||
from planetmint.abci.core import App
|
||||
|
@ -6,7 +6,7 @@
|
||||
import multiprocessing
|
||||
|
||||
from collections import defaultdict
|
||||
from planetmint import App
|
||||
from planetmint.abci.core import App
|
||||
from planetmint.application.validator import Validator
|
||||
from planetmint.abci.tendermint_utils import decode_transaction
|
||||
from abci.application import OkCode
|
||||
|
@ -15,7 +15,7 @@ from transactions import ValidatorElection, ChainMigrationElection
|
||||
from transactions.common.crypto import generate_key_pair
|
||||
from transactions.types.assets.create import Create
|
||||
from transactions.types.assets.transfer import Transfer
|
||||
from planetmint import App
|
||||
from planetmint.abci.core import App
|
||||
from planetmint.backend import query
|
||||
from planetmint.abci.core import OkCode, CodeTypeError
|
||||
from planetmint.abci.block import Block
|
||||
@ -335,7 +335,7 @@ def test_end_block_return_validator_updates(b, init_chain_request):
|
||||
|
||||
|
||||
def test_store_pre_commit_state_in_end_block(b, alice, init_chain_request):
|
||||
from planetmint import App
|
||||
from planetmint.abci.core import App
|
||||
from planetmint.backend import query
|
||||
|
||||
tx = Create.generate(
|
||||
|
@ -22,7 +22,7 @@ from io import BytesIO
|
||||
|
||||
@pytest.mark.bdb
|
||||
def test_app(b, eventqueue_fixture, init_chain_request):
|
||||
from planetmint import App
|
||||
from planetmint.abci.core import App
|
||||
from planetmint.abci.tendermint_utils import calculate_hash
|
||||
from transactions.common.crypto import generate_key_pair
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user