Skip to content

Commit

Permalink
chore!: update to v1 protos
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Oct 16, 2024
1 parent f6189cd commit 735d5dc
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
pull_request:
branches:
- astria

env:
REGISTRY: ghcr.io
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ ibc-proto = { version = "0.41.0", features = ["serde"] }
ibc-telemetry = { version = "0.26.4", path = "../telemetry", optional = true }
ibc-relayer-types = { version = "0.26.4", path = "../relayer-types", features = ["mocks"] }

astria-core = { git = "https://github.com/astriaorg/astria", branch = "ENG-912/rename-signed-transaction" }
astria-sequencer-client = { git = "https://github.com/astriaorg/astria", branch = "ENG-912/rename-signed-transaction", features = [ "http" ] }
astria-core = { git = "https://github.com/astriaorg/astria", branch = "joroshiba/proto-v1-upgrade" }
astria-sequencer-client = { git = "https://github.com/astriaorg/astria", branch = "joroshiba/proto-v1-upgrade", features = [ "http" ] }
ed25519-consensus = "2.1.0"
ibc-types = "0.12.0"
jmt = "0.6"
Expand Down
6 changes: 3 additions & 3 deletions crates/relayer/src/chain/astria/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ impl AstriaEndpoint {
SigningKey,
VerificationKey,
},
generated::protocol::transaction::v1alpha1::Ics20Withdrawal as RawIcs20Withdrawal,
generated::protocol::transaction::v1::Ics20Withdrawal as RawIcs20Withdrawal,
primitive::v1::Address,
protocol::transaction::v1alpha1::{
protocol::transaction::v1::{
action::Ics20Withdrawal,
Action,
TransactionBody,
Expand Down Expand Up @@ -599,7 +599,7 @@ impl ChainEndpoint for AstriaEndpoint {
) -> Result<Balance, Error> {
use astria_core::{
crypto::VerificationKey,
protocol::account::v1alpha1::AssetBalance,
protocol::account::v1::AssetBalance,
};
use astria_sequencer_client::{
Address,
Expand Down
6 changes: 3 additions & 3 deletions crates/relayer/src/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,20 +208,20 @@ fn build_transfer_message_astria(
let timeout_height = match timeout_height {
// TODO: update astria IbcHeight to support optional?
TimeoutHeight::At(height) => {
astria_core::generated::protocol::transaction::v1alpha1::IbcHeight {
astria_core::generated::protocol::transaction::v1::IbcHeight {
revision_number: height.revision_number(),
revision_height: height.revision_height(),
}
}
TimeoutHeight::Never => {
astria_core::generated::protocol::transaction::v1alpha1::IbcHeight {
astria_core::generated::protocol::transaction::v1::IbcHeight {
revision_number: 0,
revision_height: u64::MAX,
}
}
};

let msg = astria_core::generated::protocol::transaction::v1alpha1::Ics20Withdrawal {
let msg = astria_core::generated::protocol::transaction::v1::Ics20Withdrawal {
source_channel: src_channel_id.to_string(),
denom,
amount: Some(
Expand Down

0 comments on commit 735d5dc

Please sign in to comment.