Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> a9c37a871a0253f05dfa7f45fce5c1c4df007ac45e12d33da639cc1f551b4fe6:23:34
|
23 | self.signer_account.save(<- ABRoyaleGame.submitAttack(
24 | attacker_key: <-attackerKey,
25 | attack_target: attack_target,
26 | action_target: action_target,
27 | scavenge_choice: scavenge_choice,
28 | equip_primary: equip_primary
29 | ), to: ABRoyaleGame.KeyStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: attacker is not allowed to enter an attack yet!
--> e3e7d0b9abce461f.ABRoyaleGame:509:27
|
509 | self.heroes[attacker_key.player_id].move_timestamp <= getCurrentBlock().timestamp : "attacker is not allowed to enter an attack yet!"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^