Skip to content

Commit

Permalink
Adjusting deployment errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 8, 2024
1 parent 5944b13 commit e2e7e34
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cadence/contracts/Recipe.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ access(all) contract Recipe {
// This is a snippet extracting the relevant logic from the TopShot contract for demonstration purposes
// TopShot Contract Code Above
access(all) var playDatas: {UInt32: Play}

access(all) var playDatas: {UInt32: TopShot.Play}
access(all) var nextPlayID: UInt32

access(all) event PlayCreated(id: UInt32, metadata: {String: String})

init() {
self.playDatas = {}
self.nextPlayID = 0
}

// Play is a Struct that holds metadata associated
// with a specific NBA play, like the legendary moment when
// Ray Allen hit the 3 to tie the Heat and Spurs in the 2013 finals game 6
Expand Down

0 comments on commit e2e7e34

Please sign in to comment.