Skip to content
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

Blockfrost Block by number/hash api Response Format Mismatch #405

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

satran004
Copy link
Member

Enhanced the BlockDto by adding next block hash and confirmation count. Adjusted the BlockController to populate these new fields. Included new API tests to verify the additional fields in the response.
Copy link

sonarcloud bot commented Nov 26, 2024

@satran004 satran004 merged commit d734886 into develop_0.1.x Nov 26, 2024
1 check passed
@satran004 satran004 deleted the fix_402 branch November 26, 2024 09:23
satran004 added a commit that referenced this pull request Nov 28, 2024
…int refactoring (#408)

* fix: #399 Add serializer to convert amount from BigIn to String (#404)

* Blockfrost Block by number/hash api Response Format Mismatch (#405)

* fix: #402 Add next block info and confirmations to BlockDto

Enhanced the BlockDto by adding next block hash and confirmation count. Adjusted the BlockController to populate these new fields. Included new API tests to verify the additional fields in the response.

* Bump yaci version

* fix: #399 Refactor 'amount' handling and add API test for UTxOs (#406)

Refactor the 'amount' field to use the new 'Amount' class instead of 'Amt' across the transaction domain and service layers. Added a new API test to verify the UTXOs retrieval by transaction hash.

* feat: #400 Add asset transaction support and enhance indexing scripts (db specific), refactor existing asset apis

Implemented `findTransactionsByAsset` in  `UtxoStorageReaderImpl`. Added H2 and PostgreSQL specific indexing script executions in `DBIndexService`. Introduced `AssetTransaction` domain class with necessary test cases and API updates, including deprecation warnings for old endpoints.
satran004 added a commit that referenced this pull request Nov 28, 2024
…int refactoring (#408)

* fix: #399 Add serializer to convert amount from BigIn to String (#404)

* Blockfrost Block by number/hash api Response Format Mismatch (#405)

* fix: #402 Add next block info and confirmations to BlockDto

Enhanced the BlockDto by adding next block hash and confirmation count. Adjusted the BlockController to populate these new fields. Included new API tests to verify the additional fields in the response.

* Bump yaci version

* fix: #399 Refactor 'amount' handling and add API test for UTxOs (#406)

Refactor the 'amount' field to use the new 'Amount' class instead of 'Amt' across the transaction domain and service layers. Added a new API test to verify the UTXOs retrieval by transaction hash.

* feat: #400 Add asset transaction support and enhance indexing scripts (db specific), refactor existing asset apis

Implemented `findTransactionsByAsset` in  `UtxoStorageReaderImpl`. Added H2 and PostgreSQL specific indexing script executions in `DBIndexService`. Introduced `AssetTransaction` domain class with necessary test cases and API updates, including deprecation warnings for old endpoints.
satran004 added a commit that referenced this pull request Nov 29, 2024
* chore: Initial graalvm impl

* chore: Initial graalvm impl

* chore: Graalvm changes for utxo-indexer

* chore: Remove NonNull

* chore: gc setting

* chore: Added metadata

* Add more reflection classes

* chore: Remove handleCommitEvent method to Storage interface and add event listener in processor instead of storage impl.

This is required for native image.

* chore: Remove handleCommitEvent method to Storage interface and add event listener in processor instead of storage impl.

This is required for native image.

* chore: Use Yaci Store JsonUtil

* chore: Native image related change

* chore: Reachable metadata changes, gradle change for Spring boot 3.3.0

* Native image related changes

* Remove unused imports and services

Refactored `EpochStoreConfiguration` by eliminating unused imports and services to improve code clarity and maintainability. Renamed `handleCommitEvent` to `handleCommit` in `RocksDBUtxoStorageTest` for method name consistency.

* Delete application.properties

* Add dynamic libc config

* chore: change for native image build

* graalvm build change

* graalvm build change

* graalvm build change

* graalvm build change

* graalvm build change

* graalvm build change

* Fix whitespace issues in workflow and gradle properties

* Enhance Gradle build command with version parameter

* Enhance Gradle build command with version parameter

* Update OS matrix in dev_release_cli workflow

* Add macOS 13 to GitHub Actions CI matrix

* Enhance Gradle build command with version parameter

* Update version and add native release workflow

* Rename workflow for more accurate description

* Graalvm static build with musl + windows build (#401)

* Enable MUSL support in GraalVM build

* Update native-image properties for static Musl build

* Update CI workflow and native-image properties

* Add x86-64 architecture flag to native image properties

* Add x86-64 architecture flag to native image properties

* Update version extraction for platform compatibility

* Fix profile suffix setting for Windows runners

* Disable dynamic version retrieval for Windows in CI

* Disable dynamic version retrieval for Windows in CI

* Disable dynamic version retrieval for Windows in CI

* Disable dynamic version retrieval for Windows in CI

* Remove duplicate Gradle version parameter

* Remove duplicate Gradle version parameter

* Add native-image properties for Windows CI

Updated the GitHub Actions workflow to copy Windows-specific native-image properties. Modified existing native-image properties to include additional flags and created a new properties file for Windows with specific initialization options. These changes ensure compatibility and proper initialization for different environments.

* Update workflow to focus on Windows platform

* Refactor version extraction for consistency

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Refactor profile suffix setting in workflow

* Update GraalVM version in CI workflow

* Refactor CI workflow to separate musl builds.

* Add new build jobs and update version

* Update native-image properties for static linking

* Downgrade GraalVM version and update native image args

* Downgrade GraalVM version and update native image args

* Update gradle.properties version to 0.1.1-graalvm-preview2

* fix: #399 Add serializer to convert amount from BigIn to String (#404)

* Blockfrost Block by number/hash api Response Format Mismatch (#405)

* fix: #402 Add next block info and confirmations to BlockDto

Enhanced the BlockDto by adding next block hash and confirmation count. Adjusted the BlockController to populate these new fields. Included new API tests to verify the additional fields in the response.

* Bump yaci version

* fix: #399 Refactor 'amount' handling and add API test for UTxOs (#406)

Refactor the 'amount' field to use the new 'Amount' class instead of 'Amt' across the transaction domain and service layers. Added a new API test to verify the UTXOs retrieval by transaction hash.

* Asset Transactions endpoint + DB type specific indexing + asset endpoint refactoring (#408)

* fix: #399 Add serializer to convert amount from BigIn to String (#404)

* Blockfrost Block by number/hash api Response Format Mismatch (#405)

* fix: #402 Add next block info and confirmations to BlockDto

Enhanced the BlockDto by adding next block hash and confirmation count. Adjusted the BlockController to populate these new fields. Included new API tests to verify the additional fields in the response.

* Bump yaci version

* fix: #399 Refactor 'amount' handling and add API test for UTxOs (#406)

Refactor the 'amount' field to use the new 'Amount' class instead of 'Amt' across the transaction domain and service layers. Added a new API test to verify the UTXOs retrieval by transaction hash.

* feat: #400 Add asset transaction support and enhance indexing scripts (db specific), refactor existing asset apis

Implemented `findTransactionsByAsset` in  `UtxoStorageReaderImpl`. Added H2 and PostgreSQL specific indexing script executions in `DBIndexService`. Introduced `AssetTransaction` domain class with necessary test cases and API updates, including deprecation warnings for old endpoints.

* Enable dynamic property for index management.

Replaced the @ConditionalOnProperty annotation with a @value annotation to manage the automatic index management feature dynamically through configuration.

* Fixed paths

* Remove LocalClientProviderManagerCondition class and related code.

* Fixed sql issues

* Fix incorrect entity reference in max epoch query

* Add staking POJOs to reflect-config for native image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants