For variables defined in the cadence contract, if theyβre not explicitly save() to the storage path, where are they stored? For example the HelloWorld.cdc contract from the playground:
access(all) contract HelloWorld {
// Declare a public field of type String.
//
// All fields must be initialized in the init() function.
access(all) let greeting: String
// The init() function is required if the contract contains any fields.
init() {
self.greeting = "Hello from account 2!"
}
// Public function that returns our friendly greeting!
access(all) fun hello(): String {
return self.greeting
}
}
Should self.greeting
field still be stored in the accout storage area somewhere? What is the storage layout then?