From 9426b8b24a2274c78de56bd8b4c964c8c2d04c7a Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 18:00:25 +0900 Subject: [PATCH 1/8] feat: enable wasm, wasmplus store amino with access type --- .../src/modules/wasm/aminomessages.spec.ts | 108 ++++++++++++++ .../src/modules/wasm/aminomessages.ts | 105 +++++++++++++ .../modules/wasmplus/aminomessages.spec.ts | 141 ++++++++++++++++++ .../src/modules/wasmplus/aminomessages.ts | 44 ++++-- .../src/signingfinschiaclient.spec.ts | 68 +++++++++ .../finschia/src/signingfinschiaclient.ts | 25 ++-- packages/finschia/src/testutils.spec.ts | 2 +- packages/finschia/src/types.ts | 2 +- 8 files changed, 467 insertions(+), 28 deletions(-) create mode 100644 packages/finschia/src/modules/wasm/aminomessages.spec.ts create mode 100644 packages/finschia/src/modules/wasm/aminomessages.ts create mode 100644 packages/finschia/src/modules/wasmplus/aminomessages.spec.ts diff --git a/packages/finschia/src/modules/wasm/aminomessages.spec.ts b/packages/finschia/src/modules/wasm/aminomessages.spec.ts new file mode 100644 index 00000000..dbac014d --- /dev/null +++ b/packages/finschia/src/modules/wasm/aminomessages.spec.ts @@ -0,0 +1,108 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +import { fromBase64 } from "@cosmjs/encoding"; +import { AminoTypes } from "@cosmjs/stargate"; +import { MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; + +import { AminoMsgStoreCode, createWasmAminoConverters } from "./aminomessages"; + +describe("AminoTypes", () => { + describe("toAmino", () => { + it("works for MsgStoreCode", () => { + const msg: MsgStoreCode = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: undefined, + }; + const aminoMsg = new AminoTypes(createWasmAminoConverters()).toAmino({ + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: msg, + }); + const expected: AminoMsgStoreCode = { + type: "wasm/MsgStoreCode", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: undefined, + }, + }; + expect(aminoMsg).toEqual(expected); + }); + + it("works for MsgStoreCode with access type", () => { + const msg: MsgStoreCode = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: { + permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + }; + const aminoMsg = new AminoTypes(createWasmAminoConverters()).toAmino({ + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: msg, + }); + const expected: AminoMsgStoreCode = { + type: "wasm/MsgStoreCode", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: { + permission: "OnlyAddress", + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + }, + }; + expect(aminoMsg).toEqual(expected); + }); + }); + + describe("fromAmino", () => { + it("works for MsgStoreCode", () => { + const aminoMsg: AminoMsgStoreCode = { + type: "wasm/MsgStoreCode", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + }, + }; + const msg = new AminoTypes(createWasmAminoConverters()).fromAmino(aminoMsg); + const expectedValue: MsgStoreCode = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: undefined, + }; + expect(msg).toEqual({ + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: expectedValue, + }); + }); + + it("works for MsgStoreCode with access type", () => { + const aminoMsg: AminoMsgStoreCode = { + type: "wasm/MsgStoreCode", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: { + permission: "OnlyAddress", + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + }, + }; + const msg = new AminoTypes(createWasmAminoConverters()).fromAmino(aminoMsg); + const expectedValue: MsgStoreCode = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: { + permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + }; + expect(msg).toEqual({ + typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", + value: expectedValue, + }); + }); + }); +}); diff --git a/packages/finschia/src/modules/wasm/aminomessages.ts b/packages/finschia/src/modules/wasm/aminomessages.ts new file mode 100644 index 00000000..6fa9b3b0 --- /dev/null +++ b/packages/finschia/src/modules/wasm/aminomessages.ts @@ -0,0 +1,105 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +import { createWasmAminoConverters as createAminoConverters } from "@cosmjs/cosmwasm-stargate"; +import { fromBase64, toBase64 } from "@cosmjs/encoding"; +import { AminoConverters } from "@cosmjs/stargate"; +import { MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; + +export function accessTypeFromString(str: string): AccessType { + switch (str) { + case "Unspecified": + return AccessType.ACCESS_TYPE_UNSPECIFIED; + case "Nobody": + return AccessType.ACCESS_TYPE_NOBODY; + case "OnlyAddress": + return AccessType.ACCESS_TYPE_ONLY_ADDRESS; + case "Everybody": + return AccessType.ACCESS_TYPE_EVERYBODY; + default: + return AccessType.UNRECOGNIZED; + } +} + +export function accessTypeToString(object: any): string { + switch (object) { + case AccessType.ACCESS_TYPE_UNSPECIFIED: + return "Unspecified"; + case AccessType.ACCESS_TYPE_NOBODY: + return "Nobody"; + case AccessType.ACCESS_TYPE_ONLY_ADDRESS: + return "OnlyAddress"; + case AccessType.ACCESS_TYPE_EVERYBODY: + return "Everybody"; + case AccessType.UNRECOGNIZED: + default: + return "UNRECOGNIZED"; + } +} + +/** + * @see https://github.com/CosmWasm/wasmd/blob/v0.18.0-rc1/proto/cosmwasm/wasm/v1/types.proto#L36-L41 + */ +export interface AccessConfig { + /** + * Permission should be one kind of string 'Nobody', 'OnlyAddress', 'Everybody', 'Unspecified' + * @see https://github.com/CosmWasm/wasmd/blob/v0.28.0/x/wasm/types/params.go#L54 + */ + readonly permission: string; + readonly address?: string; +} + +/** + * The Amino JSON representation of [MsgStoreCode]. + * + * [MsgStoreCode]: https://github.com/CosmWasm/wasmd/blob/v0.18.0-rc1/proto/cosmwasm/wasm/v1/tx.proto#L28-L39 + */ +export interface AminoMsgStoreCode { + type: "wasm/MsgStoreCode"; + value: { + /** Bech32 account address */ + readonly sender: string; + /** Base64 encoded Wasm */ + readonly wasm_byte_code: string; + readonly instantiate_permission?: AccessConfig; + }; +} + +export function createWasmAminoConverters(): AminoConverters { + return { + ...createAminoConverters(), + "/cosmwasm.wasm.v1.MsgStoreCode": { + aminoType: "wasm/MsgStoreCode", + toAmino: ({ + sender, + wasmByteCode, + instantiatePermission, + }: MsgStoreCode): AminoMsgStoreCode["value"] => ({ + sender: sender, + wasm_byte_code: toBase64(wasmByteCode), + instantiate_permission: instantiatePermission + ? { + permission: accessTypeToString(instantiatePermission.permission), + address: instantiatePermission.address || undefined, + } + : undefined, + }), + fromAmino: ({ + sender, + wasm_byte_code, + instantiate_permission, + }: AminoMsgStoreCode["value"]): MsgStoreCode => ({ + sender: sender, + wasmByteCode: fromBase64(wasm_byte_code), + instantiatePermission: instantiate_permission + ? { + permission: accessTypeFromString(instantiate_permission.permission), + address: instantiate_permission.address ?? "", + } + : undefined, + }), + }, + }; +} + +/** @deprecated use `createWasmAminoConverters()` */ +export const cosmWasmTypes: AminoConverters = createWasmAminoConverters(); diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts new file mode 100644 index 00000000..84923398 --- /dev/null +++ b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts @@ -0,0 +1,141 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +import { fromBase64, toUtf8 } from "@cosmjs/encoding"; +import { AminoTypes, coins } from "@cosmjs/stargate"; +import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; +import { MsgStoreCodeAndInstantiateContract } from "lbmjs-types/lbm/wasm/v1/tx"; + +import { AminoMsgStoreCodeAndInstantiateContract, createWasmplusAminoConverters } from "./aminomessages"; + +describe("AminoTypes", () => { + describe("toAmino", () => { + it("works for MsgStoreCodeAndInstantiate", () => { + const msg: MsgStoreCodeAndInstantiateContract = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: undefined, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: toUtf8(`{"foo":"bar"}`), + funds: coins(1234, "cony"), + }; + const aminoMsg = new AminoTypes(createWasmplusAminoConverters()).toAmino({ + typeUrl: "/lbm.wasm.v1.MsgStoreCodeAndInstantiateContract", + value: msg, + }); + const expected: AminoMsgStoreCodeAndInstantiateContract = { + type: "wasm/MsgStoreCodeAndInstantiateContract", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: undefined, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: { foo: "bar" }, + funds: coins(1234, "cony"), + }, + }; + expect(aminoMsg).toEqual(expected); + }); + + it("works for MsgStoreCodeAndInstantiate with access type", () => { + const msg: MsgStoreCodeAndInstantiateContract = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: { + permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: toUtf8(`{"foo":"bar"}`), + funds: coins(1234, "cony"), + }; + const aminoMsg = new AminoTypes(createWasmplusAminoConverters()).toAmino({ + typeUrl: "/lbm.wasm.v1.MsgStoreCodeAndInstantiateContract", + value: msg, + }); + const expected: AminoMsgStoreCodeAndInstantiateContract = { + type: "wasm/MsgStoreCodeAndInstantiateContract", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: { + permission: "OnlyAddress", + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: { foo: "bar" }, + funds: coins(1234, "cony"), + }, + }; + expect(aminoMsg).toEqual(expected); + }); + }); + + describe("fromAmino", () => { + it("works for MsgStoreCodeAndInstantiateContract", () => { + const aminoMsg: AminoMsgStoreCodeAndInstantiateContract = { + type: "wasm/MsgStoreCodeAndInstantiateContract", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: undefined, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: { foo: "bar" }, + funds: coins(1234, "cony"), + }, + }; + const msg = new AminoTypes(createWasmplusAminoConverters()).fromAmino(aminoMsg); + const expectedValue: MsgStoreCodeAndInstantiateContract = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: undefined, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: toUtf8(`{"foo":"bar"}`), + funds: coins(1234, "cony"), + }; + expect(msg).toEqual({ + typeUrl: "/lbm.wasm.v1.MsgStoreCodeAndInstantiateContract", + value: expectedValue, + }); + }); + + it("works for MsgStoreCodeAndInstantiateContract with access type", () => { + const aminoMsg: AminoMsgStoreCodeAndInstantiateContract = { + type: "wasm/MsgStoreCodeAndInstantiateContract", + value: { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasm_byte_code: "WUVMTE9XIFNVQk1BUklORQ==", + instantiate_permission: { + permission: "OnlyAddress", + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: { foo: "bar" }, + funds: coins(1234, "cony"), + }, + }; + const msg = new AminoTypes(createWasmplusAminoConverters()).fromAmino(aminoMsg); + const expectedValue: MsgStoreCodeAndInstantiateContract = { + sender: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), + instantiatePermission: { + permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, + address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + }, + admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + label: "sticky", + msg: toUtf8(`{"foo":"bar"}`), + funds: coins(1234, "cony"), + }; + expect(msg).toEqual({ + typeUrl: "/lbm.wasm.v1.MsgStoreCodeAndInstantiateContract", + value: expectedValue, + }); + }); + }); +}); diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.ts b/packages/finschia/src/modules/wasmplus/aminomessages.ts index 96f455f2..457aaccf 100644 --- a/packages/finschia/src/modules/wasmplus/aminomessages.ts +++ b/packages/finschia/src/modules/wasmplus/aminomessages.ts @@ -1,23 +1,25 @@ import { AminoMsg } from "@cosmjs/amino"; +import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@cosmjs/encoding"; import { AminoConverters } from "@cosmjs/stargate"; import { Coin } from "lbmjs-types/cosmos/base/v1beta1/coin"; -import { AccessConfig } from "lbmjs-types/cosmwasm/wasm/v1/types"; import { MsgStoreCodeAndInstantiateContract } from "lbmjs-types/lbm/wasm/v1/tx"; +import { AccessConfig, accessTypeFromString, accessTypeToString } from "../wasm/aminomessages"; + export interface AminoMsgStoreCodeAndInstantiateContract extends AminoMsg { readonly type: "wasm/MsgStoreCodeAndInstantiateContract"; readonly value: { /** Sender is the that actor that signed the messages */ readonly sender: string; /** WASMByteCode can be raw or gzip compressed */ - readonly wasmByteCode: Uint8Array; - readonly instantiatePermission?: AccessConfig; + readonly wasm_byte_code: string; + readonly instantiate_permission?: AccessConfig; /** Admin is an optional address that can execute migrations */ - readonly admin: string; + readonly admin?: string; /** Label is optional metadata to be stored with a contract instance. */ readonly label: string; /** Msg json encoded message to be passed to the contract on instantiation */ - readonly msg: Uint8Array; + readonly msg: any; /** Funds coins that are transferred to the contract on instantiation */ readonly funds: Coin[]; }; @@ -37,29 +39,39 @@ export function createWasmplusAminoConverters(): AminoConverters { funds, }: MsgStoreCodeAndInstantiateContract): AminoMsgStoreCodeAndInstantiateContract["value"] => ({ sender: sender, - wasmByteCode: wasmByteCode, - instantiatePermission: instantiatePermission, - admin: admin, + wasm_byte_code: toBase64(wasmByteCode), + instantiate_permission: instantiatePermission + ? { + permission: accessTypeToString(instantiatePermission.permission), + address: instantiatePermission.address || undefined, + } + : undefined, + admin: admin || undefined, label: label, - msg: msg, + msg: JSON.parse(fromUtf8(msg)), funds: funds, }), fromAmino: ({ sender, - wasmByteCode, - instantiatePermission, + wasm_byte_code, + instantiate_permission, admin, label, msg, funds, }: AminoMsgStoreCodeAndInstantiateContract["value"]): MsgStoreCodeAndInstantiateContract => ({ sender: sender, - wasmByteCode: wasmByteCode, - instantiatePermission: instantiatePermission, - admin: admin, + wasmByteCode: fromBase64(wasm_byte_code), + instantiatePermission: instantiate_permission + ? { + permission: accessTypeFromString(instantiate_permission.permission), + address: instantiate_permission.address ?? "", + } + : undefined, + admin: admin ?? "", label: label, - msg: msg, - funds: funds, + msg: toUtf8(JSON.stringify(msg)), + funds: [...funds], }), }, }; diff --git a/packages/finschia/src/signingfinschiaclient.spec.ts b/packages/finschia/src/signingfinschiaclient.spec.ts index a0ac279f..651af64b 100644 --- a/packages/finschia/src/signingfinschiaclient.spec.ts +++ b/packages/finschia/src/signingfinschiaclient.spec.ts @@ -22,6 +22,7 @@ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx"; import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { MsgExecuteContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; import Long from "long"; import pako from "pako"; import protobuf from "protobufjs/minimal"; @@ -316,6 +317,29 @@ describe("SigningFinschiaClient", () => { expect(codeId).toBeGreaterThanOrEqual(1); client.disconnect(); }); + + it("works with legacy Amino signer access type", async () => { + pendingWithoutSimapp(); + const wallet = await Secp256k1HdWallet.fromMnemonic(faucet.mnemonic, { + hdPaths: [makeLinkPath(0)], + prefix: simapp.prefix, + }); + const options = { ...defaultSigningClientOptions, prefix: simapp.prefix }; + const client = await SigningFinschiaClient.connectWithSigner(simapp.tendermintUrl, wallet, options); + const wasm = getHackatom().data; + const accessConfig: AccessConfig = { + permission: AccessType.ACCESS_TYPE_EVERYBODY, + address: "", + }; + const { codeId, originalChecksum, originalSize, compressedChecksum, compressedSize } = + await client.upload(faucet.address0, wasm, defaultUploadFee, "test memo", accessConfig); + expect(originalChecksum).toEqual(toHex(sha256(wasm))); + expect(originalSize).toEqual(wasm.length); + expect(compressedChecksum).toMatch(/^[0-9a-f]{64}$/); + expect(compressedSize).toBeLessThan(wasm.length * 0.5); + expect(codeId).toBeGreaterThanOrEqual(1); + client.disconnect(); + }); }); describe("instantiate", () => { @@ -529,6 +553,50 @@ describe("SigningFinschiaClient", () => { expect(contractInfo.admin).toEqual(unused.address); client.disconnect(); }); + + it("works with legacy amino signer", async () => { + pendingWithoutSimapp(); + const wallet = await Secp256k1HdWallet.fromMnemonic(faucet.mnemonic, { + hdPaths: [makeLinkPath(0)], + prefix: simapp.prefix, + }); + const options = { ...defaultSigningClientOptions, prefix: simapp.prefix }; + const client = await SigningFinschiaClient.connectWithSigner(simapp.tendermintUrl, wallet, options); + const wasm = getHackatom().data; + const funds = [coin(1234, "cony"), coin(321, "stake")]; + const beneficiaryAddress = makeRandomAddress(); + const { originalSize, originalChecksum, compressedSize, compressedChecksum, codeId, contractAddress } = + await client.uploadAndInstantiate( + faucet.address0, + wasm, + { + verifier: faucet.address0, + beneficiary: beneficiaryAddress, + }, + "My", + defaultUploadAndInstantiateFee, + { + memo: "Let's see if the memo is used", + funds: funds, + instantiatePermission: { + permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, + address: faucet.address0, + }, + admin: faucet.address0, + }, + ); + expect(originalChecksum).toEqual(toHex(sha256(wasm))); + expect(originalSize).toEqual(wasm.length); + expect(compressedChecksum).toMatch(/^[0-9a-f]{64}$/); + expect(compressedSize).toBeLessThan(wasm.length * 0.5); + expect(codeId).toBeGreaterThanOrEqual(1); + const wasmClient = await makeWasmClient(simapp.tendermintUrl); + const conyBalance = await wasmClient.bank.balance(contractAddress, "cony"); + expect(conyBalance).toEqual(funds[0]); + const stakeBalance = await wasmClient.bank.balance(contractAddress, "stake"); + expect(stakeBalance).toEqual(funds[1]); + client.disconnect(); + }); }); describe("updateAdmin", () => { diff --git a/packages/finschia/src/signingfinschiaclient.ts b/packages/finschia/src/signingfinschiaclient.ts index 40fa8104..5acb5732 100644 --- a/packages/finschia/src/signingfinschiaclient.ts +++ b/packages/finschia/src/signingfinschiaclient.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/naming-convention */ -import { encodeSecp256k1Pubkey, makeSignDoc as makeSignDocAmino } from "@cosmjs/amino"; +import { encodeSecp256k1Pubkey, makeSignDoc as makeSignDocAmino, serializeSignDoc } from "@cosmjs/amino"; import { ChangeAdminResult, ExecuteResult, @@ -16,8 +16,8 @@ import { MsgStoreCodeEncodeObject, MsgUpdateAdminEncodeObject, } from "@cosmjs/cosmwasm-stargate"; -import { sha256 } from "@cosmjs/crypto"; -import { fromBase64, toHex, toUtf8 } from "@cosmjs/encoding"; +import { Sha256, sha256 } from "@cosmjs/crypto"; +import { fromBase64, fromUtf8, toBase64, toHex, toUtf8 } from "@cosmjs/encoding"; import { Int53, Uint53 } from "@cosmjs/math"; import { EncodeObject, @@ -60,7 +60,7 @@ import { MsgStoreCode, MsgUpdateAdmin, } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; +import { AccessConfig } from "cosmjs-types/cosmwasm/wasm/v1/types"; import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx"; import { Height } from "cosmjs-types/ibc/core/client/v1/client"; import { MsgStoreCodeAndInstantiateContract } from "lbmjs-types/lbm/wasm/v1/tx"; @@ -70,6 +70,10 @@ import pako from "pako"; import { FinschiaClient } from "./finschiaclient"; import { createDefaultRegistry, createDefaultTypes } from "./types"; +export interface UploadAndInstantiateOptions extends InstantiateOptions { + readonly instantiatePermission?: AccessConfig; +} + export interface UploadAndInstantiateResult { /** Size of the original wasm code in bytes */ readonly originalSize: number; @@ -260,6 +264,7 @@ export class SigningFinschiaClient extends FinschiaClient { wasmCode: Uint8Array, fee: StdFee | "auto" | number, memo = "", + instantiatePermission?: AccessConfig, ): Promise { const compressed = pako.gzip(wasmCode, { level: 9 }); const storeCodeMsg: MsgStoreCodeEncodeObject = { @@ -267,6 +272,7 @@ export class SigningFinschiaClient extends FinschiaClient { value: MsgStoreCode.fromPartial({ sender: senderAddress, wasmByteCode: compressed, + instantiatePermission, }), }; @@ -329,9 +335,9 @@ export class SigningFinschiaClient extends FinschiaClient { signerAddress: string, wasmCode: Uint8Array, msg: Record, - labal: string, + label: string, fee: StdFee | "auto" | number, - options: InstantiateOptions = {}, + options: UploadAndInstantiateOptions = {}, ): Promise { const compressed = pako.gzip(wasmCode, { level: 9 }); const storeCodeAndInstantiateMsg: EncodeObject = { @@ -339,11 +345,9 @@ export class SigningFinschiaClient extends FinschiaClient { value: MsgStoreCodeAndInstantiateContract.fromPartial({ sender: signerAddress, wasmByteCode: compressed, - instantiatePermission: { - permission: AccessType.ACCESS_TYPE_EVERYBODY, - }, + instantiatePermission: options.instantiatePermission, admin: options.admin, - label: labal, + label: label, msg: toUtf8(JSON.stringify(msg)), funds: [...(options.funds || [])], }), @@ -559,6 +563,7 @@ export class SigningFinschiaClient extends FinschiaClient { const signMode = SignMode.SIGN_MODE_LEGACY_AMINO_JSON; const msgs = messages.map((msg) => this.aminoTypes.toAmino(msg)); const signDoc = makeSignDocAmino(msgs, fee, chainId, memo, accountNumber, sequence); + const message = toHex(new Sha256(serializeSignDoc(signDoc)).digest()); const { signature, signed } = await this.signer.signAmino(signerAddress, signDoc); const signedTxBody: TxBodyEncodeObject = { typeUrl: "/cosmos.tx.v1beta1.TxBody", diff --git a/packages/finschia/src/testutils.spec.ts b/packages/finschia/src/testutils.spec.ts index 87cefdc1..14368946 100644 --- a/packages/finschia/src/testutils.spec.ts +++ b/packages/finschia/src/testutils.spec.ts @@ -44,7 +44,7 @@ export interface ContractUploadInstructions { } export const simapp = { - tendermintUrl: "localhost:26658", + tendermintUrl: "localhost:26657", tendermintUrlWs: "ws://localhost:26658", tendermintUrlHttp: "http://localhost:26658", chainId: "simd-testing", diff --git a/packages/finschia/src/types.ts b/packages/finschia/src/types.ts index 96ec1fe2..5e8484be 100644 --- a/packages/finschia/src/types.ts +++ b/packages/finschia/src/types.ts @@ -1,4 +1,3 @@ -import { createWasmAminoConverters } from "@cosmjs/cosmwasm-stargate"; import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { AminoConverters, @@ -22,6 +21,7 @@ import { collectionTypes } from "./modules/collection/messages"; import { foundationTypes } from "./modules/foundation/messages"; import { stakingplusTypes } from "./modules/stakingplus/messages"; import { tokenTypes } from "./modules/token/messages"; +import { createWasmAminoConverters } from "./modules/wasm/aminomessages"; import { wasmTypes } from "./modules/wasm/messages"; import { wasmplusTypes } from "./modules/wasmplus/messages"; From 164000a092c9a2541d67d8642bf6fcf95b64ae6d Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 18:22:30 +0900 Subject: [PATCH 2/8] chore: delete unused things --- packages/finschia/src/signingfinschiaclient.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/finschia/src/signingfinschiaclient.ts b/packages/finschia/src/signingfinschiaclient.ts index 5acb5732..d011771e 100644 --- a/packages/finschia/src/signingfinschiaclient.ts +++ b/packages/finschia/src/signingfinschiaclient.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/naming-convention */ -import { encodeSecp256k1Pubkey, makeSignDoc as makeSignDocAmino, serializeSignDoc } from "@cosmjs/amino"; +import { encodeSecp256k1Pubkey, makeSignDoc as makeSignDocAmino } from "@cosmjs/amino"; import { ChangeAdminResult, ExecuteResult, @@ -16,8 +16,8 @@ import { MsgStoreCodeEncodeObject, MsgUpdateAdminEncodeObject, } from "@cosmjs/cosmwasm-stargate"; -import { Sha256, sha256 } from "@cosmjs/crypto"; -import { fromBase64, fromUtf8, toBase64, toHex, toUtf8 } from "@cosmjs/encoding"; +import { sha256 } from "@cosmjs/crypto"; +import { fromBase64, toHex, toUtf8 } from "@cosmjs/encoding"; import { Int53, Uint53 } from "@cosmjs/math"; import { EncodeObject, @@ -563,7 +563,6 @@ export class SigningFinschiaClient extends FinschiaClient { const signMode = SignMode.SIGN_MODE_LEGACY_AMINO_JSON; const msgs = messages.map((msg) => this.aminoTypes.toAmino(msg)); const signDoc = makeSignDocAmino(msgs, fee, chainId, memo, accountNumber, sequence); - const message = toHex(new Sha256(serializeSignDoc(signDoc)).digest()); const { signature, signed } = await this.signer.signAmino(signerAddress, signDoc); const signedTxBody: TxBodyEncodeObject = { typeUrl: "/cosmos.tx.v1beta1.TxBody", From 694981d567bab7c6b491b4fa7a94719ee8b4878a Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 20:32:22 +0900 Subject: [PATCH 3/8] chore: change port --- packages/finschia/src/testutils.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/finschia/src/testutils.spec.ts b/packages/finschia/src/testutils.spec.ts index 14368946..87cefdc1 100644 --- a/packages/finschia/src/testutils.spec.ts +++ b/packages/finschia/src/testutils.spec.ts @@ -44,7 +44,7 @@ export interface ContractUploadInstructions { } export const simapp = { - tendermintUrl: "localhost:26657", + tendermintUrl: "localhost:26658", tendermintUrlWs: "ws://localhost:26658", tendermintUrlHttp: "http://localhost:26658", chainId: "simd-testing", From 8d1b804c196af71330a5d0405a5f2695a0555aaf Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 20:33:15 +0900 Subject: [PATCH 4/8] feat: change codes after bump up wasm --- .../src/modules/wasm/aminomessages.spec.ts | 8 ++++++-- .../finschia/src/modules/wasm/aminomessages.ts | 15 +++++++++++++-- packages/finschia/src/modules/wasm/messages.ts | 11 ++++++++++- .../src/modules/wasmplus/aminomessages.spec.ts | 4 ++++ .../src/modules/wasmplus/aminomessages.ts | 2 ++ .../finschia/src/signingfinschiaclient.spec.ts | 10 +++++++--- packages/finschia/src/signingfinschiaclient.ts | 6 +++--- 7 files changed, 45 insertions(+), 11 deletions(-) diff --git a/packages/finschia/src/modules/wasm/aminomessages.spec.ts b/packages/finschia/src/modules/wasm/aminomessages.spec.ts index dbac014d..c5c3f7af 100644 --- a/packages/finschia/src/modules/wasm/aminomessages.spec.ts +++ b/packages/finschia/src/modules/wasm/aminomessages.spec.ts @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { fromBase64 } from "@cosmjs/encoding"; import { AminoTypes } from "@cosmjs/stargate"; -import { MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; +import { MsgStoreCode } from "lbmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessType } from "lbmjs-types/cosmwasm/wasm/v1/types"; import { AminoMsgStoreCode, createWasmAminoConverters } from "./aminomessages"; @@ -36,6 +36,7 @@ describe("AminoTypes", () => { instantiatePermission: { permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, }; const aminoMsg = new AminoTypes(createWasmAminoConverters()).toAmino({ @@ -50,6 +51,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, }, }; @@ -87,6 +89,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, }, }; @@ -97,6 +100,7 @@ describe("AminoTypes", () => { instantiatePermission: { permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, }; expect(msg).toEqual({ diff --git a/packages/finschia/src/modules/wasm/aminomessages.ts b/packages/finschia/src/modules/wasm/aminomessages.ts index 6fa9b3b0..145fe1be 100644 --- a/packages/finschia/src/modules/wasm/aminomessages.ts +++ b/packages/finschia/src/modules/wasm/aminomessages.ts @@ -2,8 +2,8 @@ import { createWasmAminoConverters as createAminoConverters } from "@cosmjs/cosmwasm-stargate"; import { fromBase64, toBase64 } from "@cosmjs/encoding"; import { AminoConverters } from "@cosmjs/stargate"; -import { MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; +import { MsgStoreCode } from "lbmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessType } from "lbmjs-types/cosmwasm/wasm/v1/types"; export function accessTypeFromString(str: string): AccessType { switch (str) { @@ -15,6 +15,8 @@ export function accessTypeFromString(str: string): AccessType { return AccessType.ACCESS_TYPE_ONLY_ADDRESS; case "Everybody": return AccessType.ACCESS_TYPE_EVERYBODY; + case "AnyOfAddresses": + return AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES; default: return AccessType.UNRECOGNIZED; } @@ -30,6 +32,8 @@ export function accessTypeToString(object: any): string { return "OnlyAddress"; case AccessType.ACCESS_TYPE_EVERYBODY: return "Everybody"; + case AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES: + return "AnyOfAddresses"; case AccessType.UNRECOGNIZED: default: return "UNRECOGNIZED"; @@ -45,7 +49,12 @@ export interface AccessConfig { * @see https://github.com/CosmWasm/wasmd/blob/v0.28.0/x/wasm/types/params.go#L54 */ readonly permission: string; + /** + * Address + * Deprecated: replaced by addresses + */ readonly address?: string; + readonly addresses: string[]; } /** @@ -80,6 +89,7 @@ export function createWasmAminoConverters(): AminoConverters { ? { permission: accessTypeToString(instantiatePermission.permission), address: instantiatePermission.address || undefined, + addresses: instantiatePermission.addresses, } : undefined, }), @@ -94,6 +104,7 @@ export function createWasmAminoConverters(): AminoConverters { ? { permission: accessTypeFromString(instantiate_permission.permission), address: instantiate_permission.address ?? "", + addresses: instantiate_permission.addresses, } : undefined, }), diff --git a/packages/finschia/src/modules/wasm/messages.ts b/packages/finschia/src/modules/wasm/messages.ts index 0bef10b0..32297bd0 100644 --- a/packages/finschia/src/modules/wasm/messages.ts +++ b/packages/finschia/src/modules/wasm/messages.ts @@ -1,4 +1,4 @@ -import { GeneratedType } from "@cosmjs/proto-signing"; +import { EncodeObject, GeneratedType } from "@cosmjs/proto-signing"; import { MsgClearAdmin, MsgExecuteContract, @@ -16,3 +16,12 @@ export const wasmTypes: ReadonlyArray<[string, GeneratedType]> = [ ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ]; + +export interface MsgStoreCodeEncodeObject extends EncodeObject { + readonly typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode"; + readonly value: Partial; +} + +export function isMsgStoreCodeEncodeObject(object: EncodeObject): object is MsgStoreCodeEncodeObject { + return (object as MsgStoreCodeEncodeObject).typeUrl === "/cosmwasm.wasm.v1.MsgStoreCode"; +} diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts index 84923398..ecc0d2c7 100644 --- a/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts +++ b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts @@ -44,6 +44,7 @@ describe("AminoTypes", () => { instantiatePermission: { permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", @@ -62,6 +63,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", @@ -112,6 +114,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", @@ -126,6 +129,7 @@ describe("AminoTypes", () => { instantiatePermission: { permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + addresses: [], }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.ts b/packages/finschia/src/modules/wasmplus/aminomessages.ts index 457aaccf..dfd6ccca 100644 --- a/packages/finschia/src/modules/wasmplus/aminomessages.ts +++ b/packages/finschia/src/modules/wasmplus/aminomessages.ts @@ -44,6 +44,7 @@ export function createWasmplusAminoConverters(): AminoConverters { ? { permission: accessTypeToString(instantiatePermission.permission), address: instantiatePermission.address || undefined, + addresses: instantiatePermission.addresses, } : undefined, admin: admin || undefined, @@ -66,6 +67,7 @@ export function createWasmplusAminoConverters(): AminoConverters { ? { permission: accessTypeFromString(instantiate_permission.permission), address: instantiate_permission.address ?? "", + addresses: instantiate_permission.addresses, } : undefined, admin: admin ?? "", diff --git a/packages/finschia/src/signingfinschiaclient.spec.ts b/packages/finschia/src/signingfinschiaclient.spec.ts index 651af64b..0f0d825d 100644 --- a/packages/finschia/src/signingfinschiaclient.spec.ts +++ b/packages/finschia/src/signingfinschiaclient.spec.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { addCoins, Secp256k1HdWallet } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject, MsgStoreCodeEncodeObject } from "@cosmjs/cosmwasm-stargate"; +import { MsgExecuteContractEncodeObject } from "@cosmjs/cosmwasm-stargate"; import { sha256 } from "@cosmjs/crypto"; import { toHex, toUtf8 } from "@cosmjs/encoding"; import { decodeTxRaw, DirectSecp256k1HdWallet, Registry } from "@cosmjs/proto-signing"; @@ -21,11 +21,13 @@ import { DeepPartial, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx"; import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; -import { MsgExecuteContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; +import { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx"; +import { MsgStoreCode } from "lbmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessConfig, AccessType } from "lbmjs-types/cosmwasm/wasm/v1/types"; import Long from "long"; import pako from "pako"; import protobuf from "protobufjs/minimal"; +import { MsgStoreCodeEncodeObject } from "./modules/wasm/messages"; import { makeLinkPath } from "./paths"; import { SigningFinschiaClient } from "./signingfinschiaclient"; @@ -330,6 +332,7 @@ describe("SigningFinschiaClient", () => { const accessConfig: AccessConfig = { permission: AccessType.ACCESS_TYPE_EVERYBODY, address: "", + addresses: [], }; const { codeId, originalChecksum, originalSize, compressedChecksum, compressedSize } = await client.upload(faucet.address0, wasm, defaultUploadFee, "test memo", accessConfig); @@ -581,6 +584,7 @@ describe("SigningFinschiaClient", () => { instantiatePermission: { permission: AccessType.ACCESS_TYPE_ONLY_ADDRESS, address: faucet.address0, + addresses: [], }, admin: faucet.address0, }, diff --git a/packages/finschia/src/signingfinschiaclient.ts b/packages/finschia/src/signingfinschiaclient.ts index d011771e..f0a5898e 100644 --- a/packages/finschia/src/signingfinschiaclient.ts +++ b/packages/finschia/src/signingfinschiaclient.ts @@ -13,7 +13,6 @@ import { MsgExecuteContractEncodeObject, MsgInstantiateContractEncodeObject, MsgMigrateContractEncodeObject, - MsgStoreCodeEncodeObject, MsgUpdateAdminEncodeObject, } from "@cosmjs/cosmwasm-stargate"; import { sha256 } from "@cosmjs/crypto"; @@ -57,17 +56,18 @@ import { MsgExecuteContract, MsgInstantiateContract, MsgMigrateContract, - MsgStoreCode, MsgUpdateAdmin, } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessConfig } from "cosmjs-types/cosmwasm/wasm/v1/types"; import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx"; import { Height } from "cosmjs-types/ibc/core/client/v1/client"; +import { MsgStoreCode } from "lbmjs-types/cosmwasm/wasm/v1/tx"; +import { AccessConfig } from "lbmjs-types/cosmwasm/wasm/v1/types"; import { MsgStoreCodeAndInstantiateContract } from "lbmjs-types/lbm/wasm/v1/tx"; import Long from "long"; import pako from "pako"; import { FinschiaClient } from "./finschiaclient"; +import { MsgStoreCodeEncodeObject } from "./modules/wasm/messages"; import { createDefaultRegistry, createDefaultTypes } from "./types"; export interface UploadAndInstantiateOptions extends InstantiateOptions { From 00f7231e1f3c09b96ef398b1ef07478bda218de7 Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 21:22:29 +0900 Subject: [PATCH 5/8] fix: error when omit empty --- packages/finschia/src/modules/wasm/aminomessages.spec.ts | 4 ++-- packages/finschia/src/modules/wasm/aminomessages.ts | 7 ++++--- .../finschia/src/modules/wasmplus/aminomessages.spec.ts | 4 ++-- packages/finschia/src/modules/wasmplus/aminomessages.ts | 5 +++-- packages/finschia/src/signingfinschiaclient.spec.ts | 4 ++-- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/packages/finschia/src/modules/wasm/aminomessages.spec.ts b/packages/finschia/src/modules/wasm/aminomessages.spec.ts index c5c3f7af..58b9f06e 100644 --- a/packages/finschia/src/modules/wasm/aminomessages.spec.ts +++ b/packages/finschia/src/modules/wasm/aminomessages.spec.ts @@ -51,7 +51,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - addresses: [], + addresses: undefined, }, }, }; @@ -89,7 +89,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - addresses: [], + addresses: undefined, }, }, }; diff --git a/packages/finschia/src/modules/wasm/aminomessages.ts b/packages/finschia/src/modules/wasm/aminomessages.ts index 145fe1be..3d5dc301 100644 --- a/packages/finschia/src/modules/wasm/aminomessages.ts +++ b/packages/finschia/src/modules/wasm/aminomessages.ts @@ -54,7 +54,7 @@ export interface AccessConfig { * Deprecated: replaced by addresses */ readonly address?: string; - readonly addresses: string[]; + readonly addresses?: string[]; } /** @@ -89,7 +89,8 @@ export function createWasmAminoConverters(): AminoConverters { ? { permission: accessTypeToString(instantiatePermission.permission), address: instantiatePermission.address || undefined, - addresses: instantiatePermission.addresses, + addresses: + instantiatePermission.addresses.length !== 0 ? instantiatePermission.addresses : undefined, } : undefined, }), @@ -104,7 +105,7 @@ export function createWasmAminoConverters(): AminoConverters { ? { permission: accessTypeFromString(instantiate_permission.permission), address: instantiate_permission.address ?? "", - addresses: instantiate_permission.addresses, + addresses: instantiate_permission.addresses ?? [], } : undefined, }), diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts index ecc0d2c7..7284b93e 100644 --- a/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts +++ b/packages/finschia/src/modules/wasmplus/aminomessages.spec.ts @@ -63,7 +63,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - addresses: [], + addresses: undefined, }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", @@ -114,7 +114,7 @@ describe("AminoTypes", () => { instantiate_permission: { permission: "OnlyAddress", address: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - addresses: [], + addresses: undefined, }, admin: "link1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", label: "sticky", diff --git a/packages/finschia/src/modules/wasmplus/aminomessages.ts b/packages/finschia/src/modules/wasmplus/aminomessages.ts index dfd6ccca..bb6e1ca1 100644 --- a/packages/finschia/src/modules/wasmplus/aminomessages.ts +++ b/packages/finschia/src/modules/wasmplus/aminomessages.ts @@ -44,7 +44,8 @@ export function createWasmplusAminoConverters(): AminoConverters { ? { permission: accessTypeToString(instantiatePermission.permission), address: instantiatePermission.address || undefined, - addresses: instantiatePermission.addresses, + addresses: + instantiatePermission.addresses.length !== 0 ? instantiatePermission.addresses : undefined, } : undefined, admin: admin || undefined, @@ -67,7 +68,7 @@ export function createWasmplusAminoConverters(): AminoConverters { ? { permission: accessTypeFromString(instantiate_permission.permission), address: instantiate_permission.address ?? "", - addresses: instantiate_permission.addresses, + addresses: instantiate_permission.addresses ?? [], } : undefined, admin: admin ?? "", diff --git a/packages/finschia/src/signingfinschiaclient.spec.ts b/packages/finschia/src/signingfinschiaclient.spec.ts index 0f0d825d..0eff096e 100644 --- a/packages/finschia/src/signingfinschiaclient.spec.ts +++ b/packages/finschia/src/signingfinschiaclient.spec.ts @@ -330,9 +330,9 @@ describe("SigningFinschiaClient", () => { const client = await SigningFinschiaClient.connectWithSigner(simapp.tendermintUrl, wallet, options); const wasm = getHackatom().data; const accessConfig: AccessConfig = { - permission: AccessType.ACCESS_TYPE_EVERYBODY, + permission: AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES, address: "", - addresses: [], + addresses: [faucet.address0], }; const { codeId, originalChecksum, originalSize, compressedChecksum, compressedSize } = await client.upload(faucet.address0, wasm, defaultUploadFee, "test memo", accessConfig); From 28aaee0e05f0d0111451c2dcdc3e42cc1d3f9c11 Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Wed, 22 Feb 2023 23:09:34 +0900 Subject: [PATCH 6/8] chore: add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0e6c89d..909bb8b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to ### Added - [\#69](https://github.com/line/lbmjs/pull/69) apply the changes of `x/token` and `x/collection` protos - [\#71](https://github.com/line/lbmjs/pull/71) @lbmjs/finschia: Add custom GetBlockWithTxs for lbm +- [\#77](https://github.com/line/lbmjs/pull/77) @lbmjs/finschia: Enable amino sign store msgs in `wasm` and `wasmplus` ### Changed From 231f86aa9d87f4e71838be39a711d150ec60a9e1 Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Fri, 31 Mar 2023 12:29:21 +0900 Subject: [PATCH 7/8] chore: bumpup lbmjs-types and change tests --- .pnp.cjs | 10 +++++----- ...s-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip | 3 --- ...lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip | 3 +++ packages/finschia/package.json | 2 +- .../src/modules/foundation/aminomessages.spec.ts | 6 ------ .../finschia/src/modules/foundation/aminomessages.ts | 3 --- yarn.lock | 10 +++++----- 7 files changed, 14 insertions(+), 23 deletions(-) delete mode 100644 .yarn/cache/lbmjs-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip create mode 100644 .yarn/cache/lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip diff --git a/.pnp.cjs b/.pnp.cjs index ebf1a379..318ed7d7 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -1632,7 +1632,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], [ "lbmjs-types", - "npm:0.47.0-alpha1" + "npm:1.0.0-rc2" ], [ "levn", @@ -3255,7 +3255,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["karma-jasmine-html-reporter", "virtual:7b7a30ab09c232808f75d8deefc2be1f787c4d994bf0447ebbc0120f713df9b186b49db25d8d4a325f09a8c21d3026240b3241d151187e257eff7792b66c65e7#npm:1.7.0"], ["karma-spec-reporter", "virtual:7b7a30ab09c232808f75d8deefc2be1f787c4d994bf0447ebbc0120f713df9b186b49db25d8d4a325f09a8c21d3026240b3241d151187e257eff7792b66c65e7#npm:0.0.33"], ["karma-typescript", "virtual:7b7a30ab09c232808f75d8deefc2be1f787c4d994bf0447ebbc0120f713df9b186b49db25d8d4a325f09a8c21d3026240b3241d151187e257eff7792b66c65e7#npm:5.5.3"], - ["lbmjs-types", "npm:0.47.0-alpha1"], + ["lbmjs-types", "npm:1.0.0-rc2"], ["long", "npm:4.0.0"], ["nyc", "npm:15.1.0"], ["pako", "npm:2.0.4"], @@ -7754,10 +7754,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["lbmjs-types", [ - ["npm:0.47.0-alpha1", { - "packageLocation": "./.yarn/cache/lbmjs-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip/node_modules/lbmjs-types/", + ["npm:1.0.0-rc2", { + "packageLocation": "./.yarn/cache/lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip/node_modules/lbmjs-types/", "packageDependencies": [ - ["lbmjs-types", "npm:0.47.0-alpha1"], + ["lbmjs-types", "npm:1.0.0-rc2"], ["long", "npm:4.0.0"], ["protobufjs", "npm:6.11.2"] ], diff --git a/.yarn/cache/lbmjs-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip b/.yarn/cache/lbmjs-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip deleted file mode 100644 index 4fa23836..00000000 --- a/.yarn/cache/lbmjs-types-npm-0.47.0-alpha1-10660dd9cd-4717059664.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53d777b3ede81e3fdb4f806a005dec805022e02fca8bde8139c678fef0c3e2ef -size 1475092 diff --git a/.yarn/cache/lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip b/.yarn/cache/lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip new file mode 100644 index 00000000..47a9a3d1 --- /dev/null +++ b/.yarn/cache/lbmjs-types-npm-1.0.0-rc2-e80fe73a1e-3ac7d105e9.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:991f91dfa750e1a2b7971164e0f31cd33702690551953b71645514f3c29e894e +size 1472393 diff --git a/packages/finschia/package.json b/packages/finschia/package.json index 5c3f5f7e..721b2625 100644 --- a/packages/finschia/package.json +++ b/packages/finschia/package.json @@ -45,7 +45,7 @@ "@cosmjs/tendermint-rpc": "^0.29.0", "@cosmjs/utils": "^0.29.0", "cosmjs-types": "^0.5.1", - "lbmjs-types": "^0.47.0-alpha1", + "lbmjs-types": "^1.0.0-rc2", "long": "^4.0.0", "pako": "^2.0.2", "protobufjs": "~6.10.2", diff --git a/packages/finschia/src/modules/foundation/aminomessages.spec.ts b/packages/finschia/src/modules/foundation/aminomessages.spec.ts index 6c0debed..8132f776 100644 --- a/packages/finschia/src/modules/foundation/aminomessages.spec.ts +++ b/packages/finschia/src/modules/foundation/aminomessages.spec.ts @@ -104,7 +104,6 @@ describe("Amino sign", () => { authority: authorityAddress, params: { foundationTax: Decimal.fromUserInput("0.1", 18).atomics, - censoredMsgTypeUrls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }, }; @@ -226,7 +225,6 @@ describe("Amino sign", () => { authority: authorityAddress, params: { foundationTax: Decimal.fromUserInput("0.1", 18).atomics, - censoredMsgTypeUrls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }, }; @@ -475,7 +473,6 @@ describe("AminoTypes", () => { authority: faucet.address0, params: { foundationTax: "0", - censoredMsgTypeUrls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }; const aminoTypes = new AminoTypes(createFoundationAminoConverters()); @@ -489,7 +486,6 @@ describe("AminoTypes", () => { authority: faucet.address0, params: { foundation_tax: "0.000000000000000000", - censored_msg_type_urls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }, }; @@ -833,7 +829,6 @@ describe("AminoTypes", () => { authority: faucet.address0, params: { foundation_tax: "0", - censored_msg_type_urls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }, }; @@ -843,7 +838,6 @@ describe("AminoTypes", () => { authority: faucet.address0, params: { foundationTax: "0", - censoredMsgTypeUrls: ["/lbm.foundation.v1.MsgWithdrawFromTreasury"], }, }; expect(msg).toEqual({ diff --git a/packages/finschia/src/modules/foundation/aminomessages.ts b/packages/finschia/src/modules/foundation/aminomessages.ts index 7fa22b1b..74822d54 100644 --- a/packages/finschia/src/modules/foundation/aminomessages.ts +++ b/packages/finschia/src/modules/foundation/aminomessages.ts @@ -38,7 +38,6 @@ import { interface Params { foundation_tax: string; - censored_msg_type_urls: string[]; } interface DecisionPolicyWindows { @@ -292,7 +291,6 @@ export function createFoundationAminoConvertersWithoutSubmitProposal(): AminoCon authority: authority, params: { foundation_tax: protoDecimalToJson(params.foundationTax), - censored_msg_type_urls: params.censoredMsgTypeUrls, }, }; }, @@ -302,7 +300,6 @@ export function createFoundationAminoConvertersWithoutSubmitProposal(): AminoCon authority: authority, params: { foundationTax: jsonDecimalToProto(params.foundation_tax), - censoredMsgTypeUrls: params.censored_msg_type_urls, }, }; }, diff --git a/yarn.lock b/yarn.lock index 26636b5c..d4656382 100644 --- a/yarn.lock +++ b/yarn.lock @@ -593,7 +593,7 @@ __metadata: karma-jasmine-html-reporter: ^1.5.4 karma-spec-reporter: ^0.0.33 karma-typescript: ^5.5.3 - lbmjs-types: ^0.47.0-alpha1 + lbmjs-types: ^1.0.0-rc2 long: ^4.0.0 nyc: ^15.1.0 pako: ^2.0.2 @@ -4221,13 +4221,13 @@ __metadata: languageName: unknown linkType: soft -"lbmjs-types@npm:^0.47.0-alpha1": - version: 0.47.0-alpha1 - resolution: "lbmjs-types@npm:0.47.0-alpha1" +"lbmjs-types@npm:^1.0.0-rc2": + version: 1.0.0-rc2 + resolution: "lbmjs-types@npm:1.0.0-rc2" dependencies: long: ^4.0.0 protobufjs: ~6.11.2 - checksum: 4717059664510909432a0a0ed2933f17ffbc585d8b5e66f4df7a34b3d0400f260437eefcee02a7b6a556ef5c4eab1a3267645dddf61fcbeb4e65aa84fd8db7d1 + checksum: 3ac7d105e9bf415a78bf261c7d1e446775746c21d67e903dca91aebd4ecb165fb9fe22c8f2c04dde89f744879be49a3aa630fd88b07a4dd588c77aa86bba04d9 languageName: node linkType: hard From cf9edf10bcb1f593fcc4942bf66fb941c03877d4 Mon Sep 17 00:00:00 2001 From: "jinseong.cho" Date: Fri, 31 Mar 2023 12:29:46 +0900 Subject: [PATCH 8/8] test: re generate template --- scripts/lbm/env | 2 +- scripts/lbm/template/.lbm/config/app.toml | 6 ++-- scripts/lbm/template/.lbm/config/genesis.json | 35 ++++++++++--------- ...92cc468ada83add5486867ce12ae6ab25aa74.json | 1 - ...98792d07e8266fc6d52a3641db32ba79765d0.json | 1 + .../lbm/template/.lbm/config/node_key.json | 2 +- .../.lbm/config/priv_validator_key.json | 6 ++-- ...7814c74f863bea49b433e51676bfd99bc1.address | 2 +- ...597f29240eafb883bee64e1420895e5259.address | 2 +- ...f24a3cda1bd2b6acdc7c0ddc3dcb83eef1.address | 2 +- ...491fc242b9f95d31af087c243e43a703ce.address | 2 +- .../template/.lbm/keyring-test/account0.info | 2 +- .../template/.lbm/keyring-test/account1.info | 2 +- .../template/.lbm/keyring-test/account2.info | 2 +- .../template/.lbm/keyring-test/account3.info | 2 +- .../template/.lbm/keyring-test/account4.info | 2 +- .../template/.lbm/keyring-test/account5.info | 2 +- .../template/.lbm/keyring-test/account6.info | 2 +- .../template/.lbm/keyring-test/account7.info | 2 +- .../template/.lbm/keyring-test/account8.info | 2 +- ...daad146da2d167f55ec00a5360dd013b7a.address | 2 +- ...931b591a0ad2c6c1f2c9ac094643d41119.address | 2 +- ...c78e25fa1eda888ff207f5823d2cf06a58.address | 2 +- ...9a45654ecb1d575eb77037f72b81631f33.address | 2 +- ...33fc2858fbe68b38189596993b73fba5f4.address | 2 +- ...7c0cd770b0696c101db34a7c88c9e60ea3.address | 2 +- ...34556bb1390b9b96fd73949275314773e7.address | 2 +- .../template/.lbm/keyring-test/multisig0.info | 2 +- .../.lbm/keyring-test/validator0.info | 2 +- scripts/lbm/template/run_lbm.sh | 4 +-- scripts/lbm/template/setup.sh | 4 +-- 31 files changed, 53 insertions(+), 52 deletions(-) delete mode 100644 scripts/lbm/template/.lbm/config/gentx/gentx-e1492cc468ada83add5486867ce12ae6ab25aa74.json create mode 100644 scripts/lbm/template/.lbm/config/gentx/gentx-e4d98792d07e8266fc6d52a3641db32ba79765d0.json diff --git a/scripts/lbm/env b/scripts/lbm/env index b7981c84..59531876 100644 --- a/scripts/lbm/env +++ b/scripts/lbm/env @@ -1,4 +1,4 @@ # Choose from https://hub.docker.com/r/line/lbm-simapp/tags REPOSITORY="line/lbm" -VERSION="1.0.0-rc0" +VERSION="1.0.0-rc2" CONTAINER_NAME="lbm-app" diff --git a/scripts/lbm/template/.lbm/config/app.toml b/scripts/lbm/template/.lbm/config/app.toml index 4f4316f4..9239b982 100644 --- a/scripts/lbm/template/.lbm/config/app.toml +++ b/scripts/lbm/template/.lbm/config/app.toml @@ -61,9 +61,9 @@ inter-block-cache-size = 104857600 # So be careful that all iavl cache size are difference from this iavl cache size value. iavl-cache-size = 524288 -# IAVLDisableFastNode enables or disables the fast node feature of IAVL. -# Default is false. -iavl-disable-fastnode = false +# IAVLDisableFastNode enables or disables the fast node feature of IAVL. +# Default is true. +iavl-disable-fastnode = true # IndexEvents defines the set of events in the form {eventType}.{attributeKey}, # which informs Tendermint what to index. If empty, all events will be indexed. diff --git a/scripts/lbm/template/.lbm/config/genesis.json b/scripts/lbm/template/.lbm/config/genesis.json index 54fd37f9..fc82d0b1 100644 --- a/scripts/lbm/template/.lbm/config/genesis.json +++ b/scripts/lbm/template/.lbm/config/genesis.json @@ -1,5 +1,5 @@ { - "genesis_time": "2023-02-13T13:44:47.434078544Z", + "genesis_time": "2023-03-30T12:58:43.759379Z", "chain_id": "simd-testing", "initial_height": "1", "consensus_params": { @@ -14,9 +14,7 @@ "max_bytes": "1048576" }, "validator": { - "pub_key_types": [ - "ed25519" - ] + "pub_key_types": ["ed25519"] }, "version": {} }, @@ -347,11 +345,7 @@ }, "foundation": { "params": { - "foundation_tax": "0.000000000000000000", - "censored_msg_type_urls": [ - "/lbm.foundation.v1.MsgWithdrawFromTreasury", - "/lbm.foundation.v1.MsgUpdateParams" - ] + "foundation_tax": "0.000000000000000000" }, "foundation": { "version": "1", @@ -376,7 +370,17 @@ "authorizations": [], "pool": { "treasury": [] - } + }, + "censorships": [ + { + "authority": 2, + "msg_type_url": "/lbm.foundation.v1.MsgWithdrawFromTreasury" + }, + { + "authority": 2, + "msg_type_url": "/lbm.foundation.v1.MsgUpdateParams" + } + ] }, "genutil": { "gen_txs": [ @@ -402,7 +406,7 @@ "validator_address": "linkvaloper1twsfmuj28ndph54k4nw8crwu8h9c8mh33lyrp8", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "nzBXFfcFp/CnF3Eb42/3SXoPT/EvEiLr2gwleHuS9I4=" + "key": "BT4dbiZUg61sevecT4wVRM0hALGfqi1dcqNXG5OFOlQ=" }, "value": { "denom": "stake", @@ -410,7 +414,7 @@ } } ], - "memo": "e1492cc468ada83add5486867ce12ae6ab25aa74@172.17.0.2:26656", + "memo": "e4d98792d07e8266fc6d52a3641db32ba79765d0@172.30.1.66:26656", "timeout_height": "0", "extension_options": [], "non_critical_extension_options": [] @@ -438,7 +442,7 @@ } }, "signatures": [ - "2eEHU3CC6voIiA2Ry1zzqQjD9gHGgfUbjSIwB6d25ClQlwhe8XcM3oDGnn7bodyGwaPRItnnDHq3V7faxu9bsw==" + "lQ3POV7nTGd/gyo0yQIaUxzmqRkc9mCOMvpKXUv1WSgzB8YfrMZRDKCz4Fv9M40P155MgrA513rk1O9DY5k+Qg==" ] } ] @@ -472,10 +476,7 @@ "clients_consensus": [], "clients_metadata": [], "params": { - "allowed_clients": [ - "06-solomachine", - "99-ostracon" - ] + "allowed_clients": ["06-solomachine", "99-ostracon"] }, "create_localhost": false, "next_client_sequence": "0" diff --git a/scripts/lbm/template/.lbm/config/gentx/gentx-e1492cc468ada83add5486867ce12ae6ab25aa74.json b/scripts/lbm/template/.lbm/config/gentx/gentx-e1492cc468ada83add5486867ce12ae6ab25aa74.json deleted file mode 100644 index fece9740..00000000 --- a/scripts/lbm/template/.lbm/config/gentx/gentx-e1492cc468ada83add5486867ce12ae6ab25aa74.json +++ /dev/null @@ -1 +0,0 @@ -{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-testing","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"link1twsfmuj28ndph54k4nw8crwu8h9c8mh3rtx705","validator_address":"linkvaloper1twsfmuj28ndph54k4nw8crwu8h9c8mh33lyrp8","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"nzBXFfcFp/CnF3Eb42/3SXoPT/EvEiLr2gwleHuS9I4="},"value":{"denom":"stake","amount":"10000000000"}}],"memo":"e1492cc468ada83add5486867ce12ae6ab25aa74@172.17.0.2:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AsVtdRaoc8AsTmzIvRAKWSYgHXf97/HI4ls2wENFk9C8"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["2eEHU3CC6voIiA2Ry1zzqQjD9gHGgfUbjSIwB6d25ClQlwhe8XcM3oDGnn7bodyGwaPRItnnDHq3V7faxu9bsw=="]} diff --git a/scripts/lbm/template/.lbm/config/gentx/gentx-e4d98792d07e8266fc6d52a3641db32ba79765d0.json b/scripts/lbm/template/.lbm/config/gentx/gentx-e4d98792d07e8266fc6d52a3641db32ba79765d0.json new file mode 100644 index 00000000..6895bef4 --- /dev/null +++ b/scripts/lbm/template/.lbm/config/gentx/gentx-e4d98792d07e8266fc6d52a3641db32ba79765d0.json @@ -0,0 +1 @@ +{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"simd-testing","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"link1twsfmuj28ndph54k4nw8crwu8h9c8mh3rtx705","validator_address":"linkvaloper1twsfmuj28ndph54k4nw8crwu8h9c8mh33lyrp8","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"BT4dbiZUg61sevecT4wVRM0hALGfqi1dcqNXG5OFOlQ="},"value":{"denom":"stake","amount":"10000000000"}}],"memo":"e4d98792d07e8266fc6d52a3641db32ba79765d0@172.30.1.66:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AsVtdRaoc8AsTmzIvRAKWSYgHXf97/HI4ls2wENFk9C8"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":["lQ3POV7nTGd/gyo0yQIaUxzmqRkc9mCOMvpKXUv1WSgzB8YfrMZRDKCz4Fv9M40P155MgrA513rk1O9DY5k+Qg=="]} diff --git a/scripts/lbm/template/.lbm/config/node_key.json b/scripts/lbm/template/.lbm/config/node_key.json index 2e147751..5386c820 100644 --- a/scripts/lbm/template/.lbm/config/node_key.json +++ b/scripts/lbm/template/.lbm/config/node_key.json @@ -1 +1 @@ -{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"yC4bSP3Jfy8p/J1m2cHV6mQs1OhfChi7bvIjYicQXDsiBpJjdRprqwzIePVKn4Gd/9XCft/j6ThjZBsjBiZ5Gw=="}} \ No newline at end of file +{"priv_key":{"type":"tendermint/PrivKeyEd25519","value":"c4EeAGxcAZHWgYTO1C0LvxP1vsHDk13jmUMAY+bjcuRV4UH800zNS5TUFxEN52OztyCoPFVN26JKPwvesxPmbg=="}} \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/config/priv_validator_key.json b/scripts/lbm/template/.lbm/config/priv_validator_key.json index de2af810..fbdd556d 100644 --- a/scripts/lbm/template/.lbm/config/priv_validator_key.json +++ b/scripts/lbm/template/.lbm/config/priv_validator_key.json @@ -1,11 +1,11 @@ { - "address": "2B4DAF0AC1E38240F38F2B33EF5F93A26750EE43", + "address": "FB44611283DFC76857B8D5E22C62576AB0180531", "pub_key": { "type": "tendermint/PubKeyEd25519", - "value": "nzBXFfcFp/CnF3Eb42/3SXoPT/EvEiLr2gwleHuS9I4=" + "value": "BT4dbiZUg61sevecT4wVRM0hALGfqi1dcqNXG5OFOlQ=" }, "priv_key": { "type": "tendermint/PrivKeyEd25519", - "value": "/qlfwFrgxgWl3HAsXVR9BrNhDnlKaD/NJ02c2Eauk5WfMFcV9wWn8KcXcRvjb/dJeg9P8S8SIuvaDCV4e5L0jg==" + "value": "w/OQejRIQA8vAzJcdIpcaNZ6KodkZk0X0bCLH77RUtIFPh1uJlSDrWx695xPjBVEzSEAsZ+qLV1yo1cbk4U6VA==" } } \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/43fc557814c74f863bea49b433e51676bfd99bc1.address b/scripts/lbm/template/.lbm/keyring-test/43fc557814c74f863bea49b433e51676bfd99bc1.address index 6d03c9bb..da8738e2 100644 --- a/scripts/lbm/template/.lbm/keyring-test/43fc557814c74f863bea49b433e51676bfd99bc1.address +++ b/scripts/lbm/template/.lbm/keyring-test/43fc557814c74f863bea49b433e51676bfd99bc1.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1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ff --git a/scripts/lbm/template/.lbm/keyring-test/479104597f29240eafb883bee64e1420895e5259.address b/scripts/lbm/template/.lbm/keyring-test/479104597f29240eafb883bee64e1420895e5259.address index b96f9047..a7297e25 100644 --- a/scripts/lbm/template/.lbm/keyring-test/479104597f29240eafb883bee64e1420895e5259.address +++ b/scripts/lbm/template/.lbm/keyring-test/479104597f29240eafb883bee64e1420895e5259.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1OC41MTI3NzcwNDkgKzAwMDAgVVRDIG09KzAuNjU4Njg3MjUxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoidnZXOGdManhZMDJ6dG9PNiJ9.cKkG_fubeP_sr5JQb_vG1800aVmGV2mwLOPohm1-lobgmVdhPtiZWg.hsr-plx18r0IJwFC.a9N6CVx4jeB-Vh8ryyldnT_9N_hEcI3UL-6ttQrcnEP7oBz1PYuj3_I5oKRIi6jdxDnr8J8sNXzkBWDmLYdFkHx6W157BG3VvE_5fpNZzHsvoaLjiGGnNckmLxE4PkX2zzCEPM5RVZrRqCe4xtaN4Gb1nOgD6PhZmq4SKMjlhwGwhTcZnq504vUVceRcRfUyeUgBf5-Westt9HxF6S9RhYXligwNJIc-1dKSZSLVHNrIjB2-JxGzD4Af.1t47GCRtWCjmUi8OeS5DEw \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4yMzk4NTkgKzA5MDAgS1NUIG09KzAuMDQ3ODg0Mzc2IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiTGdaWnNjWW1PclM5ZkNTeiJ9.XkndHGQV3EXiA-AjZkiEk0ILA15CE6vNJIlWVESJK0DDF8ieIepf7w.n_tswFB3NA7i6pJl.fqqGcrxdnBVPCcBSXYo04zDjyFKjazGUmcb6GMuw6_eVO2dWchpYxOqrlFsY0FepjspNNqmmFruXih_vZVNVHJPJXHFvGznePBrWSs-zIiam09iCtFboZFf1SpKhAjVA28Zh7-Dlasoo7bLnuTZciKDmcKk6qfADXGM8CToApym43aOm-tzxT732yGbgRoWerMICGyYADQ0ugiz_ckbxHeCoWTP3qyLh9FYinaWA7K3-N0uQ2PKb4nY-.2DXk1Kz1NRIxHMBJbnHQsg \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/5ba09df24a3cda1bd2b6acdc7c0ddc3dcb83eef1.address b/scripts/lbm/template/.lbm/keyring-test/5ba09df24a3cda1bd2b6acdc7c0ddc3dcb83eef1.address index 4962773e..e83cab66 100644 --- a/scripts/lbm/template/.lbm/keyring-test/5ba09df24a3cda1bd2b6acdc7c0ddc3dcb83eef1.address +++ b/scripts/lbm/template/.lbm/keyring-test/5ba09df24a3cda1bd2b6acdc7c0ddc3dcb83eef1.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NTowMS4yNzU1OTcwMDggKzAwMDAgVVRDIG09KzAuNjQxODQ0OTYwIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoia1gwN184NEpxbzJzZWlQNyJ9.LW8VASwqbgTVMNj2Um38bq0X2U71n0ByJtzhPOWsWrYTpea8mI4h7A.uJs3hlppXi9187dh.Vh1t-KcMLRuKRnrMw2OFhmmLZA0BggZPtgyH1IlquuU8gKrzM1ZVrlMPt9VosJGl2ADEJGDtKI3DqIQJSWt2FGx6bTuZp4qJmf-0iAD6RKp_ziHIOyaZMwCIvnwDNyXlopAMhnetV-nviNoPo-we8xugXgg6lRMl3GAjUuS--9FkQuoA91acMCfsECjSbc-5N9zZertttvLQfIXUFW1Tnt1KaIYtmc2CPmpBbN2JA2k6xAl_T7jo7rHB.gNAf_gabQZK7ql1jXSxjbA \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4zNjA5MTcgKzA5MDAgS1NUIG09KzAuMDQyNTI4NzkzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoicWtRbjl2cFBveW9fdHNsUSJ9.SVuTqKi6644z_WLFMePhPbya1GyWHqAq_MUMZdWoUKwCU5Bc9R4ZhA.UHfrFBnCcmLuGVr_.M8ffftiAFdwf8rHgNNrVpafdrbMW_T4SdThBGqwzF0PKdNDytsp055aXaY6zQiiEFv03BVVBZ1E8OFyIWYiT8lRSPJFzJ1Co3cYYilKmWHcBPq_uDcA_Xixihjed7AMBCMKSX_kQJg1AIqTAzgfN8iXHCBOChAhNye1Y7JJCJFf0boDr_vpgL-fy5f9Lgqq8fExHQX-auMo0q8GTFcTZiL7Q5PIubIWUhLPPD_hTFhJ1KbIN2wrved3-.QyCdj2wBdoDuC6UlHQ-rVw \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/6a4847491fc242b9f95d31af087c243e43a703ce.address b/scripts/lbm/template/.lbm/keyring-test/6a4847491fc242b9f95d31af087c243e43a703ce.address index 37686719..a36e99d4 100644 --- a/scripts/lbm/template/.lbm/keyring-test/6a4847491fc242b9f95d31af087c243e43a703ce.address +++ b/scripts/lbm/template/.lbm/keyring-test/6a4847491fc242b9f95d31af087c243e43a703ce.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1Mi4zODM1NzcyNTQgKzAwMDAgVVRDIG09KzAuNjc2MDU2OTE4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiNmNRc0NpY3VWc2RrV2hEZiJ9.OquZAgGIKNQ8nl0EmJ56Rqoiprd1h5EnWyKZtD_-sc5_h1Q75v24HQ.7HiFhYzNfJm9sdX7.TruVtMZj4AVW5pThnzI0CKITj0l_Xt6S67IHXwjRvs5OgaqhYNKBF_hD5irHfZ3FOGsxFuq4OUzzA8u5cnrX3ye9oPioxAaxNTPX50lQ0KnZB2ESzu1SVrbg7W0Lx01jYdoYYFvSsTI3iEjlprhUl-LOo6RIQJktd6-ASbO3g4pNvklhyLyuNk5NKAwpZM_AXVkeYLEjuZ6ydiij4ZS9KmUQ7tOPyI4DcOxwmmvw6eAHudCPUBpsBo_X.KDXl5_UDk0ufwV4Tke2IFw \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0My45NjQyICswOTAwIEtTVCBtPSswLjA0MjAxNjE2NyIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjgxOTIsInAycyI6InRQNDJFNEhOVlQyUjJMM1QifQ.7GA51XhMrvx3k-2pORtRK_YKglE0D2DcMBSOvgN_5Z1emz7ihhUaMg.vKbYOxKFwaZZOeDA.so_VsCGHGamLoS8Pag8d4qDebEf7DxxEZyo9Q9kMz2b8ChD1xfZVFYBzVR7I9OcLUETpBDiHyjqXT-gWH7OCo39-Y6I2jq1tdbRk2x9rLmX_12M5lEY_MQKbyR_hCSpgeP_X7HTV5cGewVQ9eQuqEGvwz1YSTQvjLgKndIg06ycoVPMST9HioaP9_-GQqTUtF7qRUEqsFMP6BeCi4aVUr2e5p_HQl315_6BswMmhZBBEvOQWy-P34gTu.czdjTuOMh0hmjq0-Gr3JuQ \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account0.info b/scripts/lbm/template/.lbm/keyring-test/account0.info index 7e854e29..7fbe483a 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account0.info +++ b/scripts/lbm/template/.lbm/keyring-test/account0.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo0OC42Mj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LrqrTbgicEkRYBY7zDpMtAMa4Vch3bhk0lMvhe7mrAYDQu5xJe643zWo81heo4qJZiso56dyxUCXN8piOv_sxXMdgYULLy2NgUbNtl-PQUoE4wHutifAlxUOyz4L6w.klg3vGAj7--JypwqvH8AUg \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account1.info b/scripts/lbm/template/.lbm/keyring-test/account1.info index 245966a8..3d15719e 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account1.info +++ b/scripts/lbm/template/.lbm/keyring-test/account1.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo0OS44NzcxNjk2MjggKzAwMDAgVVRDIG09KzAuNjMxMjkyNTAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiUFlHb2VUVEo4Ri1rUXJobyJ9.ymdunvzgxFbUx5CUSAIpBQl5MQZu2vwFsMglGl6evR0JCqlRMkrfEQ.lRWUWurCqhmc3wT0.Hn7vM4UrJHNCNWbiTWN0mpCipC1c8Jq4jj7R73x5ZKfjFCBCrg1pliVWO0ZA2E81SsUcpjcatuQKQBa43JVCLu-IwVfasN_COdQMyqYjC-b8m6n2W6p7gCUeBTQZr3NO7U2JDT7Pzcoye8LyxAg5JrRriImIGiRENf6cW9HmuQBYFFP_LgS3qT4xmr0OTKdYZkbIK34iaNERYPQvycJjvzEb2AnCEa7g76QTVf_j6hzqQK_vM6SutuQ4S_RhNS4a5e5COG-o9h-Z3y61IJGF5olxSU55T0jJZrC-f2NAxnkjpGmzNGh2Qd7E-bX1z4NO9jX6e_HLdClTxUwpiAJq4g3rKK66Db2C0cCzLlZQ5g.7nOeIiNYI-q2-i-9BPhwhQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0My44NTQ5NjcgKzA5MDAgS1NUIG09KzAuMDM3Mjc0NzUxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiamtzU19VVl81aXlGQTZMLSJ9.6bKx46c7yW0VJ3Q3RWMS7b7OznzDq0c1lZTx2cWvoyM_pOtreSr8EQ.XuBjEnq4g15L1ma_.p_dWHQrA94NZ7fIRy5irr5MXiPm3GKhvXvR3TMtXVa6wtasdCD0RgXbzClgACnb3F9JzJh8e3I6JLQL5bGzqaYHZpoVq0Z-kYS13I958JQjJHy5QyRezyWz4R3uzQ7xUXqMiUhyof837038atHOhNRWen1g7E9uX9iLmeq9gI6SlzABdIM2b-zhOfYrYvEMqj2EaB55zMNymDhU16V9q-2rAzobp6GTKhzoBL76cMu0v3D8LeiT-Kn6DoQqpBOYnnimkUwnqnHXdv3_INsUPqBc3AV7IQ30uIVUTLXnZW4RJST2u9L3S1V2twCOsNZKMeEMR7YSm9rjG0BenivRKlOaBfnhsDnmB6tHJVY_9rw.gzwk9BvNkClagBOHt-qPSA \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account2.info b/scripts/lbm/template/.lbm/keyring-test/account2.info index 3a275c30..4b9d1a86 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account2.info +++ b/scripts/lbm/template/.lbm/keyring-test/account2.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1MS4wOTc0NTIyMTIgKzAwMDAgVVRDIG09KzAuNjIxMjE4NjI2IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoibHN6ZWt2QV9Wb25Ua2ticyJ9.R-N0Tw_demyG1IScworW08YGOUsjVABkxmdBjKWPi-k7wYRrHx8YKQ.gxDVNkFShGJlevfI.LZeKJbLFbt_k6OT_WZhHZyL5ezC4Fc-7O7w3G_xVFHweN_hmtagfXlW1HdFv6aqSHZgsDmWRS7S9PC_anG-OBGknCikk-3w2FSN1zHPbUc1SUdNK9aIzbPPYkU1C0t4mtjGrJ88xVPHvUiCsHHCn8f2zB4NRY7Xy2HGkWHfwrTHCWEk5byCTzqTCDxpq7B0-SVgfiIGZ5zqgq1Y4pIffuIT0icnzswso_QcvAMaNAEqC0TBOtBmQP-104z0A16xX5UAIQW6oXhoC0PsunUX39p1JFGTU9FkXbmxF2uwNDPrWT3KFJss-GkEwX5RNfBrcMK8v-Ib0SSNvD8mhbLZ6YfdaDSBimTZImJhw6hJ76A.QgbkltUfv_DiGKotojMYtQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0My45MDM2ODEgKzA5MDAgS1NUIG09KzAuMDM3NjkyMTY4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoieEJhNGY4SE5XdEttbWFaeCJ9.Zj4kjSi3Lup_Dedet74qy5HnQpw2yferseRGo1xEPzJcVfJ7UkLTqw.BF1q3Bgth80VNyuv.R1ohLC7VoM3z0gW9Rtqg6xhv6UFJ55l25iPzok3uzd_AevPx1beXIWSlMWv53ig-5B1TpMm7RXExZzJPkVZJ5UzI7nctohl4dpCld82Y-3faW-GqhtCw5bSxs4qm1tfnq4oegdJmYKbp4TkobwHMBeSksS6aWXH3CRmNWfOQm5cjVHxeA7-tD8Iqbg4o3eo36JC3qaguImiJNaR0e1XY3blSBaEakStS_Suez6A0FbQtct61n80Q1LIhk3kSvouRljFf4gO3wF96Jj9m_7xRBx-ptbpA3jQRdy6HeO-KY4Jv8CeknAkLaGahHJwvJRZLsgY6DecYUs5qeVUv91Neb4EkO2IhU3J3Lw0Y7bYapg.0aoHK-JYJBt_miwWpTy01g \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account3.info b/scripts/lbm/template/.lbm/keyring-test/account3.info index 7fb94126..8e5226eb 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account3.info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2l1rAHlH40ecN2lKzac2BedhW9J7pwIEWcqbepknbR6ZnPrfK814VB-94X-xTgqNcr8UaexkdzhEAxl1YRtEL4mQyB42-F7BFSQqmuf7naTGLPpPz620AsIR6AV9scHusqYpKd_ZnT7dy09XVjQbHqbSgWKiRXSPy1nS8F9_awg0PtFwFcFMUYovccMbkaQ6laqDkOTlofoW-ZZGCnhbdUftogCIx0er_2ccDMvTuIBv5D6wxoFiJayxtk1r7YWotPtH9CF7GcwV11P9A.PWnb8DCyF779VnIH3UK0_g \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account4.info b/scripts/lbm/template/.lbm/keyring-test/account4.info index 6d576a2c..632b5a78 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account4.info +++ b/scripts/lbm/template/.lbm/keyring-test/account4.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1My41NTQ4NzU3OTYgKzAwMDAgVVRDIG09KzAuNjExMTQ1NjY4IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoidk16QnZWc1NlS3ZNTU9yMCJ9.7c9yFCOYlRSy1ZfPixqBbPZCLmEcRPuTtxwM3SKL0a0iM3HMLCLjfw._VRX-4A0gTFOH2eC.EiPq2FoLbIBmj8Xr5JbKldbcQiP1uHPgqLOBv3bjaxZMnLK1Dz0UD0AJX4l2khWRi8RTEmH4hVqjjlk2Vmysq_k_icjAKK5aS3B2M6Bc5nI9yqrNMXW-37WIS9bNeyO4r7QXQASaabjAJlHLRj7q3uajqYbT5D9ifvLh6rynXg1P3TTJGSUYR4MNjLNrPdenoMPFN9k2zjK1kVceux5U8a9q2fPaoAggCN0syQcaiyXhoTbefNAwLzWlEpuPE02Uta5JYwfUcPYYpNFeBiSyIaZuJPjmD1FOTAfK0JFL2WfX5KFvCdhVejlb44umSKxxylYXDnp7y7psLENADV-5H2G57IHudAZAqSykdE_f8w.L-W7pqBztbZHiK2yqx0RoQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4wMTE3MyArMDkwMCBLU1QgbT0rMC4wMzg1MjM0MTciLCJlbmMiOiJBMjU2R0NNIiwicDJjIjo4MTkyLCJwMnMiOiJ3M3N5UzF4ZnFZWm5nRGF6In0.HbA2SJPgOrn15IhjDpqsYR3s-IXcvXwa2xfqe2hF9X-YpAATSNeOgA.B2ZdzTGSd921f2EH.UnGkOvL7a6RxTPRwvPqIuGQhN7HQcDocX0-k04jVSPuwmpLRlf_KlhKByvWyC2eAT-0Isb7q0gEL1Vz9HdanZUFMmMrBy-kcKFrfT3iqrp9MobGn6rYufmqxTykVGgItp4gpuu8wmbaOY9vwxr4pyd_r4S6Y7K8ghVL4EYSVg0a7LQuh-zb-r-Fj-QAOYh4JiDIw92gsFops28_hn6aSzVprqAXAaPO4Ej50GMf1aWlCihxuAPxsNbzNKFk_IgrUEnPc0TxZayN_Ncvs84bZYnMh_9SeI0yhM6RR7Bi3BPk02nkiAG9dDQ1oTWWrH_RrloqJs622Go9TOjNXuab4kGE1mIJ4H7FADCSalUFLrA.IzQ0A2ggzKgoPT0MdJ5PkQ \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account5.info b/scripts/lbm/template/.lbm/keyring-test/account5.info index 3d7fd857..5c6b1a68 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account5.info +++ b/scripts/lbm/template/.lbm/keyring-test/account5.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1NC43ODk1NjY3OTcgKzAwMDAgVVRDIG09KzAuNjIxNjE5NjI2IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiMUZuQTdQczV4U2loMHJaTyJ9.HovIiSHo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if9yB7HJQ.DyWGbibEh0GM_1eF7UCK5g \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account6.info b/scripts/lbm/template/.lbm/keyring-test/account6.info index b5a4e88e..fd241281 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account6.info +++ b/scripts/lbm/template/.lbm/keyring-test/account6.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1Ni4wMjI3OTY5NjQgKzAwMDAgVVRDIG09KzAuNjE1MjkxMTI3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiOHpZMW1vLTRMUUh0NmdQZiJ9.lDMakc5E1vTsKzYWm5vJI2y4gxwTh-sFOp8xwAEJ7cPZfQ9ye2HS2Q.cLVo_-OjEklAl9Up.VRroni7CCpWGSLncKqhH-cG1lPBPyQ4GDFXL9TFHAurbkfIu6-ALEemxNksse531tnKwdYq6kzdvINuDBjG-EaHgsYKJGzuhpT1TqHUPtd1CL45tzi7Ny2nWEdb76ONhrt9LV3Zn_CudMdV-jsxhKpXYBlGtA6Apy1RI6IDbpyAoiiZs7gmBJtTkggYkuInX3d4IWzTAHH-2EluGKD43V5-mvbVfG70VEUGeZTrcbglLTXAjfpAlA-rZV7vUBwBbbsyVn7UpQXSOS5aNqBc1Y9_Oyh_XFtKYRZPbzCP_XAKHraMbONlp1UfPQ9W_-y33HRISGCaLHhdZU_lJEpoKsqgNZOowWiYunkd_tHEgxQ.kCyG2M5YgdaBSoe3bR6_lQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4xMTM0OTQgKzA5MDAgS1NUIG09KzAuMDM3Nzk0NTQzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiLURwbG05TGEwalRueGxXYSJ9.iXt-wm80vs4jaagf7RyvQizV-nxiboqSUcG9FyJ4a1qQTgaBTM0z8w.Nx5JWDDHNe2FakYe.yfsPGjWjjt7k_8X3f2lmz5FONR5Z4wbx_x83jqnFFr4nZehjnPVLRn7MAYW54gUb-Vx2TAe0jGJR_SJjQYW7HDkwcpbdHC3id25YPyIgnVwuimqZpd9_KcF-326AZYmAImQqtRVfMdSe07OZc4vPtqXhOl5QODLWBVYG3xycn_D6YdKzLTh1OEF5QQCmcCo8TZfD2iucveLjcDn0m48mVdcrTruvD1yJjAN5yC8RSWZBK6lxvFjqvYpkdxmNQCAv-17rwOXRG9FSZCqN56uRG_B9jdCktpN8XvGAFDkcuWn_tcpwhxXVMsVQ0Ov2liFTvSvPerd_Q30ASf0WyY_sSjoynqEpY_2R3e4NhKJ_Qw.0-9XubhzyRzM2nVmCuW8Lw \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account7.info b/scripts/lbm/template/.lbm/keyring-test/account7.info index a3340e2c..23618d6d 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account7.info +++ b/scripts/lbm/template/.lbm/keyring-test/account7.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1Ny4yNDg5MTk4ODIgKzAwMDAgVVRDIG09KzAuNjI3MjQwODc3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiNmxOX2NWLS1LM21XalllbCJ9.TR-UI_5KPMWxGr-PNXHfWarHa0P71sD7_OC61l_onx0xD6DVqvnnRw.aV1zAwvD-fm8P8f9.KrE4dg5IAolFzCA0qcSa8cgxFg4vjgqub_JlWKoC_P9POKi-31nIKNOLB3vDYdxUhtuqy5wVK7jRipd0PPsP43VncjYyldQSp95tcMFXFh-ycnJ3nizbqOVGCsHxJrzJGqQGT0R0IYImPoAsSrKgk0KeuUmKF2063Pa9NhLKGfKTy0UJohIdgGzTex6VI8qtp9vdeSXejS71D9T4Z2RyaJTrdou8Cij0ynoz2FlAAZoULaAZ5JOCNaDv5OOamgCL4CksQlnvg4HazayX76Uyt0Ff8i2gskBzWQynLOXBPNOsnvcofvDRQyNL9tHC_sc6vI3l_wHTbuOcvgM7L1WsGSeN_9H1DsRSgP0gMmmXbQ.wWImhdapqoDkZ4ACCwrlGw \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4xODAyMjggKzA5MDAgS1NUIG09KzAuMDQ2MjQzMjkzIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZ0I0dWhnNVo3MUhCVnJLcyJ9.7UKFG1zhtqgEii-yxAEOqHrH3RotYsKMSFe6sbFzujUFhiEUoucNbA.xR2B84PKhvSQmXRA.9tMwV2EX3nagGDHOQLkS2WxCV53lS613eppC_24P7NtKYZrnqcHUFOdTx_k_8FD2D7iQMx52dWtjAua8WPF8TzS0BCOp7V34_RbnOQUy7425fuDNJp3jKNMc4nyoXH7mOqwvfUsi0VzwqvW_5ckKDiJ2V5zCEQlg8M8a7CSFa0kTMDYyFQGPfoZOixpVGCZl4gi6rxJfFtbGK-99rAVHpf7clyFShVAt003O5GeJWePI4VIr5T46DAJPtCgWASXoK8KnWYq_rMpjfJYwNeUKbTDlZq0XNlZcwGsqQCtDMbKKx-KV1lD3WI17sfnZTCXvfnFrhM4QSnMnKxk4Li8Ehvq9ML_46-SmqRd838D14g.2me9Rn0cRm2so72Q6AGyZQ \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/account8.info b/scripts/lbm/template/.lbm/keyring-test/account8.info index fa0b0075..01f2c789 100644 --- a/scripts/lbm/template/.lbm/keyring-test/account8.info +++ b/scripts/lbm/template/.lbm/keyring-test/account8.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyM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bkBGFcviqxuNmCr3wYtHLEXrReShQws2k1Iz0zkNnkNJrrwEMnTqZFmnrPctAnwB-qCigW_l65HYW0nm4aVzVZglDEQJBiNW1sRBUA4LizJf1ucVlASolwQseromurDdVpcIKgZZzhKQGfg-sxP-vyW8heXHJq2ZCOf6cqg.fuF9D4xv4RvmzQo9mDtsBA \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/acd8c1daad146da2d167f55ec00a5360dd013b7a.address b/scripts/lbm/template/.lbm/keyring-test/acd8c1daad146da2d167f55ec00a5360dd013b7a.address index 1ebc4cf5..551b8e0c 100644 --- a/scripts/lbm/template/.lbm/keyring-test/acd8c1daad146da2d167f55ec00a5360dd013b7a.address +++ b/scripts/lbm/template/.lbm/keyring-test/acd8c1daad146da2d167f55ec00a5360dd013b7a.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1NC44MjgyNzc5NjQgKzAwMDAgVVRDIG09KzAuNjYwMzMxMjUxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiNzM5UXVKYmpPQjdSYV92dSJ9.vNqnSxHlU8ROVhd7S8lvNju94BUyg-cKr0KnYRYyiKmBh5jmKLOwKQ.LoYYFGlL4BEEeqM6.MymrWIqsmMBgzVerbwx9euXdMumud1w5AjDw001VO389qt_8oUstxcW92fhum2nmaj0Ga3obf2Ii01Cs_b6QQlRmLzr4t7pv0icX0RjyjYiTkQBSvyGTD4QToifH_GiYX5xzxmvXeKqMkcDRW-v6IJ2nGfGoBrm5A_ZpQx104wOSbg1EL4nVSAOcXeuium5cggx0rBhO_kxSpgowncWm0rwIIFDHi_BISHdl6GIOExy58O8z5oHCZDN8.Iy9PkYPteFBi26RcWwbW7Q \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4wNjU5NDggKzA5MDAgS1NUIG09KzAuMDQyOTg3NzkyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiOWNWOEN3aGZnNC1fZ05DXyJ9.wIWeHPnZe8zLeypWH3bBNQqMJW28Sj2HFaoGjHH87pfLPJ3j1xgTaQ.Ut-wAxB1mCvGUQBr.kdaocLR8hlNMfx5Kap3CdZNkOQObhD4YE-V_ZjsW4h_6YCpTHf3ZnBaVGLfEboJ4KaLhze5m3wuIOA6qFOTKyld6C3VODPqH5kXBwnbfhUQTG4bL05w9BsLFFzRZUFJS71KVIjlDtct9vnZM2nwxSW9ApvxZkcYb8_orVbhzJkkUadWBo5bd75gl1H6-L9molN2E8bGqi8XYWL444cs391jY4CHS5rDHM_WVjW1SuszxTF0Gn4g49m9H.63o4nKITdt0LNLpsyvcOUg \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/aebb0e931b591a0ad2c6c1f2c9ac094643d41119.address b/scripts/lbm/template/.lbm/keyring-test/aebb0e931b591a0ad2c6c1f2c9ac094643d41119.address index afd8b341..09abd70a 100644 --- a/scripts/lbm/template/.lbm/keyring-test/aebb0e931b591a0ad2c6c1f2c9ac094643d41119.address +++ b/scripts/lbm/template/.lbm/keyring-test/aebb0e931b591a0ad2c6c1f2c9ac094643d41119.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo0OC42NTg0MjE2MjcgKzAwMDAgVVRDIG09KzAuNjU5OTE0ODc3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiNkFsMUsyQ0tZeHJ2RlMzdCJ9.frAW7nJ0ROI5phwhxjkCwJYOQGhDjb0nzjUOYnwsrigstdQ2XEQsVw.sTArWCvKhuW7R-59.2XiGIkwvsLfW1gVNPQModsshZCO277gArdm0jx_F9kZKECrgmfBgUIZH20WMtEMvJBkbYKEdX1R1oQTowJsSGQ9tJKIcOVcvx_1K8QKLyxfe4T_Dhc7H6u_wfrJB3Lj59phtAXdJfGLxtUrn4UuHhhasXPzmTBOgUQqejEnVAjqhvsFQ2FuL8PFBH66x66xKM1w7bY-yUeeAmnP3K9qmIzXNzE-4Y6TgTQWFY6cfp2vjbKMhuXKv-nK-.Z7HrlOG-BU64E6PnVAowGQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0My44MDgyNjUgKzA5MDAgS1NUIG09KzAuMDM5MDI3NzA5IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoibVlTb01tZTN2amJ0V2s1SCJ9.0TgyiYJ0wkRqHVnEe_HAvs55cNWppCIk_jtO9QhEyOen4mLyKNrqdw.bQCskOCR3bYQYbDo.XFGdrELV8ilcYnHw6rDYt3U8MGOJZOEDCdwQ96GNscz2zA5Q9xF_NKsVwjwn9BXBYcontR0lZ-rFjFibjtKtD3tZPnoFV1Vg6yEljkid3Sna57O-mQbuhBiDkWBTZ2UaPj7e-5m41LEKxVse2GC9uqtsftjZA-TtncqKq3iK7Cdc0xMopFAS0SZoBHZFGUaVDHmq3lkWxLHAYqgNo2YI7zqENU9-bSPCJjB5Odx9Qsh_zZYpTQqTOcFp.UgR_sRNNaN22xCPMKI8nag \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/c83959c78e25fa1eda888ff207f5823d2cf06a58.address b/scripts/lbm/template/.lbm/keyring-test/c83959c78e25fa1eda888ff207f5823d2cf06a58.address index 465e9679..0b65284d 100644 --- a/scripts/lbm/template/.lbm/keyring-test/c83959c78e25fa1eda888ff207f5823d2cf06a58.address +++ b/scripts/lbm/template/.lbm/keyring-test/c83959c78e25fa1eda888ff207f5823d2cf06a58.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkI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/.lbm/keyring-test/c91ee79a45654ecb1d575eb77037f72b81631f33.address b/scripts/lbm/template/.lbm/keyring-test/c91ee79a45654ecb1d575eb77037f72b81631f33.address index e0954af5..bb92300e 100644 --- a/scripts/lbm/template/.lbm/keyring-test/c91ee79a45654ecb1d575eb77037f72b81631f33.address +++ b/scripts/lbm/template/.lbm/keyring-test/c91ee79a45654ecb1d575eb77037f72b81631f33.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1MS4xMzg2MzA0NjIgKzAwMDAgVVRDIG09KzAuNjYyMzk3MDAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoib1RqcTNGTHlYdnNacWRIaCJ9.ggclmFpaxJPLLVSElyn8I2_7EI_U2_n4pkul3rmCr_WJC67_bLTGNw.Wvk7N6hFV-7BZRoq.Uq_XMh-0vnT1WcvMmz9uu_0aNrMGiAh25NzoQlJrMlgBTH17jHl4tuvffa_A_7wQxGxphQ6-4EZODR41seiWqVu-TdtH6ia3TxzoZiTaoeamMWQpDBrwBj3Ec1ZUUXbTJvILiJZkiUtBsbjRQazLsC2RsHxMoo77xmuVzcaWM-XzzEfBMAI_c3C1hcVxUuUcUNnzNii0XpFR6oSBfNGajLXKtOrh97mDf6IwE_XTEZgorfK6AInJUcls.gIqXJY5_ep5RB68KBPHY3Q \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0My45MTI2MjggKzA5MDAgS1NUIG09KzAuMDQ2NjM5MzM0IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiWHdVSVRqRUZjaXNsWEpLUSJ9.UAX0MtIrdmN2O0_Z-BC68OQNkMdPwPEq20ymPmshvOVmwIgXtrU9Tg.BzNrPbrHBIWJMrL2.Xh-s4bFsKvtbMgaoergaJraiQaEH-rAjKqOlH6y-lrGlYPPlc7u04i6D5wzRSofJ1wkFvozo8OVb4wsfXGJJeQ1VdZHtNRqBnbfX0ESsX44qiwr3sXO8ADUc7QjrCfIv6YWj-B95q4eal5L4knftMnUYBzzo4YGchcpGps6SgeJYMSjmcWUae0y1KzGOf4QLC4sg1wUn0xRINy9rGLmLi_xpktI6cNG6y3T9hEndXc39MO6rWPYcJHop.SrVwa-QgJNDGysh9gPnogQ \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/ca420033fc2858fbe68b38189596993b73fba5f4.address b/scripts/lbm/template/.lbm/keyring-test/ca420033fc2858fbe68b38189596993b73fba5f4.address index 07c6a43b..54cce925 100644 --- a/scripts/lbm/template/.lbm/keyring-test/ca420033fc2858fbe68b38189596993b73fba5f4.address +++ b/scripts/lbm/template/.lbm/keyring-test/ca420033fc2858fbe68b38189596993b73fba5f4.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NDo1Ni4wNjE4MTk2MzEgKzAwMDAgVVRDIG09KzAuNjU0MzEzNzUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiN1hocDNDQk55Q2p4Z2kzdyJ9.sF-qXkXqehM13K4oEH4N35cHGQ-z-pttrxbCGkaD4zVz6iGN8LIcsQ.D36uI2gBdLkiBd9S.K9TCglOCIcCQYhMMh9VpAwj8ZKgQpDTyIkQZYEJqOw8Fbmrj8KY0CYStoOq2U_YLJQS3o_dQuA7ITMiYD8rFtHmPJfDIZwWrlgqMTRVsMP0RJQr3m0J8iw__BcY3rPQfKWhh5g_YjHG34Y_Qu50p-_7sHiYPSs-5pIPZ8hICqxvWnyIJDtrzV3uz_sZwQjRY15IfA_HHcKJ4GvB3_2aIshWgdJ42JC_yulHNThCR39pcyFzja8-8rOid.mPDt47ZlftJQkpSAFiW6DA \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4xMjM3NTEgKzA5MDAgS1NUIG09KzAuMDQ4MDUxNzA5IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoidDBxTzl3dUlSOTRtNkY2cCJ9.Hyl_H8i0chcRbcB9zYlwe4WV86wmqminB_LTjnbSs0GGzmuu95eXew.KdumoiP-zUT3O-Uw.LXMi59bOy2Z1T70rZWtYat-RgL5u8alsqKrIp6Y5HoiooXC2lPpwZcWmY9lf_Pnb8f_QOXI63Cf3cp_QeTWAs7_2qqr5f1xoV6YNniFw18zjpjeHZLSA05sUmhq_1lTyWZffYNc2oW2BCqVVXvU8QBqDvt-SwMq4OO3PzAZ1Y1KRCVPGruwZp5x9N3UeRP1OuTZUeqWZYt__gJbvBFsrcvDLQ-21h2geX3vbX53pHUUj7krBgBhAffUQ.FlkLJ060ccCgpBe1Mxj7Xw \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/d552c77c0cd770b0696c101db34a7c88c9e60ea3.address b/scripts/lbm/template/.lbm/keyring-test/d552c77c0cd770b0696c101db34a7c88c9e60ea3.address index 79630cba..caeb3cb6 100644 --- a/scripts/lbm/template/.lbm/keyring-test/d552c77c0cd770b0696c101db34a7c88c9e60ea3.address +++ b/scripts/lbm/template/.lbm/keyring-test/d552c77c0cd770b0696c101db34a7c88c9e60ea3.address @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NTowMC4wNjcyMzYxNzUgKzAwMDAgVVRDIG09KzAuOTkzMTQ0MjUyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiOFZvVFRaTDlvV2VqRkEtUiJ9.cRCAsf1ezSGtq7Zzdpo9dOvntFwHZE0NLjq3l-7-WHZVMh8DdM-vrQ.UgVaRi-sxVxFmhhQ.Qo9E6JHSuExWhhxOCAqJhFe6FfRoVnkdpw0sxQQIrKY_eA740KcK1_VUKF_txvs9OTGPc06nuwLHe4z_6dbVutapH0hEcr727MVsep2GjmVAJ1dZmMKPRcCLBgAxT-BjY_yUdFvi9NzA462F-HevgIWnFxOEMsNiGIa98cNwB02t2kO6c1gM9ROxrGTGF31neDMsGNy-4BOrZW47DrXR2uBH4lVBZZ8SfKpjuS3HVN7_hvcEFI5EEu64.OvW5-_tghzl35CQV4pdOUQ \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4zMDYyNzIgKzA5MDAgS1NUIG09KzAuMDU3MTkyMDAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiZ0l2NHZub1Z6djhpY0dZWSJ9.kctk5oFIZ9eYooUP4c_V10IZK7JTfe4l6x214nGL-F2kXihpRmSOig.tOdus7LrWeNnyGca.qO1Ojm69aK1ESxPQ8YYRVfh8PgJcCmqa6Z6muID0_sjgy_JtM3keen38738WURutZKTQdpg9WsM3RlrTM8jcC6X_YS3cMyXnrtxWQfk5ip0QueZk7MYCHFLx5MSOr2thBjVa5N_BVzgPYA-rWntJiLI1h4ICXtpvPpdm1mjPl8EjNhchiqBXj3xm_i9E9yVouB6SSaTmu0ITf7Et5iQfFAsh1fYtmSg7EWKRi7TObfISBU2D77gVYDLC.jVLj8Tmbs60qu6mn67ZXUA \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/ef529334556bb1390b9b96fd73949275314773e7.address b/scripts/lbm/template/.lbm/keyring-test/ef529334556bb1390b9b96fd73949275314773e7.address index 5893578d..02098959 100644 --- a/scripts/lbm/template/.lbm/keyring-test/ef529334556bb1390b9b96fd73949275314773e7.address +++ b/scripts/lbm/template/.lbm/keyring-test/ef529334556bb1390b9b96fd73949275314773e7.address @@ -1 +1 @@ -eyJh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IbHi.1uQdBlqRrcTP_7e6zMO3JA \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/multisig0.info b/scripts/lbm/template/.lbm/keyring-test/multisig0.info index 15e98151..2f9b6546 100644 --- a/scripts/lbm/template/.lbm/keyring-test/multisig0.info +++ b/scripts/lbm/template/.lbm/keyring-test/multisig0.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMi0xMyAxMzo0NTowMC4wMjk3MTA0NjYgKzAwMDAgVVRDIG09KzAuOTU1NjE4NTg1IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoib3N3MWhzbDUweV8xTzRyTCJ9.YEqNSy-mvw2lJbDabR1GI6-qXboHk8Zy7fc6LdYb-ku_fvkZCqMalQ.mfD697QnfXpE9PUn.ekQ_DZQVQ31_zAAFf3jnp0YnZmf6KZ54qA1gOKfx3TPLnsyDhWmh8zUCcouMW0z08zGK_C7c8s4qwXSMmFOVVQK67DYWd8G-VdDRDN210zUxCk7PKUClXJj94CWDX8llQ6RryYKxskCICU6bg1wV8e_grfZLRO2lCKnZrd_wKihA1cNW5jUtGz7-k23b4iREmKZnpIeEjl46_ETzzuRBYt1s41xn3Q2PLXoSgVaDoAfXvig14hY0hcCHKhmM8OZnkbn8vko9jlbiOpWpj04sCiihcJQixw-WHoSe8ebGEtoQ_k5ugKv6IlBhG7l7PaaDU6GGeRiyJKAyeUG7mDqhTTvZgDG2Yi7NbFLyv6zkW36rqfqMUFCItCug2EcBW8SIlPq5jXXqnHMUG7fG0tokqmd_VYnYYzNO3Vl5LEbOIl1RJXyG-YJ-IxL6kPPEEselTaeRBGkzrgLD1_x_8W02iQky7CN0rEl6eeRTfHR1Tz-q7q2wYbR76o6jIf4Tc0dUu6giuMPwoo8-E1EWZAmMEs15q0Tyr9MNjFpRbonjT-TTqD7GfiEgxCmi3-U4QNtVjzMMTA.8qMgQEG65aWKfgEwwHPFOg \ No newline at end of file +eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyMy0wMy0zMCAyMTo1ODo0NC4zMDM5NDkgKzA5MDAgS1NUIG09KzAuMDU0ODY5NTQyIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiU2hwWDZwMEsxelZXQUFZTyJ9.Q4b074mGqdNUUrdlriJvZ05ZO739Xa9aPcBsrc5wh3zGVA9lWiOISw.cUUuZ_wgA8yCW8dW.acuA_WWrj3E-mR1axLJbF238HmqTofSHHu8MNottA9EBDjy6KGVJuTD6nCX_jFZf-3eysgVKdSOJVxx35nQfgf01dGwtFa6BhYmiQUoG8EnSdnOtOsjLC23ZePsRYVx676D_Ekx5ddQr1pOqjNsIj2wqy1v0jnzwGbtJ-j3rUyh_dSFRxA0beWV-pplkRcmtjXy0ICl6_QHppFqc95TW2Sgq0VYrEW5I7StTooVj-tyIfQ-UO9M_gTcNEY2aObYns8cRJ2En3_gaKchy2Wdk9dF98VpycZVmn45z_p36JY4L79hXjn7KPOTlD_CutIp7odXb98hEoy24q-gxGb84vbYr3CaweKCmlg4blYaoqbALBANLDCmEE_756cHM7-z1NZ-I7wny0WFl0qhcMGTkwZWxD6_sl_4rq8jdMt3a_l6U3jFBFV6t4fgrikm8kav8jjxvmT2as43H3mOdhIRc1COaSojO2_8Vc5k98kfFEpuTk_YwQbtxmaOVEY_2suTM_LJF7IKWVOmMVEpQH45Rkowoo3dNj4m8XRIXR_ol4eXABOC0u6CtplJ2rGLc6CrmqZwO7Q.hhvKapg2GIYntD9L7K0AWQ \ No newline at end of file diff --git a/scripts/lbm/template/.lbm/keyring-test/validator0.info b/scripts/lbm/template/.lbm/keyring-test/validator0.info index 629f5670..d68321a7 100644 --- a/scripts/lbm/template/.lbm/keyring-test/validator0.info +++ b/scripts/lbm/template/.lbm/keyring-test/validator0.info @@ -1 +1 @@ -eyJhbGciOiJQQkVTMi1IUzI1NitBMTI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OjXWYPVgZ2xSdUA-1N_n8rdh66BOr0usY0BC9Wq1iLNhmoXNAw7Nu-aou9Pm5MfVytZxqOWFVCtdzaAL73m3R5TFPlvZiOJ6J4aN4Jtwq55TaydL-67iB0iuyD6cX3mOEx0Ae4hHEObXGoKbxV9SxjmFf5klCrLa0_kuhQcnJRE2RH_Z0TcHGkPjbvr-A7W9AdLPwidCYSvCjWzd4CdA.auSfF-awVhmIkWeseyfqIA \ No newline at end of file diff --git a/scripts/lbm/template/run_lbm.sh b/scripts/lbm/template/run_lbm.sh index 57006d33..3adc8509 100755 --- a/scripts/lbm/template/run_lbm.sh +++ b/scripts/lbm/template/run_lbm.sh @@ -2,6 +2,6 @@ set -o errexit -o nounset -o pipefail command -v shellcheck >/dev/null && shellcheck "$0" -cp -R "/template/.lbm" /root +cp -R "/template/.lbm" /root/.finschia mkdir -p /root/log -lbm start --rpc.laddr tcp://0.0.0.0:26658 --trace +fnsad start --rpc.laddr tcp://0.0.0.0:26658 --trace diff --git a/scripts/lbm/template/setup.sh b/scripts/lbm/template/setup.sh index 6471f1d0..b0dceabf 100755 --- a/scripts/lbm/template/setup.sh +++ b/scripts/lbm/template/setup.sh @@ -19,14 +19,14 @@ then then mode="testnet" fi - LBM="docker run -i --rm -p 26656:26656 -p 26657:26657 -v $CONFIG_DIR:/root/.lbm --platform=linux/amd64 $REPOSITORY:$VERSION lbm" + LBM="docker run -i --rm -p 26656:26656 -p 26657:26657 -v $CONFIG_DIR:/root/.lbm --platform=linux/amd64 $REPOSITORY:$VERSION fnsad" CHAIN_DIR="/root/.lbm" elif [[ $1 == "testnet" ]] then mode="testnet" fi -LBM=${LBM:-lbm} +LBM=${LBM:-fnsad} # initialize rm -rf $CONFIG_DIR