Flow price: --
27e4f4d64e42dc07e005e60dcd2ef7c00713a1b6b9c1a3e1b58495ffa4a55644

Transaction

Hash: 27e4f4d64e42dc07e005e60dcd2ef7c00713a1b6b9c1a3e1b58495ffa4a55644
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program d4a8f8d167745a51.Heartbeat: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
 --> :1:0
  |
1 | pub contract Heartbeat {
  | ^^^

error: `pub` is no longer a valid access keyword
 --> :3:4
  |
3 |     pub event heartbeat(pulseUUID: UInt64, message: String, ts_begin: Int64)
  |     ^^^

error: `pub` is no longer a valid access keyword
 --> :5:4
  |
5 |     pub let greeting: String
  |     ^^^

error: `pub` is no longer a valid access keyword
 --> :7:4
  |
7 |     pub resource Pulse {
  |     ^^^

error: `pub` is no longer a valid access keyword
 --> :8:8
  |
8 |         pub var ts_begin: Int64
  |         ^^^

error: `pub` is no longer a valid access keyword
 --> :9:8
  |
9 |         pub var message: String
  |         ^^^

error: `pub` is no longer a valid access keyword
  --> :17:4
   |
17 |     pub fun generatePulse(ts_begin: Int64, message: String) {
   |     ^^^

--> d4a8f8d167745a51.Heartbeat

error: cannot find type in this scope: `AuthAccount`
 --> 27e4f4d64e42dc07e005e60dcd2ef7c00713a1b6b9c1a3e1b58495ffa4a55644:1:106
  |
1 | import Heartbeat from 0xd4a8f8d167745a51; transaction(new_ts: Int64, new_message: String){prepare(signer: AuthAccount){}execute{Heartbeat.generatePulse(ts_begin: new_ts, message: new_message)}}
  |                                                                                                           ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `Heartbeat`
 --> 27e4f4d64e42dc07e005e60dcd2ef7c00713a1b6b9c1a3e1b58495ffa4a55644:1:128
  |
1 | import Heartbeat from 0xd4a8f8d167745a51; transaction(new_ts: Int64, new_message: String){prepare(signer: AuthAccount){}execute{Heartbeat.generatePulse(ts_begin: new_ts, message: new_message)}}
  |                                                                                                                                 ^^^^^^^^^ not found in this scope


Hash:
27e4f4d64e42dc07e005e60dcd2ef7c00713a1b6b9c1a3e1b58495ffa4a55644
Status:
ERROR
Block height:
92408709
Block id:
39aa37e91f72f1d2d9b00c2adb3ab29393d5ed437d3b0f8b2f00fa2eec420e41
Timestamp:
Sunday 3 November 2024 at 13:53:04 UTC
()
Proposer:
Authorizers: