Cheatcodes

Actor ID

Kythera will always deploy the cheatcode actor at the ID 98

List

The following cheatcodes are exposed through the actor:

NameArgumentsDescription
Epochi64Set the NetworkContext::epoch
Warpu64Set the NetworkContext::timestamp
Fee(u64, u64)Set the NetworkContext::fee
ChaindIdu64Set the NetworkContext::chain_id
PrankAddressSets the next implicit message’s MessageContext::caller to be the input address
TrickAddressSets the next implicit message and its sub-implicit messages’ MessageContext::origin to be the input address
LogMessageLogs the input Message on Stdout
Alter(Address, CID)Sets the state value of a given actor to be the input IPLD block