Anchor.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [toolchain]
  2. [features]
  3. resolution = true
  4. skip-lint = false
  5. [programs.devnet]
  6. world = "WorLD15A7CrDwLcLy4fRqtaTb9fbd8o8iqiEMUDse2n"
  7. [programs.localnet]
  8. bolt-component = "CmP2djJgABZ4cRokm4ndxuq6LerqpNHLBsaUv2XKEJua"
  9. bolt-system = "7X4EFsDJ5aYTcEjKzJ94rD8FRKgQeXC89fkpeTS4KaqP"
  10. position = "Fn1JzzEdyb55fsyduWS94mYHizGhJZuhvjX6DVvrmGbQ"
  11. system-apply-velocity = "6LHhFVwif6N9Po3jHtSmMVtPjF6zRfL3xMosSzcrQAS8"
  12. system-fly = "HT2YawJjkNmqWcLNfPAMvNsLdWwPvvvbKA5bpMw4eUpq"
  13. system-simple-movement = "FSa6qoJXFBR3a7ThQkTAMrC15p6NkchPEjBdd4n6dXxA"
  14. velocity = "CbHEFbSQdRN4Wnoby9r16umnJ1zWbULBHg4yqzGQonU1"
  15. [registry]
  16. url = "https://api.apr.dev"
  17. [provider]
  18. cluster = "Localnet"
  19. wallet = "./tests/fixtures/provider.json"
  20. [workspace]
  21. members = [
  22. "crates/programs/bolt-component",
  23. "crates/programs/bolt-system",
  24. "crates/programs/world",
  25. "examples/component-position",
  26. "examples/component-velocity",
  27. "examples/system-apply-velocity",
  28. "examples/system-fly",
  29. "examples/system-simple-movement"
  30. ]
  31. [scripts]
  32. test = """
  33. echo "Waiting for 2 seconds..."
  34. sleep 2
  35. yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/main.ts
  36. """
  37. [test]
  38. startup_wait = 15000
  39. shutdown_wait = 2000
  40. upgradeable = false
  41. [[test.genesis]]
  42. address = "DELeGGvXpWV2fqJUhqcF5ZSYMS4JTLjteaAMARRSaeSh"
  43. program = "tests/fixtures/delegation.so"
  44. upgradeable = false
  45. [[test.genesis]]
  46. address="KeyspM2ssCJbqUhQ4k7sveSiY4WjnYsrXkC8oDbwde5"
  47. program="tests/fixtures/session_keys.so"
  48. upgradeable = false
  49. [test.validator]
  50. bind_address = "0.0.0.0"
  51. ledger = ".anchor/test-ledger"
  52. rpc_port = 8899
  53. [[test.validator.account]]
  54. address = "EEmsg7GbxEAw5f9hGfZRmJRJ27HK8KeGDp7ViW9X2mYa"
  55. filename = "tests/fixtures/commit_record.json"
  56. [[test.validator.account]]
  57. address = "7nQvHcfEqtFmY2q6hiQbidu8BCNdqegnEFfH7HkByFn5"
  58. filename = "tests/fixtures/committed_state.json"