Skip to content

Commit

Permalink
remove unused _create_sharding_message
Browse files Browse the repository at this point in the history
  • Loading branch information
NIC619 committed Jan 4, 2018
1 parent 284d860 commit b02b514
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions tests/core/message-object/test_message_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@

from evm.vm.message import (
Message,
ShardingMessage,
)
from evm.constants import (
CREATE_CONTRACT_ADDRESS,
ENTRY_POINT,
)
from evm.exceptions import (
ValidationError,
Expand Down Expand Up @@ -44,27 +42,6 @@ def _create_message(gas=1,
)


def _create_sharding_message(
gas=1,
gas_price=1,
to=ADDRESS_A,
sender=ENTRY_POINT,
value=0,
data=b"",
code=b"",
**kwargs):
return ShardingMessage(
gas=gas,
gas_price=gas_price,
to=to,
sender=sender,
value=0,
data=data,
code=code,
**kwargs
)


@pytest.mark.parametrize(
"init_kwargs,is_valid",
(
Expand Down

0 comments on commit b02b514

Please sign in to comment.