-
Couldn't load subscription status.
- Fork 63
LW-11470 Blockfrost based backend #1516
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
Conversation
|
eee0cc2 to
33de31b
Compare
|
@iccicci Does this include my whole PR? |
...no-services/src/ChainHistory/BlockrostChainHistoryProvider/BlockfrostChainHistoryProvider.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work @iccicci
Some deserialization functions add some keys with undefined value. The DbSyncChainHistoryProvider has a slightly different behavior not adding those keys. In order to unify the output of BlockfrostChainHistoryProvider (which deserializes transactions CBOR) with the one from DbSyncChainHistoryProvider these keys are no longer added from deserialization as well.
…r to reduce the nr of calls
Context
In order to facilitate the Blockfrost migration we need new Blockfrost providers based
provider-server.Proposed Solution
Added the
blockfrost-provider-serverwhich loads Blockfrost providers rather than DbSync providers..Important Changes Introduced
Slightly changed same deserialization function to not add some
undefinedkeys to make transaction deserialization compliant withChainHistoryProvider.transactionsByAddressesoutput.