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

Missing new baker types (Paris protocol) in FrozenStaker #2979

Closed
psmolinsky opened this issue May 31, 2024 · 1 comment · Fixed by #2987 or #3000
Closed

Missing new baker types (Paris protocol) in FrozenStaker #2979

psmolinsky opened this issue May 31, 2024 · 1 comment · Fixed by #2987 or #3000
Assignees
Labels
bug Something isn't working
Milestone

Comments

@psmolinsky
Copy link

Description
Paris protocol introduces new alternatives for FrozenStaker that are missing.

RPC schema:

$frozen_staker:
  /* frozen_staker
     Abstract notion of staker used in operation receipts for frozen
     deposits, either a single staker or all the stakers delegating to some
     delegate. */
  { /* Single */
    "contract": $contract_id,
    "delegate": $Signature.Public_key_hash }
  || { /* Shared */
       "delegate": $Signature.Public_key_hash }
  || { /* Baker */
       "baker_own_stake": $Signature.Public_key_hash }
  || { /* Baker_edge */
       "baker_edge": $Signature.Public_key_hash }

Taquito FrozenStaker:

export type FrozenStaker = SingleStaker | SharedStaker | Baker;
@psmolinsky psmolinsky added the bug Something isn't working label May 31, 2024
@dsawali dsawali added this to the 20.1 milestone Jun 4, 2024
@hui-an-yang hui-an-yang self-assigned this Jun 11, 2024
hui-an-yang added a commit that referenced this issue Jun 11, 2024
@hui-an-yang hui-an-yang mentioned this issue Jun 11, 2024
9 tasks
@psmolinsky
Copy link
Author

Hi, I just checked new Taquito 20.0.1 and this part from RPC (an option for $frozen_staker) seems to be still missing:

{ /* Baker */
  "baker_own_stake": $Signature.Public_key_hash }

@ac10n ac10n moved this to Done in Taquito Dev Jun 21, 2024
@hui-an-yang hui-an-yang linked a pull request Jul 16, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants