fix: remove v1 route and update tests for devnet v0.12#439
Conversation
|
Thank you for your pull request. We require contributors to sign our Contributor License Agreement / Terms and Conditions, and we don't seem to have the users @geoxel on file. In order for us to review and merge your code, please sign:
If you already signed one of this document, just wait to be added to the bot config. |
|
Thank you for your pull request. We require contributors to sign our Contributor License Agreement / Terms and Conditions, and we don't seem to have the users @geoxel on file. In order for us to review and merge your code, please sign:
If you already signed one of this document, just wait to be added to the bot config. |
fix: remove v1 route and update tests for devnet v0.12 Drop support for the v1 relayer API route and migrate all routing logic to v2 only, in preparation for devnet v0.12. Core changes: - relayerUrl.ts: parseRelayerUrl no longer accepts fallbackVersion or relayerRouteVersion. Always returns version 2. v1 Zama URLs (Sepolia/Mainnet) are automatically upgraded to their v2 equivalents. - createRelayerProvider.ts: drops defaultRelayerVersion parameter and unconditionally returns a RelayerV2Provider. RelayerV1Provider removed. - createRelayerFhevm.ts: simplified, v1 provider wiring removed. Test cleanup: - Deleted RelayerV1Fhevm.test.ts and RelayerV1Provider.test.ts. - Pruned index.test.ts, relayerUrl.test.ts, and v2 test files to remove v1 test cases and update URL expectations. - Added src/test/scripts/test-devnet.sh for devnet integration testing. - Simplified test-testnet.sh to remove v1-specific test paths. CLI / bin updates: - Removed "--version" option from bin/ commands (input-proof.js, public-decrypt.js, user-decrypt.js, etc.) and bin/utils.js.
|
Thank you for your pull request. We require contributors to sign our Contributor License Agreement / Terms and Conditions, and we don't seem to have the users @geoxel on file. In order for us to review and merge your code, please sign:
If you already signed one of this document, just wait to be added to the bot config. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
fix: remove v1 route and update tests for devnet v0.12
Drop support for the v1 relayer API route and migrate all routing logic to v2 only, in preparation for devnet v0.12.
Core changes:
Test cleanup:
CLI / bin updates: