Skip to content

Commit

Permalink
fixtures for Pubkey
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdv2429 committed Jun 26, 2023
1 parent 0ac8212 commit 9f9ee9b
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion __fixtures__/output1/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4148,7 +4148,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: Long.ZERO
};
}
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/tendermint/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO,
proposerPriority: Long.ZERO
};
Expand Down Expand Up @@ -212,7 +212,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/output2/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3258,7 +3258,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: Long.ZERO
};
}
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output2/tendermint/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO,
proposerPriority: Long.ZERO
};
Expand Down Expand Up @@ -165,7 +165,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/v-next/outputosmojs/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4436,7 +4436,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: BigInt(0)
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: BigInt(0),
proposerPriority: BigInt(0)
};
Expand Down Expand Up @@ -227,7 +227,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: BigInt(0)
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/v-next/outputv2/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6065,7 +6065,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: Long.ZERO
};
}
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/v-next/outputv2/tendermint/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO,
proposerPriority: Long.ZERO
};
Expand Down Expand Up @@ -317,7 +317,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/v-next/outputv3/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6065,7 +6065,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: Long.ZERO
};
}
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/v-next/outputv3/tendermint/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO,
proposerPriority: Long.ZERO
};
Expand Down Expand Up @@ -317,7 +317,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: Long.ZERO
};
}
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/v-next/outputv4/tendermint/abci/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4436,7 +4436,7 @@ export const Validator = {
};
function createBaseValidatorUpdate(): ValidatorUpdate {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
power: BigInt(0)
};
}
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/v-next/outputv4/tendermint/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const ValidatorSet = {
function createBaseValidator(): Validator {
return {
address: new Uint8Array(),
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: BigInt(0),
proposerPriority: BigInt(0)
};
Expand Down Expand Up @@ -227,7 +227,7 @@ export const Validator = {
};
function createBaseSimpleValidator(): SimpleValidator {
return {
pubKey: undefined,
pubKey: PublicKey.fromPartial({}),
votingPower: BigInt(0)
};
}
Expand Down

0 comments on commit 9f9ee9b

Please sign in to comment.