CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 9ae13bf8324e59b26a51b2ed503f124b4c7bc7d6c4e4fc6016be45a619050767: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: hero has already attacked! --> e3e7d0b9abce461f.ABRoyaleGame:508:27 | 508 | self.heroes[attacker_key.player_id].has_moved == false : "hero has already attacked!" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
attack_target:
2
action_target:
0
scavenge_choice:
7
equip_primary: