╳@!@●◇░!&▫▒╱#╱╳╱◇!%!▒@●○~&*#╲*●▫▫■&╱◆#^?%&╳$●▓▫○█□◆╱╲◇^□!░▫!◆&*◆
Transaction ID
Execution Error
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 039f6e361be4e2c07c343b1e586399af9a1982c5c4e8b4f246982f6754c09f92:19:8 | 19 | self.gameRef.updateSubmission(fastBreakGameID: self.fastBreakGameID, topShots: self.topShotMomentIds) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: panic: Account already with playerID: 8811 has not played FastBreak with ID: fafdd805-50d7-4d90-923e-6e97df2bfee7 --> 0b2a3299cc857e29.FastBreakV1:505:19 Was this error unhelpful? Consider suggesting an improvement here: https://github.com/onflow/cadence/issues.
Transaction Summary
Contract CallCalled FastBreakV1, NonFungibleToken
Contracts
Script Arguments
Cadence Script
1import FastBreakV1 from 0x0b2a3299cc857e29
2import NonFungibleToken from 0x1d7e57aa55817448
3
4transaction() {
5
6 let fastBreakGameID: String
7 let topShotMomentIds: [UInt64]
8 let gameRef: auth(FastBreakV1.Update) &FastBreakV1.Player
9
10 prepare(acct: auth(BorrowValue) &Account) {
11 self.fastBreakGameID = "fafdd805-50d7-4d90-923e-6e97df2bfee7"
12 self.topShotMomentIds = [38868369,38868369,43134086,43134086,50523322,50523322,39069887,39069887,38474348,38474348]
13
14 self.gameRef = acct.storage.borrow<auth(FastBreakV1.Update) &FastBreakV1.Player>(from: FastBreakV1.PlayerStoragePath)
15 ?? panic("could not copy a reference to the accounts player")
16 }
17
18 execute {
19 self.gameRef.updateSubmission(fastBreakGameID: self.fastBreakGameID, topShots: self.topShotMomentIds)
20 }
21}