|
|
hace 1 año | |
|---|---|---|
| .. | ||
| deploy | 9854a5de59 feat(target_chains/starknet): verify pyth governance vm (#1569) | hace 1 año |
| src | 5f3188af2b feat(target_chains/starknet): pyth contract upgrade (#1592) | hace 1 año |
| tests | 5f3188af2b feat(target_chains/starknet): pyth contract upgrade (#1592) | hace 1 año |
| .gitignore | 6e62328528 test(target_chains/starknet): add wormhole contract tests | hace 1 año |
| .tool-versions | b30604c5ba doc(target_chains/starknet): add local deployment script | hace 1 año |
| README.md | 74f02c46ff hore(target_chains/starknet): automate test data generation (#1587) | hace 1 año |
| Scarb.lock | 4e630edac0 feat(target_chains/starknet): fee collection (#1527) | hace 1 año |
| Scarb.toml | 4e630edac0 feat(target_chains/starknet): fee collection (#1527) | hace 1 año |
This directory contains the Pyth contract on Starknet.
The .tool-versions file in this directory specifies the tool versions used by the contract.
Run snforge test in this directory to run the contract unit tests and integration tests.
The tests/data.cairo file contains input data that was generated with test_vaas tool.
To regenerate it, run the following commands from the repository root (requires Rust installation):
cd target_chains/starknet/tools/test_vaas
cargo run --bin generate_test_data > ../../contracts/tests/data.cairo
Run scarb fmt to automatically format the source code.
deploy/local_deploy setup script.