feat!: unify payment_vault_address across daemon and all SDKs#23
Merged
Nic-dorman merged 1 commit intomainfrom Apr 9, 2026
Merged
feat!: unify payment_vault_address across daemon and all SDKs#23Nic-dorman merged 1 commit intomainfrom
Nic-dorman merged 1 commit intomainfrom
Conversation
ant-node unified data_payments_address + merkle_payments_address into a single payment_vault_address (PaymentVault contract). This adapts antd and all 15 SDK clients to the new field. BREAKING CHANGE: PrepareUploadResponse now returns payment_vault_address instead of separate data_payments_address / merkle_payments_address. OpenAPI version bumped to 2.0.0. Changes: - antd: single EVM_PAYMENT_VAULT_ADDRESS env var (EVM_DATA_PAYMENTS_ADDRESS honored as fallback), unified response field in types.rs and upload.rs - All SDKs: model, client, and test updates (Go, JS, Python, Rust, C#, C++, Dart, Elixir, Java, Kotlin, Lua, PHP, Ruby, Swift, MCP, FFI) - FFI: evmlib 0.5.0 -> 0.8.0 to align with antd - Scripts: start-local.sh/.ps1 and ant-dev emit EVM_PAYMENT_VAULT_ADDRESS - C++ cleanup: remove stale graph entry code from async/grpc clients - Docs: README, openapi.yaml, skill.md, llms-full.txt updated Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ant-node (
a08a727) unifieddata_payments_address+merkle_payments_addressinto a singlepayment_vault_address(PaymentVault contract). evmlib 0.8.0 and ant-core already use the unified API. This PR adapts antd and all 15 SDK clients.BREAKING CHANGE:
PrepareUploadResponsenow returnspayment_vault_addressinstead of separatedata_payments_address/merkle_payments_addressfields.What changed
antd daemon
EVM_PAYMENT_VAULT_ADDRESS(withEVM_DATA_PAYMENTS_ADDRESSfallback for backward compat)EVM_MERKLE_PAYMENTS_ADDRESS: removed entirely — both payment modes use the same vault contracttypes.rs:PrepareUploadResponsecollapses two optional fields into one requiredpayment_vault_address: Stringupload.rs: vault address read once at top ofbuild_prepare_response(), shared by both wave-batch and merkle pathsopenapi.yaml: version bumped1.0.0→2.0.0, schema updatedAll 15 SDK clients
Same mechanical rename across model definitions, JSON parsing, and test fixtures:
Go, JS, Python, Rust, C#, C++, Dart, Elixir, Java, Kotlin, Lua, PHP, Ruby, Swift, MCP
FFI
ffi/rust/ant-ffi: parameter renamedata_payments_address→payment_vault_address0.5.0→0.8.0to align with antdScripts & docs
start-local.sh,start-local.ps1,ant-dev/cmd_start.py: emit singleEVM_PAYMENT_VAULT_ADDRESSwith manifest fallbacktest-api.sh: updated prerequisites to listjqdependencyREADME.md,skill.md,llms-full.txt: updatedBonus: C++ graph cleanup
Removed stale
GraphEntry/GraphDescendantreferences fromasync_client,grpc_client, and tests (types were removed in an earlier PR but code references remained, causing build failures).Verification done
cargo test)npm test)pytest)go test)dotnet test)gradle test)ctest)EVM_PAYMENT_VAULT_ADDRESSpayment_vault_address, old fields absentSupersedes
Closes #22 (partial scripts-only fix — now included in this broader change)
Test plan
EVM_PAYMENT_VAULT_ADDRESSprepare-uploadresponse containspayment_vault_address(not old field names)data_payments_addressonly appears in env var fallback code🤖 Generated with Claude Code