Skip to content

Commit

Permalink
fastbreak(cadence): upgrade (#270)
Browse files Browse the repository at this point in the history
* fastbreak(cadence): upgrade
* Upgrade cadence contract for private path to storage.

* fastbreak(cadence): upgrade
* Revert.
* Remove isValidSubmission.

* fastbreak(cadence): upgrade
* Revert.
* Add grace period.

* fastbreak(cadence): upgrade
* Generate.

* try fixing ci

---------

Co-authored-by: loic1 <[email protected]>
  • Loading branch information
chumeston and loic1 authored Dec 6, 2024
1 parent 066c364 commit 25e36b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/FastBreakV1.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ access(all) contract FastBreakV1: NonFungibleToken {
/// Validate Fast Break Submission
///
access(all) view fun isValidSubmission(submissionDeadline: UInt64): Bool {
return submissionDeadline > UInt64(getCurrentBlock().timestamp)
return submissionDeadline > UInt64(getCurrentBlock().timestamp) + 60
}

/// Get a Fast Break Game by Id
Expand Down
Loading

0 comments on commit 25e36b9

Please sign in to comment.