-
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
implement UTxO by Address local state query #341
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adds support for the local state query protocol in the pallas network. the main changes include: * added support for `clientqueryrequest::query` in server * added `send_query` and `recv_while_querying` in client * added support for `getstakedistribution` query * added test case for the local state query protocol
falcucci
force-pushed
the
feat/utxo-by-address
branch
from
November 27, 2023 12:22
d5cd2f1
to
3818abb
Compare
falcucci
force-pushed
the
feat/utxo-by-address
branch
from
November 27, 2023 12:24
3818abb
to
76cbc99
Compare
scarmuega
reviewed
Nov 28, 2023
scarmuega
reviewed
Nov 28, 2023
responses * adding a new parameter to the `get_utxo_by_address` query to allow for multiple addresses to be passed in. * adding a new tag to support address encoding using [minicbor](https://github.com/agilulf/minicbor). * moving the `address` type from `pallas-addresses` to `pallas`. * updating imports and usages of `miniprotocols` to use the `pallas` namespace.
scarmuega
reviewed
Dec 3, 2023
scarmuega
reviewed
Dec 3, 2023
the changes made to `codec.rs` include: - replacing `metadatum` with `value` in the `decode` and `encode` implementations for `request` - replacing `metadatum` with `value` in the `decode` and `encode` implementations for `metadatum` - replacing `metadatum` with `value` in the definition of `multiasset` in the `mod.rs` file
updates the codec and mod modules in the `pallas-network` project to fix a bug. it removes the `int` type from the `pallas_codec::utils` module in the `mod.rs` file, and removes the `tag` type from the `pallas_codec::minicbor` module in the `codec.rs` file.
the changes include: - updating `use pallas_codec::utils` to include `bytes`, `tagwrap`, and `anycbor` - adding a `hex_datum` string with a corresponding `datum` byte array and a `tag` - adding an `inline_datum` field to the `localstate::queries_v16::values` values - adding the `inline_datum` to the `keyvaluepairs` array for the `utxo` query - updating the `keyvaluepairs` array for the `utxo` query response - updating the `keyvaluepairs` array for the `contract` query - updating the `keyvaluepairs` array for the `contract` query response
scarmuega
approved these changes
Dec 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #317