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

Debug mint execution #78

Closed
igamigo opened this issue Jan 5, 2024 · 1 comment
Closed

Debug mint execution #78

igamigo opened this issue Jan 5, 2024 · 1 comment

Comments

@igamigo
Copy link
Collaborator

igamigo commented Jan 5, 2024

  • Clone miden-node and checkout igamigo-export-seed
  • On miden-node's path, create genesis file: cargo run --bin miden-node --features testing -- make-genesis and run the node: cargo run --bin miden-node --features testing -- start
  • In the client's dir, checkout igamigo-data-store and load the genesis file data: cargo run -- load-genesis --genesis-path {path where you created the genesis files}
  • Perform sync state: cargo run -- sync-state -s
  • In the client's dir, run a test mint transaction cargo run -- transaction new mint 0x168187d729b32a84 10 0x871e602b3953f7cb 100

You should get the following error: transaction executor error: ExecuteTransactionProgramFailed(AdviceMapKeyNotFound([6280925791586927585, 15735186907095191003, 4209276716593169044, 12827351902656088934]))

@igamigo
Copy link
Collaborator Author

igamigo commented Jan 12, 2024

Solved, root cause was 0xPolygonMiden/miden-node#133

@igamigo igamigo closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant