○!@%!○╳#╱□■▪■@●╳^&□@╳█◆$■%■@?╲%*●^*◇#^╲╳▪□█▪○■◆?░&░$░~░╲╲□□●▪?▪╱
Transaction ID
Execution Fee
0.00001399 FLOWExecution Error
panic: Account already with playerID: 6034 has not played FastBreak with ID: 889aa341-0fb4-43cb-9859-84193b7f7583
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}Raw Error
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> ce6b0c7c0217f7673ed42eb61c1dcee9ddcb4f6ae6601e67251fecb2684a1bac:19:8 | 19 | self.gameRef.updateSubmission(fastBreakGameID: self.fastBreakGameID, topShots: self.topShotMomentIds) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: panic: Account already with playerID: 6034 has not played FastBreak with ID: 889aa341-0fb4-43cb-9859-84193b7f7583 --> 0b2a3299cc857e29.FastBreakV1:522: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 = "889aa341-0fb4-43cb-9859-84193b7f7583"
12 self.topShotMomentIds = [46883405,43949038,48042059,45341067,46914139]
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}