Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
rust: ${{ steps.filter.outputs.rust == 'true' || inputs.check-all }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- uses: dorny/paths-filter@v3
id: filter
with:
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-nextest
Expand All @@ -90,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
private-key: ${{ secrets.RELEASE_PLZ_APP_PK }}

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
private-key: ${{ secrets.RELEASE_PLZ_APP_PK }}

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ steps.generate-token.outputs.token }}
Expand Down
1 change: 1 addition & 0 deletions crates/af-iperps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ sui_pkg_sdk!(perpetuals {
ch_id: ID,
bad_debt_account_id: u64,
size_reduced: u64,
collateral_transferred: IFixed,
adl_price: u64,
counterparty_account_id: u64,
bad_debt_is_long: bool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2208,13 +2208,14 @@ pub af_iperps::events::PerformedADL::adl_price: u64
pub af_iperps::events::PerformedADL::bad_debt_account_id: u64
pub af_iperps::events::PerformedADL::bad_debt_is_long: bool
pub af_iperps::events::PerformedADL::ch_id: sui_framework_sdk::object::ID
pub af_iperps::events::PerformedADL::collateral_transferred: af_utilities::types::ifixed::IFixed
pub af_iperps::events::PerformedADL::counterparty_account_id: u64
pub af_iperps::events::PerformedADL::size_reduced: u64
impl af_iperps::events::PerformedADL
pub fn af_iperps::events::PerformedADL::move_instance(self, address: sui_sdk_types::address::Address) -> af_move_type::MoveInstance<Self>
pub fn af_iperps::events::PerformedADL::type_(address: sui_sdk_types::address::Address) -> af_iperps::events::PerformedADLTypeTag
impl af_iperps::events::PerformedADL
pub fn af_iperps::events::PerformedADL::new(ch_id: sui_framework_sdk::object::ID, bad_debt_account_id: u64, size_reduced: u64, adl_price: u64, counterparty_account_id: u64, bad_debt_is_long: bool) -> Self
pub fn af_iperps::events::PerformedADL::new(ch_id: sui_framework_sdk::object::ID, bad_debt_account_id: u64, size_reduced: u64, collateral_transferred: af_utilities::types::ifixed::IFixed, adl_price: u64, counterparty_account_id: u64, bad_debt_is_long: bool) -> Self
impl af_move_type::MoveStruct for af_iperps::events::PerformedADL
pub type af_iperps::events::PerformedADL::StructTag = af_iperps::events::PerformedADLTypeTag
impl af_move_type::MoveType for af_iperps::events::PerformedADL
Expand Down
77 changes: 31 additions & 46 deletions crates/sui-gql-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ trait-variant = "0.1"
default-features = false
features = ["build"]
path = "../sui-gql-schema"
version = "0.17.0"
version = "0.17.0"


[dev-dependencies]
Expand All @@ -84,76 +84,61 @@ sui-gql-schema = { path = "../sui-gql-schema", features = ["build", "scalars"] }


[[example]]
name = "gql-object-type"
path = "examples/object_type.rs"
required-features = ["queries", "reqwest"]
name = "gql-object-type"
path = "examples/object_type.rs"

[[example]]
name = "gql-object-dfs"
path = "examples/object_dfs.rs"
required-features = ["queries", "reqwest"]
name = "gql-object-dfs"
path = "examples/object_dfs.rs"

[[example]]
name = "gql-object-df-by-name"
path = "examples/object_df_by_name.rs"
required-features = ["queries", "reqwest"]
name = "gql-object-df-by-name"
path = "examples/object_df_by_name.rs"

[[example]]
name = "gql-object-dof-by-name"
path = "examples/object_dof_by_name.rs"
required-features = ["queries", "reqwest"]
name = "gql-object-dof-by-name"
path = "examples/object_dof_by_name.rs"

[[example]]
name = "gql-current-epoch"
path = "examples/current_epoch.rs"
required-features = ["queries", "reqwest"]
name = "gql-current-epoch"
path = "examples/current_epoch.rs"

[[example]]
name = "gql-events-backward"
path = "examples/events_backward.rs"
required-features = ["queries", "reqwest"]
name = "gql-events-backward"
path = "examples/events_backward.rs"

[[example]]
name = "gql-cached"
path = "examples/cached_client.rs"
required-features = ["queries", "reqwest"]
name = "gql-cached"
path = "examples/cached_client.rs"

[[example]]
name = "gql-transaction-status"
path = "examples/transaction_blocks_status.rs"
required-features = ["queries", "reqwest"]
name = "gql-transaction-status"
path = "examples/transaction_blocks_status.rs"

[[example]]
name = "gql-latest-checkpoint"
path = "examples/latest_checkpoint.rs"
required-features = ["queries", "reqwest"]
name = "gql-latest-checkpoint"
path = "examples/latest_checkpoint.rs"

[[example]]
name = "gql-full-objects"
path = "examples/full_objects.rs"
required-features = ["queries", "reqwest"]
name = "gql-full-objects"
path = "examples/full_objects.rs"

[[example]]
name = "gql-latest-full-objects"
path = "examples/latest_full_objects.rs"
required-features = ["queries", "reqwest"]
name = "gql-latest-full-objects"
path = "examples/latest_full_objects.rs"

[[example]]
name = "gql-owner-gas-coins"
path = "examples/owner_gas_coins.rs"
required-features = ["move-type", "queries", "reqwest"]
name = "gql-owner-gas-coins"
path = "examples/owner_gas_coins.rs"

[[example]]
name = "gql-packages"
path = "examples/packages.rs"
required-features = ["queries", "reqwest"]
name = "gql-packages"
path = "examples/packages.rs"

[[example]]
name = "gql-transactions-by-digests"
path = "examples/transactions_by_digests.rs"
required-features = ["hash", "queries", "reqwest"]
name = "gql-transactions-by-digests"
path = "examples/transactions_by_digests.rs"

[[example]]
name = "gql-coin-metadata"
path = "examples/coin_metadata.rs"
required-features = ["queries", "reqwest"]
name = "gql-coin-metadata"
path = "examples/coin_metadata.rs"
Loading