Regenerate codec for v0.40.0-rc3
This commit is contained in:
parent
659c8b2ea4
commit
05053fbd47
@ -42,7 +42,7 @@
|
||||
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
|
||||
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js",
|
||||
"preget-proto": "rm -rf proto",
|
||||
"get-proto": "REF=v0.40.0-rc2 ./scripts/get-proto.sh",
|
||||
"get-proto": "REF=v0.40.0-rc3 ./scripts/get-proto.sh",
|
||||
"predefine-proto": "./scripts/predefine-proto.sh",
|
||||
"define-proto": "./scripts/define-proto.sh",
|
||||
"postdefine-proto": "prettier --write \"src/codec/generated/codecimpl.*\""
|
||||
|
||||
@ -1965,6 +1965,9 @@ export namespace tendermint {
|
||||
interface IPublicKey {
|
||||
/** PublicKey ed25519 */
|
||||
ed25519?: Uint8Array | null;
|
||||
|
||||
/** PublicKey secp256k1 */
|
||||
secp256k1?: Uint8Array | null;
|
||||
}
|
||||
|
||||
/** Represents a PublicKey. */
|
||||
@ -1978,8 +1981,11 @@ export namespace tendermint {
|
||||
/** PublicKey ed25519. */
|
||||
public ed25519: Uint8Array;
|
||||
|
||||
/** PublicKey secp256k1. */
|
||||
public secp256k1: Uint8Array;
|
||||
|
||||
/** PublicKey sum. */
|
||||
public sum?: "ed25519";
|
||||
public sum?: "ed25519" | "secp256k1";
|
||||
|
||||
/**
|
||||
* Creates a new PublicKey instance using the specified properties.
|
||||
|
||||
@ -1672,9 +1672,10 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
||||
}
|
||||
PublicKey.prototype.ed25519 = $util.newBuffer([]);
|
||||
PublicKey.prototype.secp256k1 = $util.newBuffer([]);
|
||||
let $oneOfFields;
|
||||
Object.defineProperty(PublicKey.prototype, "sum", {
|
||||
get: $util.oneOfGetter(($oneOfFields = ["ed25519"])),
|
||||
get: $util.oneOfGetter(($oneOfFields = ["ed25519", "secp256k1"])),
|
||||
set: $util.oneOfSetter($oneOfFields),
|
||||
});
|
||||
PublicKey.create = function create(properties) {
|
||||
@ -1683,6 +1684,8 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
PublicKey.encode = function encode(m, w) {
|
||||
if (!w) w = $Writer.create();
|
||||
if (m.ed25519 != null && Object.hasOwnProperty.call(m, "ed25519")) w.uint32(10).bytes(m.ed25519);
|
||||
if (m.secp256k1 != null && Object.hasOwnProperty.call(m, "secp256k1"))
|
||||
w.uint32(18).bytes(m.secp256k1);
|
||||
return w;
|
||||
};
|
||||
PublicKey.decode = function decode(r, l) {
|
||||
@ -1695,6 +1698,9 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
case 1:
|
||||
m.ed25519 = r.bytes();
|
||||
break;
|
||||
case 2:
|
||||
m.secp256k1 = r.bytes();
|
||||
break;
|
||||
default:
|
||||
r.skipType(t & 7);
|
||||
break;
|
||||
|
||||
@ -1965,6 +1965,9 @@ export namespace tendermint {
|
||||
interface IPublicKey {
|
||||
/** PublicKey ed25519 */
|
||||
ed25519?: Uint8Array | null;
|
||||
|
||||
/** PublicKey secp256k1 */
|
||||
secp256k1?: Uint8Array | null;
|
||||
}
|
||||
|
||||
/** Represents a PublicKey. */
|
||||
@ -1978,8 +1981,11 @@ export namespace tendermint {
|
||||
/** PublicKey ed25519. */
|
||||
public ed25519: Uint8Array;
|
||||
|
||||
/** PublicKey secp256k1. */
|
||||
public secp256k1: Uint8Array;
|
||||
|
||||
/** PublicKey sum. */
|
||||
public sum?: "ed25519";
|
||||
public sum?: "ed25519" | "secp256k1";
|
||||
|
||||
/**
|
||||
* Creates a new PublicKey instance using the specified properties.
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
|
||||
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js",
|
||||
"preget-proto": "rm -rf proto",
|
||||
"get-proto": "REF=v0.40.0-rc2 ./scripts/get-proto.sh",
|
||||
"get-proto": "REF=v0.40.0-rc3 ./scripts/get-proto.sh",
|
||||
"predefine-proto": "./scripts/predefine-proto.sh",
|
||||
"define-proto": "./scripts/define-proto.sh",
|
||||
"postdefine-proto": "prettier --write \"src/codec/generated/codecimpl.*\""
|
||||
|
||||
@ -12032,6 +12032,9 @@ export namespace tendermint {
|
||||
interface IPublicKey {
|
||||
/** PublicKey ed25519 */
|
||||
ed25519?: Uint8Array | null;
|
||||
|
||||
/** PublicKey secp256k1 */
|
||||
secp256k1?: Uint8Array | null;
|
||||
}
|
||||
|
||||
/** Represents a PublicKey. */
|
||||
@ -12045,8 +12048,11 @@ export namespace tendermint {
|
||||
/** PublicKey ed25519. */
|
||||
public ed25519: Uint8Array;
|
||||
|
||||
/** PublicKey secp256k1. */
|
||||
public secp256k1: Uint8Array;
|
||||
|
||||
/** PublicKey sum. */
|
||||
public sum?: "ed25519";
|
||||
public sum?: "ed25519" | "secp256k1";
|
||||
|
||||
/**
|
||||
* Creates a new PublicKey instance using the specified properties.
|
||||
|
||||
@ -9370,9 +9370,10 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
||||
}
|
||||
PublicKey.prototype.ed25519 = $util.newBuffer([]);
|
||||
PublicKey.prototype.secp256k1 = $util.newBuffer([]);
|
||||
let $oneOfFields;
|
||||
Object.defineProperty(PublicKey.prototype, "sum", {
|
||||
get: $util.oneOfGetter(($oneOfFields = ["ed25519"])),
|
||||
get: $util.oneOfGetter(($oneOfFields = ["ed25519", "secp256k1"])),
|
||||
set: $util.oneOfSetter($oneOfFields),
|
||||
});
|
||||
PublicKey.create = function create(properties) {
|
||||
@ -9381,6 +9382,8 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
PublicKey.encode = function encode(m, w) {
|
||||
if (!w) w = $Writer.create();
|
||||
if (m.ed25519 != null && Object.hasOwnProperty.call(m, "ed25519")) w.uint32(10).bytes(m.ed25519);
|
||||
if (m.secp256k1 != null && Object.hasOwnProperty.call(m, "secp256k1"))
|
||||
w.uint32(18).bytes(m.secp256k1);
|
||||
return w;
|
||||
};
|
||||
PublicKey.decode = function decode(r, l) {
|
||||
@ -9393,6 +9396,9 @@ exports.tendermint = $root.tendermint = (() => {
|
||||
case 1:
|
||||
m.ed25519 = r.bytes();
|
||||
break;
|
||||
case 2:
|
||||
m.secp256k1 = r.bytes();
|
||||
break;
|
||||
default:
|
||||
r.skipType(t & 7);
|
||||
break;
|
||||
|
||||
@ -12032,6 +12032,9 @@ export namespace tendermint {
|
||||
interface IPublicKey {
|
||||
/** PublicKey ed25519 */
|
||||
ed25519?: Uint8Array | null;
|
||||
|
||||
/** PublicKey secp256k1 */
|
||||
secp256k1?: Uint8Array | null;
|
||||
}
|
||||
|
||||
/** Represents a PublicKey. */
|
||||
@ -12045,8 +12048,11 @@ export namespace tendermint {
|
||||
/** PublicKey ed25519. */
|
||||
public ed25519: Uint8Array;
|
||||
|
||||
/** PublicKey secp256k1. */
|
||||
public secp256k1: Uint8Array;
|
||||
|
||||
/** PublicKey sum. */
|
||||
public sum?: "ed25519";
|
||||
public sum?: "ed25519" | "secp256k1";
|
||||
|
||||
/**
|
||||
* Creates a new PublicKey instance using the specified properties.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user