Use full PubKey in validator.pubkey
This commit is contained in:
parent
7578e00118
commit
78b80555eb
@ -1,4 +1,3 @@
|
||||
import { pubkeyType } from "@cosmjs/launchpad";
|
||||
import { assert } from "@cosmjs/utils";
|
||||
|
||||
import { StargateClient } from "./stargateclient";
|
||||
@ -39,10 +38,7 @@ describe("StargateClient", () => {
|
||||
assert(account);
|
||||
expect(account).toEqual({
|
||||
address: validator.address,
|
||||
pubkey: {
|
||||
type: pubkeyType.secp256k1,
|
||||
value: validator.pubkey,
|
||||
},
|
||||
pubkey: validator.pubkey,
|
||||
accountNumber: validator.accountNumber,
|
||||
sequence: validator.sequence,
|
||||
});
|
||||
|
||||
@ -26,7 +26,10 @@ export const unused = {
|
||||
|
||||
export const validator = {
|
||||
/** From first gentx's auth_info.signer_infos in scripts/simapp/template/.simapp/config/genesis.json */
|
||||
pubkey: "AnFadRAdh6Fl7robHe8jywDMKSWQQjB7SlpoqGsX9Ghw",
|
||||
pubkey: {
|
||||
type: "tendermint/PubKeySecp256k1",
|
||||
value: "AnFadRAdh6Fl7robHe8jywDMKSWQQjB7SlpoqGsX9Ghw",
|
||||
},
|
||||
/** delegator_address from /cosmos.staking.MsgCreateValidator in scripts/simapp/template/.simapp/config/genesis.json */
|
||||
address: "cosmos12gm9sa666hywxu9nzzmp7hyl7a55hvg769w2kz",
|
||||
accountNumber: 0,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user