-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: relayer uses the new solana gateway #2
Conversation
let destination_address = message.destination_address.parse::<Pubkey>()?; | ||
match destination_address { | ||
axelar_solana_its::ID => { | ||
// todo ITS specific handling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frenzox this is for this issue -- https://github.com/eigerco/axelar-relayer-core-internal/issues/27
tracing::error!("ITS program not yet supported"); | ||
} | ||
axelar_solana_governance::ID => { | ||
// todo Governance specific handling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eloylp this is for this issue -- https://github.com/eigerco/axelar-relayer-core-internal/issues/28
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack, thank you
&payload, | ||
gateway_incoming_message_pda, | ||
)?; | ||
send_tx_parse_error(solana_rpc_client, keypair, ix).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the tx cannot be sent (we get an error), this needs to be reported back to the Amplifier API.
https://github.com/eigerco/solana-axelar-internal/issues/504
Some(amplifier_event) | ||
} | ||
MessageExecuted(ref _executed_message) => { | ||
GatewayEvent::MessageExecuted(ref _executed_message) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the part for https://github.com/eigerco/solana-axelar-internal/issues/572 issue to be implemented
Describe the changes
Closes #588
Checklist