github.com/koko1123/flow-go-1@v0.29.6/fvm/blueprints/scripts/systemChunkTransactionTemplate.cdc (about)

     1  import FlowEpoch from 0xEPOCHADDRESS
     2  
     3  transaction {
     4    prepare(serviceAccount: AuthAccount) {
     5  	let heartbeat = serviceAccount.borrow<&FlowEpoch.Heartbeat>(from: FlowEpoch.heartbeatStoragePath)
     6        ?? panic("Could not borrow heartbeat from storage path")
     7      heartbeat.advanceBlock()
     8    }
     9  }