* pyth2wormhole: Implement reusable message PDAs This changeset converts attest() to use a new PDA for reusable/unreliable wormhole message account. Each PDA is tied to a given attest() payer with an index that lets them rotate a number of message accounts. Keeping the appropriate timing of the reuses is up to the message owner, who should rotate a number of PDAs. * pyth2wormhole-client: Add a message acc rotation impl * p2w attest(): Integrate with bumped wormhole and fix call issues * p2w-client: Format code, fix test_attest, refactor message index * Dockerfile.client, Dockerfile.p2w-attest: Improve caching The main improvement comes from running cargo-install from within a workspace which lets us cache target/ * p2w-client: Make reusable messages configurable in yaml * p2w on-chain: refactor to unreliable-only, adjust msg balance, nits * p2w-client: P2WMessageIndex -> P2WMessageQueue, queue tests * p2w-client: Add a hard limit to the message account queue |
||
---|---|---|
.. | ||
keys | ||
memmap2-rs | ||
pyth2wormhole | ||
.dockerignore | ||
devnet_setup.sh | ||
rust-toolchain | ||
rustfmt.toml |