Repository navigation
spec_config system-tests - #24262
Draft
vyzaldysanchez wants to merge 4 commits into
Draft
spec_config system-tests#24262vyzaldysanchez wants to merge 4 commits into
vyzaldysanchez wants to merge 4 commits into
Conversation
Contributor
|
I see you updated files related to
|
Contributor
|
✅ No conflicts with other open PRs targeting |
…n-caps-registry-launch-system-tests # Conflicts: # system-tests/lib/cre/don/config/config_test.go
This branch has not been deployed
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.
Launch EVM, Aptos and Stellar capabilities from registry spec_config in local CRE
Jira: CRE-4017
Summary
Local CRE now launches the EVM, Aptos and Stellar chain capabilities the way it launches HTTP action/trigger: through
LocalCapabilityManager, theRegistryBasedLaunchAllowlistand registryspec_config. The per-chain worker job proposals are removed. Solana is unchanged and stays on job specs.No onchain data changes. This is mostly
system-tests, plus one small node-side change (nodeAddress, below).Changes
Allowlist (
don/config/config.go):addWorkerNodeConfigappends entries for the enabled chain capabilities, without duplicates on reapply.^evm:ChainSelector:(family pattern).^aptos:ChainSelector:<sel>@1\.0\.0$).aptosChain/stellarChainnow carry theirChainSelector.EVM (
features/evm/v2):PreEnvStartupbuilds a sharedspec_config(chainId,network,creForwarderAddress,logTriggerPollInterval,receiverGasMinimum,deltaStage, optional log-trigger fields) and attaches it to the capability config.nodeAddressis no longer authored (it was only a monitoring label).createJobsand its per-node proposals are deleted.Aptos (
features/aptos):spec_configgainschainId,network,creForwarderAddress,isLocalalongside the existing keys. Worker proposer removed.Stellar (
features/stellar): forwarder is deployed before the config is built;spec_configis built from the same typed config struct the production changeset uses.stellar_jobs.goremoved.Node (
core/services/standardcapabilities/delegate.go):NewServicesfills the EVMnodeAddressfrom this node's OCR3 transmitter when the config has none, so the shared EVMspec_configkeeps the per-node monitoring label. A configurednodeAddresswins; other capabilities and an empty transmitter are untouched.Testing
spec_configfor EVM, Aptos and Stellar (EVM has nonodeAddress).TestWithEVMNodeAddresscovers thenodeAddressfill (absent, empty, configured, empty config, non-EVM, non-object config).go testpasses fordon/config,features/{evm,aptos,stellar}andcore/services/standardcapabilities(theTestStandardCapabilitiesV2_*tests bind a local port and were skipped in my sandbox);go vetclean onsystem-tests/libandtests/smoke/cre.Not verified / known gaps
spec_configto real DONs. TheNewServicescall site of thenodeAddressfill is not covered by a test (the helper is).SpecConfig, as HTTP does. The offchain payload helper only exists in the offchain-registry smoke test.swapdev command (core/scripts/cre/environment/environment/swap.go) cancels jobs by capability label, so it no longer restarts chain capabilities (same as HTTP today).🤖 Generated with Claude Code