-
Notifications
You must be signed in to change notification settings - Fork 58
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
LW-11470 Blockfrost based backend #1516
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-server
which loads Blockfrost providers rather than DbSync providers..Important Changes Introduced
Slightly changed same deserialization function to not add some
undefined
keys to make transaction deserialization compliant withChainHistoryProvider.transactionsByAddresses
output.