Skip to content

Add ZK testing capabilities#17436

Merged
Tofel merged 37 commits into
developfrom
zk-testing
May 15, 2025
Merged

Add ZK testing capabilities#17436
Tofel merged 37 commits into
developfrom
zk-testing

Conversation

@ilanolkies
Copy link
Copy Markdown
Contributor

@ilanolkies ilanolkies commented Apr 24, 2025

Tests deploying Link Token on Anvil ZK Sync using the new Go bindings. This PR is part of #17047

Requires

Bumping:

  • github.com/smartcontractkit/chainlink-deployments-framework v0.1.1
  • github.com/smartcontractkit/chainlink-testing-framework/framework v0.7.9

Comment thread deployment/common/changeset/deploy_link_token_test.go Outdated
Comment thread deployment/environment/memory/zksync_chains.go Outdated
Comment thread deployment/environment/memory/zksync_chains.go Outdated
Comment thread deployment/environment/memory/zksync_chains.go
Comment thread deployment/environment/memory/zksync_chains.go
Comment thread deployment/environment/memory/zksync_chains.go Outdated
Comment thread deployment/helpers.go Outdated
Comment thread deployment/common/changeset/deploy_link_token.go
AnieeG
AnieeG previously approved these changes Apr 24, 2025
Comment thread deployment/common/changeset/deploy_link_token.go
Comment thread deployment/environment.go Outdated
Comment thread deployment/environment/memory/environment.go
Comment thread deployment/environment/memory/node.go
Comment thread deployment/common/changeset/deploy_link_token.go Outdated
Comment thread deployment/go.mod Outdated
kylesmartin
kylesmartin previously approved these changes May 12, 2025
ilanolkies pushed a commit to smartcontractkit/chainlink-deployments-framework that referenced this pull request May 13, 2025
github-merge-queue Bot pushed a commit to smartcontractkit/chainlink-deployments-framework that referenced this pull request May 13, 2025
Comment thread deployment/go.mod Outdated
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250512193142-11507db18550
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250509155341-2b5a5170a351
github.com/smartcontractkit/chainlink-deployments-framework v0.0.15-0.20250508081139-ee24199564bd
github.com/smartcontractkit/chainlink-deployments-framework v0.1.1-0.20250513145550-8e845f1272ca
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requires versioning

@github-actions
Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found in: PR title, commit message, or branch name. Please include the issue ID in one of these.

The error was changed in CTF
Comment thread deployment/common/changeset/solana/fund_mcm_pdas_test.go Outdated
Comment on lines +176 to +179
commonchangeset.DeployLinkTokenTest(t, memory.MemoryEnvironmentConfig{
Chains: 1,
SolChains: 1,
})
Copy link
Copy Markdown
Contributor Author

@ilanolkies ilanolkies May 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is due to test refactoring

Comment thread deployment/common/changeset/example/solana_transfer_mcm_test.go Outdated
@ilanolkies ilanolkies mentioned this pull request May 14, 2025
@cl-sonarqube-production
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

Flakeguard Summary

Ran new or updated tests between develop and 2b1648e (zk-testing).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

9 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestBillingWithoutMcms 50% false false false 2 1 1 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/solana true 3m5.89s @smartcontractkit/solana-tooling, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestPoolLookupTableWithoutMcms 0% true true false 1 0 1 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/solana true 0s @smartcontractkit/solana-tooling, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestTokenAdminRegistryWithoutMcms 66.6667% false false true 3 2 1 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/solana true 2m11.37s @smartcontractkit/solana-tooling, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestTransferCCIPFromMCMSWithTimelockSolana 66.6667% false false false 3 2 1 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/solana true 2m32.756666666s @smartcontractkit/solana-tooling, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestDeployLinkTokenZk 33.3333% false false false 3 1 2 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 22.116666666s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestDeployMCMSWithTimelockV2 66.6667% false false false 3 2 1 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 45.646666666s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestMCMSSignFireDrillChangeset 0% false false false 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 55.633333333s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestSetConfigMCMSV2EVM/MCMS_disabled 0% false false true 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 1m0.03s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team
TestSetConfigMCMSV2Solana/MCMS_disabled 0% false false true 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/common/changeset false 51.1s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation, @smartcontractkit/cld-team

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants