From 6f10474db4adf49c596cad6ff551be0979a051b3 Mon Sep 17 00:00:00 2001 From: Sergey Timoshin Date: Thu, 20 Jun 2024 18:58:00 +0100 Subject: [PATCH] feat: photon v0.26.0 (#844) * Switch to Photon v0.26.0 * Format + update autogenerated photon-api types * Update TokenData field types to i64 * Enable skipped tests for compressed token RPC Three previously skipped end-to-end tests for compressed token RPCs have been enabled. The tests cover the functionality of getCompressedTokenAccountsByOwner, getCompressedTokenAccountBalance, and getCompressedTokenBalancesByOwner functions. --- Cargo.lock | 2 +- cli/src/utils/constants.ts | 2 +- forester/src/nullifier/nullify.rs | 2 +- forester/src/nullifier/queue_data.rs | 2 +- js/compressed-token/package.json | 16 ++++++++-------- .../tests/e2e/rpc-token-interop.test.ts | 6 +++--- js/stateless.js/package.json | 16 ++++++++-------- photon-api/Cargo.toml | 2 +- photon-api/README.md | 4 ++-- photon-api/docs/TokenData.md | 1 - photon-api/src/apis/configuration.rs | 4 ++-- photon-api/src/apis/default_api.rs | 2 +- ...get_compressed_account_post_200_response.rs | 2 +- ...mpressed_account_post_200_response_error.rs | 2 +- ...pressed_account_post_200_response_result.rs | 2 +- ...get_compressed_account_post_429_response.rs | 2 +- .../_get_compressed_account_post_request.rs | 2 +- ...t_compressed_account_post_request_params.rs | 2 +- ...mpressed_account_proof_post_200_response.rs | 2 +- ...d_account_proof_post_200_response_result.rs | 2 +- ...et_compressed_account_proof_post_request.rs | 2 +- ...ressed_account_proof_post_request_params.rs | 2 +- ...ssed_accounts_by_owner_post_200_response.rs | 2 +- ...counts_by_owner_post_200_response_result.rs | 2 +- ...ompressed_accounts_by_owner_post_request.rs | 2 +- ...ed_accounts_by_owner_post_request_params.rs | 2 +- ...compressed_balance_by_owner_post_request.rs | 2 +- ...sed_balance_by_owner_post_request_params.rs | 2 +- ...get_compressed_balance_post_200_response.rs | 2 +- ...pressed_balance_post_200_response_result.rs | 2 +- .../_get_compressed_balance_post_request.rs | 2 +- ..._token_account_balance_post_200_response.rs | 2 +- ...account_balance_post_200_response_result.rs | 2 +- ...essed_token_account_balance_post_request.rs | 2 +- ...n_accounts_by_delegate_post_200_response.rs | 2 +- ...nts_by_delegate_post_200_response_result.rs | 2 +- ..._token_accounts_by_delegate_post_request.rs | 2 +- ...accounts_by_delegate_post_request_params.rs | 2 +- ...sed_token_accounts_by_owner_post_request.rs | 2 +- ...en_accounts_by_owner_post_request_params.rs | 2 +- ...oken_balances_by_owner_post_200_response.rs | 2 +- ...lances_by_owner_post_200_response_result.rs | 2 +- ...sed_token_balances_by_owner_post_request.rs | 2 +- ...signatures_for_account_post_200_response.rs | 2 +- ...res_for_account_post_200_response_result.rs | 2 +- ...sion_signatures_for_account_post_request.rs | 2 +- ...signatures_for_address_post_200_response.rs | 2 +- ...res_for_address_post_200_response_result.rs | 2 +- ...sion_signatures_for_address_post_request.rs | 2 +- ...gnatures_for_address_post_request_params.rs | 2 +- ...ession_signatures_for_owner_post_request.rs | 2 +- ...signatures_for_owner_post_request_params.rs | 2 +- ..._signatures_for_token_owner_post_request.rs | 2 +- .../_get_indexer_health_post_200_response.rs | 2 +- .../models/_get_indexer_health_post_request.rs | 2 +- .../_get_indexer_slot_post_200_response.rs | 2 +- .../models/_get_indexer_slot_post_request.rs | 2 +- ...test_compression_signatures_post_request.rs | 2 +- ...mpression_signatures_post_request_params.rs | 2 +- ...atest_non_voting_signatures_post_request.rs | 2 +- ...pressed_account_proofs_post_200_response.rs | 2 +- ..._account_proofs_post_200_response_result.rs | 2 +- ...e_compressed_account_proofs_post_request.rs | 2 +- ...le_compressed_accounts_post_200_response.rs | 2 +- ...ressed_accounts_post_200_response_result.rs | 2 +- ...ultiple_compressed_accounts_post_request.rs | 2 +- ..._compressed_accounts_post_request_params.rs | 2 +- ...ple_new_address_proofs_post_200_response.rs | 2 +- ..._address_proofs_post_200_response_result.rs | 2 +- ...multiple_new_address_proofs_post_request.rs | 2 +- ..._with_compression_info_post_200_response.rs | 2 +- ...ompression_info_post_200_response_result.rs | 2 +- ...ost_200_response_result_compression_info.rs | 2 +- ...ction_with_compression_info_post_request.rs | 2 +- ...ith_compression_info_post_request_params.rs | 2 +- .../_get_validity_proof_post_200_response.rs | 2 +- ..._validity_proof_post_200_response_result.rs | 2 +- .../models/_get_validity_proof_post_request.rs | 2 +- .../_get_validity_proof_post_request_params.rs | 2 +- photon-api/src/models/account.rs | 18 +++++++++--------- photon-api/src/models/account_data.rs | 6 +++--- photon-api/src/models/account_list.rs | 2 +- photon-api/src/models/account_state.rs | 2 +- .../models/account_with_optional_token_data.rs | 2 +- photon-api/src/models/compressed_proof.rs | 2 +- .../models/compressed_proof_with_context.rs | 2 +- photon-api/src/models/context.rs | 2 +- .../merkle_context_with_new_address_proof.rs | 2 +- .../src/models/merkle_proof_with_context.rs | 6 +++--- .../src/models/paginated_account_list.rs | 2 +- .../models/paginated_signature_info_list.rs | 2 +- photon-api/src/models/signature_info.rs | 2 +- photon-api/src/models/signature_info_list.rs | 2 +- photon-api/src/models/token_acccount.rs | 2 +- photon-api/src/models/token_account_balance.rs | 2 +- photon-api/src/models/token_account_list.rs | 2 +- photon-api/src/models/token_balance.rs | 2 +- photon-api/src/models/token_balance_list.rs | 2 +- photon-api/src/models/token_data.rs | 13 ++----------- pnpm-lock.yaml | 4 ---- scripts/install.sh | 2 +- test-utils/src/indexer/mod.rs | 2 +- test-utils/src/indexer/test_indexer.rs | 8 +------- 103 files changed, 132 insertions(+), 152 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76c9e12549..fca43899be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3991,7 +3991,7 @@ dependencies = [ [[package]] name = "photon-api" -version = "0.25.0" +version = "0.26.0" dependencies = [ "reqwest 0.11.26", "serde", diff --git a/cli/src/utils/constants.ts b/cli/src/utils/constants.ts index c1e745b339..010f6960e6 100644 --- a/cli/src/utils/constants.ts +++ b/cli/src/utils/constants.ts @@ -21,7 +21,7 @@ export const LIGHT_PROVER_PROCESS_NAME = "light-prover"; export const INDEXER_PROCESS_NAME = "photon"; export const FORESTER_PROCESS_NAME = "forester"; -export const PHOTON_VERSION = "0.25.0"; +export const PHOTON_VERSION = "0.26.0"; export const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR"; export const BASE_PATH = "../../bin/"; diff --git a/forester/src/nullifier/nullify.rs b/forester/src/nullifier/nullify.rs index eb2da66b4d..15889fe823 100644 --- a/forester/src/nullifier/nullify.rs +++ b/forester/src/nullifier/nullify.rs @@ -190,7 +190,7 @@ async fn fetch_queue_data( ForesterError::NoProofsFound })?; - let compressed_account_proofs: HashMap, u64, i64)> = proofs + let compressed_account_proofs: HashMap, u64, u64)> = proofs .into_iter() .map(|proof| { ( diff --git a/forester/src/nullifier/queue_data.rs b/forester/src/nullifier/queue_data.rs index 04869c2bfe..0402e1bfef 100644 --- a/forester/src/nullifier/queue_data.rs +++ b/forester/src/nullifier/queue_data.rs @@ -5,7 +5,7 @@ pub struct StateQueueData { pub change_log_index: usize, pub sequence_number: usize, pub compressed_accounts_to_nullify: Vec, - pub compressed_account_proofs: HashMap, u64, i64)>, + pub compressed_account_proofs: HashMap, u64, u64)>, } #[derive(Clone, Copy, Debug)] diff --git a/js/compressed-token/package.json b/js/compressed-token/package.json index 2959527067..a18ca56258 100644 --- a/js/compressed-token/package.json +++ b/js/compressed-token/package.json @@ -105,13 +105,13 @@ "vitest": "^1.6.0" }, "nx": { - "targets": { - "build": { - "inputs": [ - "{workspaceRoot}/target/idl", - "{workspaceRoot}/target/types" - ] - } + "targets": { + "build": { + "inputs": [ + "{workspaceRoot}/target/idl", + "{workspaceRoot}/target/types" + ] + } + } } - } } diff --git a/js/compressed-token/tests/e2e/rpc-token-interop.test.ts b/js/compressed-token/tests/e2e/rpc-token-interop.test.ts index 31fac76fc5..36844b6317 100644 --- a/js/compressed-token/tests/e2e/rpc-token-interop.test.ts +++ b/js/compressed-token/tests/e2e/rpc-token-interop.test.ts @@ -49,7 +49,7 @@ describe('rpc-interop token', () => { await transfer(testRpc, payer, mint, bn(700), bob, charlie.publicKey); }); - it.skip('getCompressedTokenAccountsByOwner should match', async () => { + it('getCompressedTokenAccountsByOwner should match', async () => { const senderAccounts = await rpc.getCompressedTokenAccountsByOwner( bob.publicKey, { mint }, @@ -97,7 +97,7 @@ describe('rpc-interop token', () => { }); }); - it.skip('getCompressedTokenAccountBalance should match ', async () => { + it('getCompressedTokenAccountBalance should match ', async () => { const senderAccounts = await rpc.getCompressedTokenAccountsByOwner( bob.publicKey, { mint }, @@ -114,7 +114,7 @@ describe('rpc-interop token', () => { assert.isNotNull(balanceTest.amount); }); - it.skip('getCompressedTokenBalancesByOwner should match', async () => { + it('getCompressedTokenBalancesByOwner should match', async () => { const balances = await rpc.getCompressedTokenBalancesByOwner( bob.publicKey, { mint }, diff --git a/js/stateless.js/package.json b/js/stateless.js/package.json index b16bf5ff31..9389e5603a 100644 --- a/js/stateless.js/package.json +++ b/js/stateless.js/package.json @@ -96,13 +96,13 @@ "lint": "eslint ." }, "nx": { - "targets": { - "build": { - "inputs": [ - "{workspaceRoot}/target/idl", - "{workspaceRoot}/target/types" - ] - } + "targets": { + "build": { + "inputs": [ + "{workspaceRoot}/target/idl", + "{workspaceRoot}/target/types" + ] + } + } } - } } diff --git a/photon-api/Cargo.toml b/photon-api/Cargo.toml index f6c0c41d4f..a2383b67c8 100644 --- a/photon-api/Cargo.toml +++ b/photon-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "photon-api" -version = "0.25.0" +version = "0.26.0" authors = ["OpenAPI Generator team and contributors"] description = "Solana indexer for general compression" license = "Apache-2.0" diff --git a/photon-api/README.md b/photon-api/README.md index 3a1cecd499..9a86803122 100644 --- a/photon-api/README.md +++ b/photon-api/README.md @@ -7,8 +7,8 @@ Solana indexer for general compression This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 0.25.0 -- Package version: 0.25.0 +- API version: 0.26.0 +- Package version: 0.26.0 - Generator version: 7.5.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/photon-api/docs/TokenData.md b/photon-api/docs/TokenData.md index 00de235b99..b0a84614b8 100644 --- a/photon-api/docs/TokenData.md +++ b/photon-api/docs/TokenData.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | **i32** | | [default to 100] **delegate** | Option<**String**> | A Solana public key represented as a base58 string. | [optional][default to 11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3] -**delegated_amount** | **i32** | | [default to 100] **is_native** | Option<**i32**> | | [optional][default to 100] **mint** | **String** | A Solana public key represented as a base58 string. | [default to 11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3] **owner** | **String** | A Solana public key represented as a base58 string. | [default to 11111112D1oxKts8YPdTJRG5FzxTNpMtWmq8hkVx3] diff --git a/photon-api/src/apis/configuration.rs b/photon-api/src/apis/configuration.rs index 81b5e93673..a5b99fb618 100644 --- a/photon-api/src/apis/configuration.rs +++ b/photon-api/src/apis/configuration.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ @@ -38,7 +38,7 @@ impl Default for Configuration { fn default() -> Self { Configuration { base_path: "http://127.0.0.1".to_owned(), - user_agent: Some("OpenAPI-Generator/0.25.0/rust".to_owned()), + user_agent: Some("OpenAPI-Generator/0.26.0/rust".to_owned()), client: reqwest::Client::new(), basic_auth: None, oauth_access_token: None, diff --git a/photon-api/src/apis/default_api.rs b/photon-api/src/apis/default_api.rs index 1adc5cb488..225f239c80 100644 --- a/photon-api/src/apis/default_api.rs +++ b/photon-api/src/apis/default_api.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_200_response.rs b/photon-api/src/models/_get_compressed_account_post_200_response.rs index 5e9c7142d2..ed52fafb87 100644 --- a/photon-api/src/models/_get_compressed_account_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_account_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_200_response_error.rs b/photon-api/src/models/_get_compressed_account_post_200_response_error.rs index a8a122be17..efbf0858c4 100644 --- a/photon-api/src/models/_get_compressed_account_post_200_response_error.rs +++ b/photon-api/src/models/_get_compressed_account_post_200_response_error.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_200_response_result.rs b/photon-api/src/models/_get_compressed_account_post_200_response_result.rs index daf2af94d8..c041b5e888 100644 --- a/photon-api/src/models/_get_compressed_account_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_account_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_429_response.rs b/photon-api/src/models/_get_compressed_account_post_429_response.rs index 624c78e609..b1d40e7ec3 100644 --- a/photon-api/src/models/_get_compressed_account_post_429_response.rs +++ b/photon-api/src/models/_get_compressed_account_post_429_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_request.rs b/photon-api/src/models/_get_compressed_account_post_request.rs index 833cd3e9cc..e09f430f7d 100644 --- a/photon-api/src/models/_get_compressed_account_post_request.rs +++ b/photon-api/src/models/_get_compressed_account_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_post_request_params.rs b/photon-api/src/models/_get_compressed_account_post_request_params.rs index 5419949898..cfd396667d 100644 --- a/photon-api/src/models/_get_compressed_account_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_account_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_proof_post_200_response.rs b/photon-api/src/models/_get_compressed_account_proof_post_200_response.rs index f1ba670006..285f8a1a90 100644 --- a/photon-api/src/models/_get_compressed_account_proof_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_account_proof_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_proof_post_200_response_result.rs b/photon-api/src/models/_get_compressed_account_proof_post_200_response_result.rs index c22a7a073e..085633dd1d 100644 --- a/photon-api/src/models/_get_compressed_account_proof_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_account_proof_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_proof_post_request.rs b/photon-api/src/models/_get_compressed_account_proof_post_request.rs index 323a10926d..9a0cedafb3 100644 --- a/photon-api/src/models/_get_compressed_account_proof_post_request.rs +++ b/photon-api/src/models/_get_compressed_account_proof_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_account_proof_post_request_params.rs b/photon-api/src/models/_get_compressed_account_proof_post_request_params.rs index 83a88389ed..3a852dc725 100644 --- a/photon-api/src/models/_get_compressed_account_proof_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_account_proof_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response.rs b/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response.rs index cc98af8988..ec6cd6e4ec 100644 --- a/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response_result.rs b/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response_result.rs index d20c5391bd..9fdf6d7f69 100644 --- a/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_accounts_by_owner_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_accounts_by_owner_post_request.rs b/photon-api/src/models/_get_compressed_accounts_by_owner_post_request.rs index fa1a169ba2..a24f57d808 100644 --- a/photon-api/src/models/_get_compressed_accounts_by_owner_post_request.rs +++ b/photon-api/src/models/_get_compressed_accounts_by_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_accounts_by_owner_post_request_params.rs b/photon-api/src/models/_get_compressed_accounts_by_owner_post_request_params.rs index 3dfa0c4168..6d64ecd38e 100644 --- a/photon-api/src/models/_get_compressed_accounts_by_owner_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_accounts_by_owner_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_balance_by_owner_post_request.rs b/photon-api/src/models/_get_compressed_balance_by_owner_post_request.rs index 2eed71730a..1ec9367e1a 100644 --- a/photon-api/src/models/_get_compressed_balance_by_owner_post_request.rs +++ b/photon-api/src/models/_get_compressed_balance_by_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_balance_by_owner_post_request_params.rs b/photon-api/src/models/_get_compressed_balance_by_owner_post_request_params.rs index 14605bd7f4..e24d35d226 100644 --- a/photon-api/src/models/_get_compressed_balance_by_owner_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_balance_by_owner_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_balance_post_200_response.rs b/photon-api/src/models/_get_compressed_balance_post_200_response.rs index 176c0abc6e..3a7875bed8 100644 --- a/photon-api/src/models/_get_compressed_balance_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_balance_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_balance_post_200_response_result.rs b/photon-api/src/models/_get_compressed_balance_post_200_response_result.rs index bd425156bb..979390a9f5 100644 --- a/photon-api/src/models/_get_compressed_balance_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_balance_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_balance_post_request.rs b/photon-api/src/models/_get_compressed_balance_post_request.rs index 3aeb0c788c..435e0e260b 100644 --- a/photon-api/src/models/_get_compressed_balance_post_request.rs +++ b/photon-api/src/models/_get_compressed_balance_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_account_balance_post_200_response.rs b/photon-api/src/models/_get_compressed_token_account_balance_post_200_response.rs index b4624fd268..c9ba2b576f 100644 --- a/photon-api/src/models/_get_compressed_token_account_balance_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_token_account_balance_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_account_balance_post_200_response_result.rs b/photon-api/src/models/_get_compressed_token_account_balance_post_200_response_result.rs index b99cbdf1fc..6f1c96f4fd 100644 --- a/photon-api/src/models/_get_compressed_token_account_balance_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_token_account_balance_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_account_balance_post_request.rs b/photon-api/src/models/_get_compressed_token_account_balance_post_request.rs index 5e42eb45d2..85edc2bde3 100644 --- a/photon-api/src/models/_get_compressed_token_account_balance_post_request.rs +++ b/photon-api/src/models/_get_compressed_token_account_balance_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response.rs b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response.rs index b1aaf887a9..972272f7e1 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response_result.rs b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response_result.rs index e5a5c3bc29..8847bcf150 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request.rs b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request.rs index aa5b86fe73..8df7455481 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request_params.rs b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request_params.rs index a46a4d36ea..a03a74f78c 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_delegate_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request.rs b/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request.rs index 36ecc34f3e..5ee4ee7971 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request_params.rs b/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request_params.rs index 64a4b1bf15..f6bf327c9c 100644 --- a/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request_params.rs +++ b/photon-api/src/models/_get_compressed_token_accounts_by_owner_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response.rs b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response.rs index 5b9901762c..635369a2fb 100644 --- a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response.rs +++ b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response_result.rs b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response_result.rs index d707b78d85..df03a87583 100644 --- a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response_result.rs +++ b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_request.rs b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_request.rs index 5f9b829544..90a1093e90 100644 --- a/photon-api/src/models/_get_compressed_token_balances_by_owner_post_request.rs +++ b/photon-api/src/models/_get_compressed_token_balances_by_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_account_post_200_response.rs b/photon-api/src/models/_get_compression_signatures_for_account_post_200_response.rs index 7b013a27ef..e4fb76cec9 100644 --- a/photon-api/src/models/_get_compression_signatures_for_account_post_200_response.rs +++ b/photon-api/src/models/_get_compression_signatures_for_account_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_account_post_200_response_result.rs b/photon-api/src/models/_get_compression_signatures_for_account_post_200_response_result.rs index 5c59aa88d5..7a3c950447 100644 --- a/photon-api/src/models/_get_compression_signatures_for_account_post_200_response_result.rs +++ b/photon-api/src/models/_get_compression_signatures_for_account_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_account_post_request.rs b/photon-api/src/models/_get_compression_signatures_for_account_post_request.rs index cebf15e69c..fe3b560355 100644 --- a/photon-api/src/models/_get_compression_signatures_for_account_post_request.rs +++ b/photon-api/src/models/_get_compression_signatures_for_account_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_address_post_200_response.rs b/photon-api/src/models/_get_compression_signatures_for_address_post_200_response.rs index b3078c2892..fbf6ab5cda 100644 --- a/photon-api/src/models/_get_compression_signatures_for_address_post_200_response.rs +++ b/photon-api/src/models/_get_compression_signatures_for_address_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_address_post_200_response_result.rs b/photon-api/src/models/_get_compression_signatures_for_address_post_200_response_result.rs index 064642a93b..0f9664deac 100644 --- a/photon-api/src/models/_get_compression_signatures_for_address_post_200_response_result.rs +++ b/photon-api/src/models/_get_compression_signatures_for_address_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_address_post_request.rs b/photon-api/src/models/_get_compression_signatures_for_address_post_request.rs index eddd746dfb..6333fafb68 100644 --- a/photon-api/src/models/_get_compression_signatures_for_address_post_request.rs +++ b/photon-api/src/models/_get_compression_signatures_for_address_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_address_post_request_params.rs b/photon-api/src/models/_get_compression_signatures_for_address_post_request_params.rs index 20dbe83067..dba18d8c8b 100644 --- a/photon-api/src/models/_get_compression_signatures_for_address_post_request_params.rs +++ b/photon-api/src/models/_get_compression_signatures_for_address_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_owner_post_request.rs b/photon-api/src/models/_get_compression_signatures_for_owner_post_request.rs index 361f8958fa..c6bd5c5ff5 100644 --- a/photon-api/src/models/_get_compression_signatures_for_owner_post_request.rs +++ b/photon-api/src/models/_get_compression_signatures_for_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_owner_post_request_params.rs b/photon-api/src/models/_get_compression_signatures_for_owner_post_request_params.rs index 9fa8dded19..1003227726 100644 --- a/photon-api/src/models/_get_compression_signatures_for_owner_post_request_params.rs +++ b/photon-api/src/models/_get_compression_signatures_for_owner_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_compression_signatures_for_token_owner_post_request.rs b/photon-api/src/models/_get_compression_signatures_for_token_owner_post_request.rs index 7877207eef..5cbd960f8d 100644 --- a/photon-api/src/models/_get_compression_signatures_for_token_owner_post_request.rs +++ b/photon-api/src/models/_get_compression_signatures_for_token_owner_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_indexer_health_post_200_response.rs b/photon-api/src/models/_get_indexer_health_post_200_response.rs index 702ea0cca7..c50194a626 100644 --- a/photon-api/src/models/_get_indexer_health_post_200_response.rs +++ b/photon-api/src/models/_get_indexer_health_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_indexer_health_post_request.rs b/photon-api/src/models/_get_indexer_health_post_request.rs index a802bc8800..f842b4c38b 100644 --- a/photon-api/src/models/_get_indexer_health_post_request.rs +++ b/photon-api/src/models/_get_indexer_health_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_indexer_slot_post_200_response.rs b/photon-api/src/models/_get_indexer_slot_post_200_response.rs index 667829c789..b578db98ba 100644 --- a/photon-api/src/models/_get_indexer_slot_post_200_response.rs +++ b/photon-api/src/models/_get_indexer_slot_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_indexer_slot_post_request.rs b/photon-api/src/models/_get_indexer_slot_post_request.rs index 757b560c11..28af9eb4d1 100644 --- a/photon-api/src/models/_get_indexer_slot_post_request.rs +++ b/photon-api/src/models/_get_indexer_slot_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_latest_compression_signatures_post_request.rs b/photon-api/src/models/_get_latest_compression_signatures_post_request.rs index 06880ecd55..06a95c2801 100644 --- a/photon-api/src/models/_get_latest_compression_signatures_post_request.rs +++ b/photon-api/src/models/_get_latest_compression_signatures_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_latest_compression_signatures_post_request_params.rs b/photon-api/src/models/_get_latest_compression_signatures_post_request_params.rs index fe977af687..f6b7fb5251 100644 --- a/photon-api/src/models/_get_latest_compression_signatures_post_request_params.rs +++ b/photon-api/src/models/_get_latest_compression_signatures_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_latest_non_voting_signatures_post_request.rs b/photon-api/src/models/_get_latest_non_voting_signatures_post_request.rs index f99ae02286..c94e91d470 100644 --- a/photon-api/src/models/_get_latest_non_voting_signatures_post_request.rs +++ b/photon-api/src/models/_get_latest_non_voting_signatures_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response.rs b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response.rs index aa83962e81..ae5f8e3d60 100644 --- a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response.rs +++ b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response_result.rs b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response_result.rs index e380e53ef2..b9df91e9ed 100644 --- a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response_result.rs +++ b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_request.rs b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_request.rs index 5ddeb06339..8ca0646184 100644 --- a/photon-api/src/models/_get_multiple_compressed_account_proofs_post_request.rs +++ b/photon-api/src/models/_get_multiple_compressed_account_proofs_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response.rs b/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response.rs index f05835c3b8..6a49ab5ffd 100644 --- a/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response.rs +++ b/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response_result.rs b/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response_result.rs index f7759787a5..be6e628ef6 100644 --- a/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response_result.rs +++ b/photon-api/src/models/_get_multiple_compressed_accounts_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_accounts_post_request.rs b/photon-api/src/models/_get_multiple_compressed_accounts_post_request.rs index d4a6fa6513..aa90e168e5 100644 --- a/photon-api/src/models/_get_multiple_compressed_accounts_post_request.rs +++ b/photon-api/src/models/_get_multiple_compressed_accounts_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_compressed_accounts_post_request_params.rs b/photon-api/src/models/_get_multiple_compressed_accounts_post_request_params.rs index fbf69a84a8..5ebd1d29f1 100644 --- a/photon-api/src/models/_get_multiple_compressed_accounts_post_request_params.rs +++ b/photon-api/src/models/_get_multiple_compressed_accounts_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response.rs b/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response.rs index d056cca8b8..2e340a2f91 100644 --- a/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response.rs +++ b/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response_result.rs b/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response_result.rs index c080fa2086..759b518539 100644 --- a/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response_result.rs +++ b/photon-api/src/models/_get_multiple_new_address_proofs_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_multiple_new_address_proofs_post_request.rs b/photon-api/src/models/_get_multiple_new_address_proofs_post_request.rs index 8f7e71bf6b..08f246956a 100644 --- a/photon-api/src/models/_get_multiple_new_address_proofs_post_request.rs +++ b/photon-api/src/models/_get_multiple_new_address_proofs_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response.rs b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response.rs index bee969d304..63c889c51b 100644 --- a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response.rs +++ b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result.rs b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result.rs index 3af4fee66f..7d049c5985 100644 --- a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result.rs +++ b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result_compression_info.rs b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result_compression_info.rs index 17c613c5ef..25e60e5709 100644 --- a/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result_compression_info.rs +++ b/photon-api/src/models/_get_transaction_with_compression_info_post_200_response_result_compression_info.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_transaction_with_compression_info_post_request.rs b/photon-api/src/models/_get_transaction_with_compression_info_post_request.rs index f884d2dac9..4e3dc545e8 100644 --- a/photon-api/src/models/_get_transaction_with_compression_info_post_request.rs +++ b/photon-api/src/models/_get_transaction_with_compression_info_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_transaction_with_compression_info_post_request_params.rs b/photon-api/src/models/_get_transaction_with_compression_info_post_request_params.rs index fd21581ad1..93db3995d4 100644 --- a/photon-api/src/models/_get_transaction_with_compression_info_post_request_params.rs +++ b/photon-api/src/models/_get_transaction_with_compression_info_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_validity_proof_post_200_response.rs b/photon-api/src/models/_get_validity_proof_post_200_response.rs index ddd5bb1814..d82b590dc3 100644 --- a/photon-api/src/models/_get_validity_proof_post_200_response.rs +++ b/photon-api/src/models/_get_validity_proof_post_200_response.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_validity_proof_post_200_response_result.rs b/photon-api/src/models/_get_validity_proof_post_200_response_result.rs index 9970b1f352..1c8e3d95b5 100644 --- a/photon-api/src/models/_get_validity_proof_post_200_response_result.rs +++ b/photon-api/src/models/_get_validity_proof_post_200_response_result.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_validity_proof_post_request.rs b/photon-api/src/models/_get_validity_proof_post_request.rs index 79bc70798d..b87c0339ac 100644 --- a/photon-api/src/models/_get_validity_proof_post_request.rs +++ b/photon-api/src/models/_get_validity_proof_post_request.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/_get_validity_proof_post_request_params.rs b/photon-api/src/models/_get_validity_proof_post_request_params.rs index dbd0879260..003b72207b 100644 --- a/photon-api/src/models/_get_validity_proof_post_request_params.rs +++ b/photon-api/src/models/_get_validity_proof_post_request_params.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/account.rs b/photon-api/src/models/account.rs index 28a1882a8a..0baddd7840 100644 --- a/photon-api/src/models/account.rs +++ b/photon-api/src/models/account.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ @@ -21,16 +21,16 @@ pub struct Account { #[serde(rename = "hash")] pub hash: String, #[serde(rename = "lamports")] - pub lamports: i32, + pub lamports: i64, #[serde(rename = "leafIndex")] - pub leaf_index: i32, + pub leaf_index: i64, /// A Solana public key represented as a base58 string. #[serde(rename = "owner")] pub owner: String, #[serde(rename = "seq")] - pub seq: i32, + pub seq: i64, #[serde(rename = "slotCreated")] - pub slot_created: i32, + pub slot_created: i64, /// A Solana public key represented as a base58 string. #[serde(rename = "tree")] pub tree: String, @@ -39,11 +39,11 @@ pub struct Account { impl Account { pub fn new( hash: String, - lamports: i32, - leaf_index: i32, + lamports: i64, + leaf_index: i64, owner: String, - seq: i32, - slot_created: i32, + seq: i64, + slot_created: i64, tree: String, ) -> Account { Account { diff --git a/photon-api/src/models/account_data.rs b/photon-api/src/models/account_data.rs index 2c47978e08..ab3147477e 100644 --- a/photon-api/src/models/account_data.rs +++ b/photon-api/src/models/account_data.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ @@ -19,11 +19,11 @@ pub struct AccountData { #[serde(rename = "dataHash")] pub data_hash: String, #[serde(rename = "discriminator")] - pub discriminator: i64, + pub discriminator: i32, } impl AccountData { - pub fn new(data: String, data_hash: String, discriminator: i64) -> AccountData { + pub fn new(data: String, data_hash: String, discriminator: i32) -> AccountData { AccountData { data, data_hash, diff --git a/photon-api/src/models/account_list.rs b/photon-api/src/models/account_list.rs index 613a17aa4d..ce0e702261 100644 --- a/photon-api/src/models/account_list.rs +++ b/photon-api/src/models/account_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/account_state.rs b/photon-api/src/models/account_state.rs index 3ec0d75763..7f1681b48e 100644 --- a/photon-api/src/models/account_state.rs +++ b/photon-api/src/models/account_state.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/account_with_optional_token_data.rs b/photon-api/src/models/account_with_optional_token_data.rs index b325680d4e..5c538b1e83 100644 --- a/photon-api/src/models/account_with_optional_token_data.rs +++ b/photon-api/src/models/account_with_optional_token_data.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/compressed_proof.rs b/photon-api/src/models/compressed_proof.rs index 206e066643..757524afdf 100644 --- a/photon-api/src/models/compressed_proof.rs +++ b/photon-api/src/models/compressed_proof.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/compressed_proof_with_context.rs b/photon-api/src/models/compressed_proof_with_context.rs index bfe45cd734..beef78e97a 100644 --- a/photon-api/src/models/compressed_proof_with_context.rs +++ b/photon-api/src/models/compressed_proof_with_context.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/context.rs b/photon-api/src/models/context.rs index e487a9804f..906e145d2f 100644 --- a/photon-api/src/models/context.rs +++ b/photon-api/src/models/context.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/merkle_context_with_new_address_proof.rs b/photon-api/src/models/merkle_context_with_new_address_proof.rs index f2ea507c12..eeef65649f 100644 --- a/photon-api/src/models/merkle_context_with_new_address_proof.rs +++ b/photon-api/src/models/merkle_context_with_new_address_proof.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/merkle_proof_with_context.rs b/photon-api/src/models/merkle_proof_with_context.rs index cc2a1a8521..24f342c5e4 100644 --- a/photon-api/src/models/merkle_proof_with_context.rs +++ b/photon-api/src/models/merkle_proof_with_context.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ @@ -26,7 +26,7 @@ pub struct MerkleProofWithContext { #[serde(rename = "root")] pub root: String, #[serde(rename = "rootSeq")] - pub root_seq: i64, + pub root_seq: u64, } impl MerkleProofWithContext { @@ -36,7 +36,7 @@ impl MerkleProofWithContext { merkle_tree: String, proof: Vec, root: String, - root_seq: i64, + root_seq: u64, ) -> MerkleProofWithContext { MerkleProofWithContext { hash, diff --git a/photon-api/src/models/paginated_account_list.rs b/photon-api/src/models/paginated_account_list.rs index 4808d2b6aa..e2539fc3a8 100644 --- a/photon-api/src/models/paginated_account_list.rs +++ b/photon-api/src/models/paginated_account_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/paginated_signature_info_list.rs b/photon-api/src/models/paginated_signature_info_list.rs index 833491dad1..85d911d3cb 100644 --- a/photon-api/src/models/paginated_signature_info_list.rs +++ b/photon-api/src/models/paginated_signature_info_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/signature_info.rs b/photon-api/src/models/signature_info.rs index 7096f09279..912e5b98a2 100644 --- a/photon-api/src/models/signature_info.rs +++ b/photon-api/src/models/signature_info.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/signature_info_list.rs b/photon-api/src/models/signature_info_list.rs index e29c738b39..75444d4379 100644 --- a/photon-api/src/models/signature_info_list.rs +++ b/photon-api/src/models/signature_info_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_acccount.rs b/photon-api/src/models/token_acccount.rs index 92366f1bde..80d790c804 100644 --- a/photon-api/src/models/token_acccount.rs +++ b/photon-api/src/models/token_acccount.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_account_balance.rs b/photon-api/src/models/token_account_balance.rs index 6274242f33..c0766ab153 100644 --- a/photon-api/src/models/token_account_balance.rs +++ b/photon-api/src/models/token_account_balance.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_account_list.rs b/photon-api/src/models/token_account_list.rs index 95dae4a7e5..88a1d072ce 100644 --- a/photon-api/src/models/token_account_list.rs +++ b/photon-api/src/models/token_account_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_balance.rs b/photon-api/src/models/token_balance.rs index d08aad902e..6de43a20bd 100644 --- a/photon-api/src/models/token_balance.rs +++ b/photon-api/src/models/token_balance.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_balance_list.rs b/photon-api/src/models/token_balance_list.rs index 7327630e3c..619f612459 100644 --- a/photon-api/src/models/token_balance_list.rs +++ b/photon-api/src/models/token_balance_list.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ diff --git a/photon-api/src/models/token_data.rs b/photon-api/src/models/token_data.rs index 65f2ba5657..f2a2860bcf 100644 --- a/photon-api/src/models/token_data.rs +++ b/photon-api/src/models/token_data.rs @@ -3,7 +3,7 @@ * * Solana indexer for general compression * - * The version of the OpenAPI document: 0.25.0 + * The version of the OpenAPI document: 0.26.0 * * Generated by: https://openapi-generator.tech */ @@ -17,8 +17,6 @@ pub struct TokenData { /// A Solana public key represented as a base58 string. #[serde(rename = "delegate", skip_serializing_if = "Option::is_none")] pub delegate: Option, - #[serde(rename = "delegatedAmount")] - pub delegated_amount: i64, #[serde(rename = "isNative", skip_serializing_if = "Option::is_none")] pub is_native: Option, /// A Solana public key represented as a base58 string. @@ -32,17 +30,10 @@ pub struct TokenData { } impl TokenData { - pub fn new( - amount: i64, - delegated_amount: i64, - mint: String, - owner: String, - state: models::AccountState, - ) -> TokenData { + pub fn new(amount: i64, mint: String, owner: String, state: models::AccountState) -> TokenData { TokenData { amount, delegate: None, - delegated_amount, is_native: None, mint, owner, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d5a206909d..f3dcd6f88d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -506,10 +506,6 @@ importers: specifier: ^1.6.0 version: 1.6.0(@types/node@20.12.11)(@vitest/browser@1.6.0)(terser@5.31.0) - hasher.rs/src/main/wasm: {} - - hasher.rs/src/main/wasm-simd: {} - js/compressed-token: dependencies: '@coral-xyz/anchor': diff --git a/scripts/install.sh b/scripts/install.sh index 27ca153706..62b200c656 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -117,7 +117,7 @@ JQ_VERSION="jq-1.7.1" CIRCOM_VERSION=$(latest_release Lightprotocol circom) MACRO_CIRCOM_VERSION=$(latest_release Lightprotocol macro-circom) LIGHT_PROTOCOL_VERSION=$(latest_release Lightprotocol light-protocol) -PHOTON_VERSION="0.25.0" +PHOTON_VERSION="0.26.0" PHOTON_BRANCH="" case "${OS}" in diff --git a/test-utils/src/indexer/mod.rs b/test-utils/src/indexer/mod.rs index 63031c3434..ab30b9d8b8 100644 --- a/test-utils/src/indexer/mod.rs +++ b/test-utils/src/indexer/mod.rs @@ -57,7 +57,7 @@ pub struct MerkleProof { pub leaf_index: u32, pub merkle_tree: String, pub proof: Vec<[u8; 32]>, - pub root_seq: i64, + pub root_seq: u64, } #[derive(Clone, Default, Debug, PartialEq)] diff --git a/test-utils/src/indexer/test_indexer.rs b/test-utils/src/indexer/test_indexer.rs index 077de8fb4a..f85f6931ce 100644 --- a/test-utils/src/indexer/test_indexer.rs +++ b/test-utils/src/indexer/test_indexer.rs @@ -1,7 +1,6 @@ use super::NewAddressProofWithContext; use account_compression::AddressMerkleTreeConfig; use light_utils::bigint::bigint_to_be_bytes_array; -use log::info; use num_bigint::BigUint; use solana_sdk::bs58; use std::marker::PhantomData; @@ -11,7 +10,6 @@ use { crate::{ create_account_instruction, test_env::{create_state_merkle_tree_and_queue_account, EnvAccounts}, - AccountZeroCopy, }, account_compression::{ utils::constants::{STATE_MERKLE_TREE_CANOPY_DEPTH, STATE_MERKLE_TREE_HEIGHT}, @@ -166,7 +164,7 @@ impl leaf_index: leaf_index as u32, merkle_tree: tree.accounts.merkle_tree.to_string(), proof: proof.to_vec(), - root_seq: tree.merkle_tree.sequence_number as i64, + root_seq: tree.merkle_tree.sequence_number as u64, }); } }) @@ -256,10 +254,6 @@ impl .indexed_array .find_low_element_for_nonexistent(&address_biguint) .unwrap(); - let address_bundle = address_tree_bundle - .indexed_array - .new_element_with_low_element_index(old_low_address.index, &address_biguint) - .unwrap(); // Get the Merkle proof for updating low element. let low_address_proof = address_tree_bundle