Skip to content

Commit

Permalink
fix: removed consumed_gas from update_consensus_key return result for…
Browse files Browse the repository at this point in the history
… mumbainet

re #2273
  • Loading branch information
hui-an-yang committed Jan 19, 2023
1 parent 2e182a3 commit f66c6e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/taquito-rpc/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,6 @@ export interface OperationResultIncreasePaidStorage {

export interface OperationResultUpdateConsensusKey {
status: OperationResultStatusEnum;
consumed_gas?: string;
consumed_milligas?: string;
errors?: TezosGenericOperationError[];
}
Expand Down
1 change: 0 additions & 1 deletion packages/taquito-rpc/test/taquito-rpc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3527,7 +3527,6 @@ describe('RpcClient test', () => {
expect(content.metadata.balance_updates![1].origin).toEqual('block');

expect(content.metadata.operation_result.status).toEqual('applied');
expect(content.metadata.operation_result.consumed_gas).toEqual('1000');
expect(content.metadata.operation_result.consumed_milligas).toEqual('1000000');
done();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe('Update Consensus Key operation', () => {
],
operation_result: {
status: 'applied',
consumed_gas: '1000',
consumed_milligas: '1000000',
},
},
Expand Down

0 comments on commit f66c6e3

Please sign in to comment.