packages.valory.skills.abstract_
round_
abci.test_
tools.abci_
app
ABCI App test tools.
_
ConcreteRound Objects
class _ConcreteRound(AbstractRound, ABC)
ConcreteRound
end_
block
def end_block() -> Union[None, Tuple[MagicMock, MagicMock]]
End block.
check_
payload
def check_payload(payload: BaseTxPayload) -> None
Check payload.
process_
payload
def process_payload(payload: BaseTxPayload) -> None
Process payload.
ConcreteRoundA Objects
class ConcreteRoundA(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
end_
block
def end_block() -> Tuple[MagicMock, MagicMock]
End block.
ConcreteRoundB Objects
class ConcreteRoundB(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteRoundC Objects
class ConcreteRoundC(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteBackgroundRound Objects
class ConcreteBackgroundRound(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteBackgroundSlashingRound Objects
class ConcreteBackgroundSlashingRound(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteTerminationRoundA Objects
class ConcreteTerminationRoundA(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteTerminationRoundB Objects
class ConcreteTerminationRoundB(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteTerminationRoundC Objects
class ConcreteTerminationRoundC(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteSlashingRoundA Objects
class ConcreteSlashingRoundA(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteSlashingRoundB Objects
class ConcreteSlashingRoundB(_ConcreteRound)
Dummy instantiation of the AbstractRound class.
ConcreteEvents Objects
class ConcreteEvents(Enum)
Defines dummy events to be used for testing purposes.
__
str__
def __str__() -> str
Get the string representation of the event.
TerminationAppTest Objects
class TerminationAppTest(AbciApp[ConcreteEvents])
A dummy Termination abci for testing purposes.
SlashingAppTest Objects
class SlashingAppTest(AbciApp[ConcreteEvents])
A dummy Slashing abci for testing purposes.
AbciAppTest Objects
class AbciAppTest(AbciApp[ConcreteEvents])
A dummy AbciApp for testing purposes.