plugins.aea-ledger-ethereum.aea_
ledger_
ethereum.test_
tools.docker_
images
Constants.
GanacheDockerImage Objects
class GanacheDockerImage(DockerImage)
Wrapper to Ganache Docker image.
__
init__
def __init__(client: DockerClient,
addr: str,
port: int,
config: Optional[Dict] = None,
gas_limit: str = "0x9184e72a000")
Initialize the Ganache Docker image.
Arguments:
client
: the Docker client.addr
: the address.port
: the port.config
: optional configuration to command line.gas_limit
: the gas limit for blocks.
tag
@property
def tag() -> str
Get the image tag.
create
def create() -> Container
Create the container.
wait
def wait(max_attempts: int = 15, sleep_rate: float = 1.0) -> bool
Wait until the image is up.