Skip to content

Commit

Permalink
refactor: updated rpc types to accomdate both attestation and endorement
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Sep 19, 2023
1 parent 907a85f commit 2c9f89c
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 59 deletions.
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"Bjorsell",
"Boissonneault",
"camelcase",
"cooldown",
"crios",
"dailynet",
"delphinet",
Expand Down Expand Up @@ -53,7 +54,9 @@
"octez",
"oxfordnet",
"oxheadalpha",
"preattestation",
"precommit",
"preendorsement",
"println",
"Protofire",
"Proxford",
Expand Down
5 changes: 5 additions & 0 deletions packages/taquito-rpc/src/opkind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ export enum OpKind {
REVEAL = 'reveal',
TRANSACTION = 'transaction',
ACTIVATION = 'activate_account',
ATTESTATION = 'attestation',
ENDORSEMENT = 'endorsement',
PREATTESTATION = 'preattestation',
PREENDORSEMENT = 'preendorsement',
SET_DEPOSITS_LIMIT = 'set_deposits_limit',
DOUBLE_PREATTESTATION_EVIDENCE = 'double_preattestation_evidence',
DOUBLE_PREENDORSEMENT_EVIDENCE = 'double_preendorsement_evidence',
ATTESTATION_WITH_SLOT = 'attestation_with_slot',
ENDORSEMENT_WITH_SLOT = 'endorsement_with_slot',
SEED_NONCE_REVELATION = 'seed_nonce_revelation',
DOUBLE_ATTESTATION_EVIDENCE = 'double_attestation_evidence',
DOUBLE_ENDORSEMENT_EVIDENCE = 'double_endorsement_evidence',
DOUBLE_BAKING_EVIDENCE = 'double_baking_evidence',
PROPOSALS = 'proposals',
Expand Down
Loading

0 comments on commit 2c9f89c

Please sign in to comment.