Skip to content

plugins.aea-test-autonomy.aea_test_autonomy.docker.gnosis_safe_net

Tendermint Docker image.

GnosisSafeNetDockerImage Objects

class GnosisSafeNetDockerImage(DockerImage)

Spawn a local Ethereum network with deployed Gnosis Safe contracts, using HardHat.

__init__

def __init__(client: docker.DockerClient, addr: str = DEFAULT_HARDHAT_ADDR, port: int = DEFAULT_HARDHAT_PORT)

Initialize.

tag

@property
def tag() -> str

Get the tag.

create

def create() -> Container

Create the container.

create_many

def create_many(nb_containers: int) -> List[Container]

Instantiate the image in many containers, parametrized.

wait

def wait(max_attempts: int = 15, sleep_rate: float = 1.0) -> bool

Wait until the image is running.

Arguments:

  • max_attempts: max number of attempts.
  • sleep_rate: the amount of time to sleep between different requests.

Returns:

True if the wait was successful, False otherwise.

Back to top