athenavm / athena

Athena monorepo
https://www.athenavm.org/
Apache License 2.0
21 stars 2 forks source link

remove nonce and balance from the Wallet example state #233

Open poszu opened 3 days ago

poszu commented 3 days ago

Following the discussion on Slack https://spacemesh.slack.com/archives/C060PGXV27M/p1731994041096179?thread_ts=1731681768.842079&cid=C060PGXV27M

lrettig commented 4 hours ago

For context: these were added by mistake (carried over from the existing spacemesh template code) and should never have been there in the first place. For now, we maintain a strict separation of concerns where the host (go-spacemesh) is responsible for managing balance and nonce. A running program must access these using host methods.