Skip to content

Commit

Permalink
feat: call destination program on Solana (#22)
Browse files Browse the repository at this point in the history
* feat: message approved event sent to amplifier api
* feat: will ping-pong events back to amplifier api
* feat: can interact with the destinatin program
* fix: approve flow failing
  • Loading branch information
roberts-pumpurs authored Oct 30, 2024
1 parent d65536d commit ad23e6a
Show file tree
Hide file tree
Showing 20 changed files with 596 additions and 190 deletions.
19 changes: 18 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ effective-tx-sender = { path = "crates/effective-tx-sender" }
# Solana Gateway
gmp-gateway = { git = "https://github.com/eigerco/solana-axelar.git", branch = "main", features = ["no-entrypoint"] }
axelar-rkyv-encoding = { git = "https://github.com/eigerco/solana-axelar.git", branch = "main" }
axelar-message-primitives = { git = "https://github.com/eigerco/solana-axelar.git", branch = "main" }
axelar-executable = { git = "https://github.com/eigerco/solana-axelar.git", branch = "main" }

# CLI
Expand All @@ -100,6 +101,7 @@ quanta = "0.12"
backoff = { version = "0.4", features = ["tokio"] }
indoc = "2"
itertools = "0.12"
num-traits = "0.2"

# Serde
serde = { version = "1", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/amplifier-api/src/client/requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ impl AmplifierApiRequest for HealthCheck {
pub struct GetChains<'a> {
/// The name of the cain that we want to query and get the tasks for
pub chain: &'a WithTrailingSlash,
#[builder(setter(strip_option), default)]
#[builder(default)]
/// The earliers task id
pub after: Option<TaskItemId>,
#[builder(setter(strip_option), default)]
#[builder(default)]
/// The latest task id
pub before: Option<TaskItemId>,
/// the amount of results to return
Expand Down
Loading

0 comments on commit ad23e6a

Please sign in to comment.