Cheatcodes
Actor ID
Kythera will always deploy the cheatcode actor at the ID 98
List
The following cheatcodes are exposed through the actor:
Name | Arguments | Description |
---|---|---|
Epoch | i64 | Set the NetworkContext::epoch |
Warp | u64 | Set the NetworkContext::timestamp |
Fee | (u64, u64) | Set the NetworkContext::fee |
ChaindId | u64 | Set the NetworkContext::chain_id |
Prank | Address | Sets the next implicit message’s MessageContext::caller to be the input address |
Trick | Address | Sets the next implicit message and its sub-implicit messages’ MessageContext::origin to be the input address |
Log | Message | Logs the input Message on Stdout |
Alter | (Address, CID) | Sets the state value of a given actor to be the input IPLD block |