From 460d81f0e6df15714f61c6251d27d472cf8a45e5 Mon Sep 17 00:00:00 2001 From: huianyang Date: Fri, 25 Nov 2022 14:05:14 -0800 Subject: [PATCH] fix: removed update_consensus_key & drain_delegate from encodersProto14 and decoderProto14 re #2065 --- .../src/proto14-kathmandu/decoder-proto14.ts | 6 ------ .../src/proto14-kathmandu/encoder-proto14.ts | 6 ------ 2 files changed, 12 deletions(-) diff --git a/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.ts b/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.ts index 79c5969358..1daf16a915 100644 --- a/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.ts +++ b/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.ts @@ -28,8 +28,6 @@ import { DelegationSchema, EndorsementSchema, IncreasePaidStorageSchema, - UpdateConsensusKeySchema, - DrainDelegateSchema, ManagerOperationSchema, operationDecoder, OriginationSchema, @@ -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); diff --git a/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.ts b/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.ts index 114b4bdb61..289666acfe 100644 --- a/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.ts +++ b/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.ts @@ -31,8 +31,6 @@ import { DelegationSchema, EndorsementSchema, IncreasePaidStorageSchema, - UpdateConsensusKeySchema, - DrainDelegateSchema, ManagerOperationSchema, operationEncoder, OriginationSchema, @@ -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);