[do not merge] test(solana): deploy gateway-event-cpi Gateway contract to solana-5 #1056
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.
Note
Updates solana-5 AxelarGateway address, switches event parsing to gas-service CPI, removes ITS CLI, bumps/introduces event-CPI/anchor dependencies, and adjusts upgrade docs to
solana program deploy
.solana/src/its.rs
and dropIts
subcommands fromsolana/src/main.rs
(instruction/query/build paths).gateway_event_stack::build_program_event_stack
now usesparse_gas_service_log
instead ofparse_gateway_logs
insolana/src/gateway.rs
.event-cpi
,event-cpi-macros
,anchor-discriminators(-macros)
toaxelar-solana-gateway
; adjust related crates.anchor-discriminators-macros
toaxelar-solana-gas-service
.axelar-chains-config/info/devnet-amplifier.json
: updatesolana-5
AxelarGateway.address
andupgradeAuthority
.releases/solana/2025-09-GMP-upgrade-vanilla.md
: change upgrade command tosolana program deploy --program-id $PROGRAM_PDA $PROGRAM_PATH
.anchor-discriminators
,event-cpi
; remove/adjust some deps (e.g.,event-utils
), and bump several crate versions (e.g.,mpl-token-metadata
,num_cpus
,openssl-src
,socket2
).Written by Cursor Bugbot for commit 67ba637. This will update automatically on new commits. Configure here.
Greptile Overview
Updated On: 2025-09-30 06:50:53 UTC
Summary
This PR implements a test deployment of a new Gateway contract variant called 'gateway-event-cpi' to the solana-5 devnet environment. The changes span three key areas:Configuration Update: Updates the AxelarGateway contract address in the devnet-amplifier configuration from the old address to a newly deployed contract at
gtwLmC1UUvmkVCN4NoXobHbLpQN2AZEZrWyqc7Q13QA
. This configuration change maintains all other parameters like domain separator, connection type, and authority addresses while only updating the contract reference.ITS Module Cleanup: Removes redundant parameters from multiple instruction function calls in the Solana ITS module. These changes affect functions for deploying interchain tokens, transferring operatorship, managing flow limiters, and handling minting operations. The removed parameters (like
sender
,proposer
,accepter
,adder
,remover
) were likely being passed to instruction functions that now derive these values automatically.Event Parsing Modification: Switches the event parsing function from
parse_gateway_logs
toparse_gas_service_log
in the gateway events query functionality. This change specifically targets gas service event parsing rather than general gateway event parsing, likely to accommodate the new contract's event emission patterns.The changes appear to be part of testing a new Gateway contract implementation that focuses on Cross-Program Invocation (CPI) functionality with gas service event handling capabilities. The PR title explicitly states this is for testing purposes and should not be merged.
Important Files Changed
Changed Files
Confidence score: 3/5
Sequence Diagram