Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Athena: Initial POC integration #6380

Draft
wants to merge 43 commits into
base: athena-poc
Choose a base branch
from
Draft

Athena: Initial POC integration #6380

wants to merge 43 commits into from

Conversation

lrettig
Copy link
Member

@lrettig lrettig commented Oct 8, 2024

Motivation

Replace existing genvm functionality with athena

Description

  • clean up and refactor vm code
  • basic athena (Rust) integration
  • replace existing vm template-related code with calls into athena

Test Plan

tbd

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@lrettig lrettig added the area/vm label Oct 8, 2024
common/types/transaction_header.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
Remove duplicate spawn, transfer, principal calculation logic
Make linter happy
and regenerate
Fix some small bugs found in testing
For now, Athena calculates principal using the encoded wallet state
blob, rather than just the pubkey/payload like we were doing here. Do
the same here, for now.

Remove Payload from tx header; it's stored in context
Ensure that host and all VM logic are using the same cache
Update some node-wide interfaces. Begin to integrate new VM into API.
Use a cloned host for MaxSpend, Verify, and Verify spawn
Some more fixes to byte wrangling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants