Skip to content

Commit

Permalink
fix: removed update_consensus_key & drain_delegate from encodersProto…
Browse files Browse the repository at this point in the history
…14 and decoderProto14

re #2065
  • Loading branch information
hui-an-yang committed Nov 25, 2022
1 parent bff6e29 commit 460d81f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ import {
DelegationSchema,
EndorsementSchema,
IncreasePaidStorageSchema,
UpdateConsensusKeySchema,
DrainDelegateSchema,
ManagerOperationSchema,
operationDecoder,
OriginationSchema,
Expand Down Expand Up @@ -104,8 +102,4 @@ decodersProto14[CODEC.OP_TX_ROLLUP_SUBMIT_BATCH] = (val: Uint8ArrayConsumer) =>
schemaDecoder(decodersProto14)(TxRollupSubmitBatchSchema)(val);
decodersProto14[CODEC.OP_INCREASE_PAID_STORAGE] = (val: Uint8ArrayConsumer) =>
schemaDecoder(decodersProto14)(IncreasePaidStorageSchema)(val);
decodersProto14[CODEC.OP_UPDATE_CONSENSUS_KEY] = (val: Uint8ArrayConsumer) =>
schemaDecoder(decodersProto14)(UpdateConsensusKeySchema)(val);
decodersProto14[CODEC.OP_DRAIN_DELEGATE] = (val: Uint8ArrayConsumer) =>
schemaDecoder(decodersProto14)(DrainDelegateSchema)(val);
decodersProto14[CODEC.MANAGER] = schemaDecoder(decodersProto14)(ManagerOperationSchema);
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import {
DelegationSchema,
EndorsementSchema,
IncreasePaidStorageSchema,
UpdateConsensusKeySchema,
DrainDelegateSchema,
ManagerOperationSchema,
operationEncoder,
OriginationSchema,
Expand Down Expand Up @@ -103,8 +101,4 @@ encodersProto14[CODEC.OP_TX_ROLLUP_SUBMIT_BATCH] = (val: any) =>
schemaEncoder(encodersProto14)(TxRollupSubmitBatchSchema)(val);
encodersProto14[CODEC.OP_INCREASE_PAID_STORAGE] = (val: any) =>
schemaEncoder(encodersProto14)(IncreasePaidStorageSchema)(val);
encodersProto14[CODEC.OP_UPDATE_CONSENSUS_KEY] = (val: any) =>
schemaEncoder(encodersProto14)(UpdateConsensusKeySchema)(val);
encodersProto14[CODEC.OP_DRAIN_DELEGATE] = (val: any) =>
schemaEncoder(encodersProto14)(DrainDelegateSchema)(val);
encodersProto14[CODEC.MANAGER] = schemaEncoder(encodersProto14)(ManagerOperationSchema);

0 comments on commit 460d81f

Please sign in to comment.