Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no padding + mcms #16511

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
18238ab
try upgrade in CI
tt-cll Feb 13, 2025
6cca0c8
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 13, 2025
fd07e4a
update sha
tt-cll Feb 13, 2025
2740026
make gomodtidy
tt-cll Feb 13, 2025
750c267
try setting signer
tt-cll Feb 13, 2025
dc7c4b5
fix params
tt-cll Feb 13, 2025
4197aac
set keypair to authority
tt-cll Feb 13, 2025
55de91e
deploy same artifact
tt-cll Feb 13, 2025
21c5043
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 13, 2025
937b0e9
revert gomod
tt-cll Feb 13, 2025
a39034e
return ixns
tt-cll Feb 15, 2025
1b7345e
upgrade in place
tt-cll Feb 15, 2025
9f3550b
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 15, 2025
6953d7a
fix build
tt-cll Feb 15, 2025
c97275e
lint
tt-cll Feb 15, 2025
9f31584
bump gomod
tt-cll Feb 15, 2025
ab47391
validate upgrades
tt-cll Feb 15, 2025
80202c5
lint
tt-cll Feb 15, 2025
8468bb4
comments
tt-cll Feb 17, 2025
c6b2475
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 17, 2025
07866dc
gomod
tt-cll Feb 17, 2025
f27eae6
fix merge
tt-cll Feb 18, 2025
02980fa
lint
tt-cll Feb 18, 2025
a23d140
lint
tt-cll Feb 18, 2025
74f835f
cr comments
tt-cll Feb 18, 2025
ab58af5
lint
tt-cll Feb 18, 2025
514651e
lint
tt-cll Feb 18, 2025
20ab5e4
lint
tt-cll Feb 18, 2025
814a3ba
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 18, 2025
798d06b
move upgrades to mcms
tt-cll Feb 18, 2025
4ac68ab
bump delay
tt-cll Feb 18, 2025
3a32ebc
wip
tt-cll Feb 19, 2025
8ca3f34
wip
tt-cll Feb 19, 2025
5d1cf7b
mcms fix
tt-cll Feb 19, 2025
8f2035f
log in CI
tt-cll Feb 19, 2025
66eea30
preload first
tt-cll Feb 19, 2025
e2261bf
Merge pull request #16465 from smartcontractkit/tt/mcms1
tt-cll Feb 19, 2025
639eb8d
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 19, 2025
93d29b3
wip
tt-cll Feb 20, 2025
ecc46ff
wip
tt-cll Feb 20, 2025
de3ae32
check bytes
tt-cll Feb 20, 2025
74d17e5
lint
tt-cll Feb 20, 2025
fabd20b
revert buffer
tt-cll Feb 20, 2025
b8cef56
Merge pull request #16493 from smartcontractkit/tt/extend
tt-cll Feb 21, 2025
2691c6b
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
tt-cll Feb 21, 2025
7e500ae
use program data size
tt-cll Feb 21, 2025
3a73a76
add padding
tt-cll Feb 21, 2025
077f354
no padding + mcms
tt-cll Feb 21, 2025
9a80c3c
no padding + mcms
tt-cll Feb 21, 2025
09bafb2
lint
tt-cll Feb 21, 2025
abdbce8
Merge branch 'tt/solanaUpgrades' into tt/shouldBreakMcms
tt-cll Feb 21, 2025
334689d
bubble mcms error
tt-cll Feb 21, 2025
6df6280
Merge remote-tracking branch 'origin/tt/solanaUpgrades' into tt/shoul…
tt-cll Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/develop' into tt/solanaUpgrades
  • Loading branch information
tt-cll committed Feb 13, 2025
commit 6cca0c83d9341cfac30323cd3e40f43abcb0212c
32 changes: 17 additions & 15 deletions deployment/ccip/changeset/solana/cs_deploy_chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ import (
commontypes "github.com/smartcontractkit/chainlink/deployment/common/types"
)

func TestDeployAndUpgradeChainContractsChangesetSolana(t *testing.T) {
// This test will not work locally on Mac because the arm64 validator we use does not support upgrades
// https://solana.stackexchange.com/questions/17478/solana-localnet-error-while-upgrading-a-program-loaded-at-genesis-using-solan
func TestDeployChainContractsChangesetSolana(t *testing.T) {
t.Parallel()
lggr := logger.TestLogger(t)
e := memory.NewMemoryEnvironment(t, lggr, zapcore.InfoLevel, memory.MemoryEnvironmentConfig{
Expand Down Expand Up @@ -87,10 +89,10 @@ func TestDeployAndUpgradeChainContractsChangesetSolana(t *testing.T) {
HomeChainSelector: homeChainSel,
ContractParamsPerChain: contractParams,
},
},
{
Changeset: commonchangeset.WrapChangeSet(solana.DeployChainContractsChangesetSolana),
Config: solana.DeployChainContractsConfigSolana{
),
commonchangeset.Configure(
deployment.CreateLegacyChangeSet(solana.DeployChainContractsChangesetSolana),
solana.DeployChainContractsConfigSolana{
DeployChainContractsConfig: changeset.DeployChainContractsConfig{
HomeChainSelector: homeChainSel,
ContractParamsPerChain: map[uint64]changeset.ChainContractParams{
Expand All @@ -108,19 +110,19 @@ func TestDeployAndUpgradeChainContractsChangesetSolana(t *testing.T) {
testhelpers.ValidateSolanaState(t, e, solChainSelectors)

// Verify upgrade flow
e, err = commonchangeset.ApplyChangesets(t, e, nil, []commonchangeset.ChangesetApplication{
{
Changeset: commonchangeset.WrapChangeSet(solana.BuildSolanaChangeset),
Config: solana.BuildSolanaConfig{
e, err = commonchangeset.Apply(t, e, nil,
commonchangeset.Configure(
deployment.CreateLegacyChangeSet(solana.BuildSolanaChangeset),
solana.BuildSolanaConfig{
ChainSelector: solChainSelectors[0],
GitCommitSha: "9a0ab24a17ac44d4a58b77db28e13a5f31fd2ca4",
DestinationDir: e.SolChains[solChainSelectors[0]].ProgramsPath,
CleanDestinationDir: true,
},
},
{
Changeset: commonchangeset.WrapChangeSet(solana.DeployChainContractsChangesetSolana),
Config: solana.DeployChainContractsConfigSolana{
),
commonchangeset.Configure(
deployment.CreateLegacyChangeSet(solana.DeployChainContractsChangesetSolana),
solana.DeployChainContractsConfigSolana{
DeployChainContractsConfig: changeset.DeployChainContractsConfig{
HomeChainSelector: homeChainSel,
ContractParamsPerChain: map[uint64]changeset.ChainContractParams{
Expand All @@ -137,8 +139,8 @@ func TestDeployAndUpgradeChainContractsChangesetSolana(t *testing.T) {
NewOffRampVersion: &deployment.Version1_1_0,
},
},
},
})
),
)
require.NoError(t, err)
// solana verification
testhelpers.ValidateSolanaState(t, e, solChainSelectors)
Expand Down
8 changes: 5 additions & 3 deletions deployment/ccip/changeset/testhelpers/test_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,11 @@ func AddCCIPContractsToEnvironment(t *testing.T, allChains []uint64, tEnv TestEn
),
commonchangeset.Configure(
deployment.CreateLegacyChangeSet(solana.DeployChainContractsChangesetSolana),
changeset.DeployChainContractsConfig{
HomeChainSelector: e.HomeChainSel,
ContractParamsPerChain: solContractParams,
solana.DeployChainContractsConfigSolana{
DeployChainContractsConfig: changeset.DeployChainContractsConfig{
HomeChainSelector: e.HomeChainSel,
ContractParamsPerChain: evmContractParams,
},
},
),
}...)
Expand Down
1 change: 1 addition & 0 deletions deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ require (
github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/pressly/goose/v3 v3.21.1 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.1 // indirect
Expand Down
4 changes: 0 additions & 4 deletions deployment/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,6 @@ github.com/smartcontractkit/chainlink-protos/svr v0.0.0-20250123084029-58cce9b32
github.com/smartcontractkit/chainlink-protos/svr v0.0.0-20250123084029-58cce9b32112/go.mod h1:TcOliTQU6r59DwG4lo3U+mFM9WWyBHGuFkkxQpvSujo=
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250211201734-3ea6680f8db5 h1:fvXy2UGCaFWxufcq9OTcdrmxjPxav6hN7CXvT8Jwm+Q=
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250211201734-3ea6680f8db5/go.mod h1:8vwwY6hz++9D0rdmmc9HoyF1noI1pX6Grgz9yvhzUvQ=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213162413-ff52a86896aa h1:z/ozMwxM25tbbF3iZqPAb8Lgwy/goJFjzSP3LILrJZE=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213162413-ff52a86896aa/go.mod h1:WYxCxAWpeXEHfhB0GaiV2sj21Ooh9r/Nf7tzmJgAibs=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213163123-c94846a5ac62 h1:9WgitgIr8Sy8ddRSQgySup5ofomWvFmoV0YKj3BoCts=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213163123-c94846a5ac62/go.mod h1:WYxCxAWpeXEHfhB0GaiV2sj21Ooh9r/Nf7tzmJgAibs=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213163657-dc72707c3adb h1:IJt/mviprpDroafBnY34Lu+T+rVGjOpjcu7Oj6jSlTk=
github.com/smartcontractkit/chainlink-testing-framework/framework v0.5.2-0.20250213163657-dc72707c3adb/go.mod h1:WYxCxAWpeXEHfhB0GaiV2sj21Ooh9r/Nf7tzmJgAibs=
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.22 h1:W3doYLVoZN8VwJb/kAZsbDjW+6cgZPgNTcQHJUH9JrA=
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.