Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url = [email protected]:neutron-org/cosmos-sdk.git
[submodule "feemarket"]
path = protos/feemarket-src
url = [email protected]:skip-mev/feemarket.git
url = [email protected]:neutron-org/feemarket.git
[submodule "ibc-go"]
path = protos/ibc-go-src
url = [email protected]:cosmos/ibc-go.git
Expand All @@ -18,7 +18,7 @@
url = [email protected]:neutron-org/neutron.git
[submodule "slinky"]
path = protos/slinky-src
url = [email protected]:skip-mev/slinky.git
url = [email protected]:neutron-org/connect.git
[submodule "wasmd"]
path = protos/wasmd-src
url = [email protected]:neutron-org/wasmd.git
2 changes: 1 addition & 1 deletion protos/admin-module-src
Submodule admin-module-src updated 0 files
2 changes: 1 addition & 1 deletion protos/neutron-src
Submodule neutron-src updated 713 files
2 changes: 1 addition & 1 deletion protos/slinky-src
2 changes: 1 addition & 1 deletion protos/wasmd-src
14 changes: 7 additions & 7 deletions scripts/set-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ readonly NEUTRON_DIR="neutron-src"
readonly SLINKY_DIR="slinky-src"
readonly WASMD_DIR="wasmd-src"

readonly ADMIN_MODULE_REV="chore/cosmos-sdk-0.53"
readonly ADMIN_MODULE_REV="v2.1.0"
readonly BLOCK_SDK_REV="v2.1.5"
readonly COSMOS_SDK_REV="releases/v0.53.x"
readonly FEEMARKET_REV="chore/cosmos-sdk-0.53"
readonly IBC_GO_REV="v10.4.0"
readonly NEUTRON_REV="feat/cosmos-sdk-53"
readonly SLINKY_REV="feat/cosmos-sdk-53"
readonly WASMD_REV="releases/v0.61.x"
readonly COSMOS_SDK_REV="v0.53.4-neutron"
readonly FEEMARKET_REV="v1.2.0"
readonly IBC_GO_REV="v10.5.0"
readonly NEUTRON_REV="feat/tokenfactory-gaslimit-govgated"
readonly SLINKY_REV="v1.3.0"
readonly WASMD_REV="v0.61.6-neutron"

checkout_version () {
git -C protos/$1 checkout $2
Expand Down
2 changes: 1 addition & 1 deletion src/binary.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ts-nocheck
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].20
* This file and any referenced files were automatically generated by @cosmology/[email protected].21
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ts-nocheck
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].20
* This file and any referenced files were automatically generated by @cosmology/[email protected].21
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/json-safe.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ts-nocheck
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].20
* This file and any referenced files were automatically generated by @cosmology/[email protected].21
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
*/
Expand Down
16 changes: 16 additions & 0 deletions src/neutron/coinfactory/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export interface Params {
feeCollectorAddress: string;
/** whitelisted_hooks is the list of hooks which are allowed to be added and executed */
whitelistedHooks: WhitelistedHook[];
/** Sets a limit on the gas that can be consumed by the before_send hook. */
trackBeforeSendGasLimit: bigint;
}
function createBaseWhitelistedHook(): WhitelistedHook {
return {
Expand Down Expand Up @@ -101,6 +103,7 @@ function createBaseParams(): Params {
denomCreationGasConsume: undefined,
feeCollectorAddress: "",
whitelistedHooks: [],
trackBeforeSendGasLimit: BigInt(0),
};
}
export const Params = {
Expand All @@ -118,6 +121,9 @@ export const Params = {
for (const v of message.whitelistedHooks) {
WhitelistedHook.encode(v!, writer.uint32(34).fork()).ldelim();
}
if (message.trackBeforeSendGasLimit !== BigInt(0)) {
writer.uint32(40).uint64(message.trackBeforeSendGasLimit);
}
return writer;
},
decode(input: BinaryReader | Uint8Array, length?: number): Params {
Expand All @@ -139,6 +145,9 @@ export const Params = {
case 4:
message.whitelistedHooks.push(WhitelistedHook.decode(reader, reader.uint32()));
break;
case 5:
message.trackBeforeSendGasLimit = reader.uint64();
break;
default:
reader.skipType(tag & 7);
break;
Expand All @@ -155,6 +164,8 @@ export const Params = {
if (isSet(object.feeCollectorAddress)) obj.feeCollectorAddress = String(object.feeCollectorAddress);
if (Array.isArray(object?.whitelistedHooks))
obj.whitelistedHooks = object.whitelistedHooks.map((e: any) => WhitelistedHook.fromJSON(e));
if (isSet(object.trackBeforeSendGasLimit))
obj.trackBeforeSendGasLimit = BigInt(object.trackBeforeSendGasLimit.toString());
return obj;
},
toJSON(message: Params): JsonSafe<Params> {
Expand All @@ -173,6 +184,8 @@ export const Params = {
} else {
obj.whitelistedHooks = [];
}
message.trackBeforeSendGasLimit !== undefined &&
(obj.trackBeforeSendGasLimit = (message.trackBeforeSendGasLimit || BigInt(0)).toString());
return obj;
},
fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params {
Expand All @@ -183,6 +196,9 @@ export const Params = {
}
message.feeCollectorAddress = object.feeCollectorAddress ?? "";
message.whitelistedHooks = object.whitelistedHooks?.map((e) => WhitelistedHook.fromPartial(e)) || [];
if (object.trackBeforeSendGasLimit !== undefined && object.trackBeforeSendGasLimit !== null) {
message.trackBeforeSendGasLimit = BigInt(object.trackBeforeSendGasLimit.toString());
}
return message;
},
};
16 changes: 16 additions & 0 deletions src/osmosis/tokenfactory/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export interface Params {
feeCollectorAddress: string;
/** whitelisted_hooks is the list of hooks which are allowed to be added and executed */
whitelistedHooks: WhitelistedHook[];
/** Sets a limit on the gas that can be consumed by the before_send hook. */
trackBeforeSendGasLimit: bigint;
}
function createBaseWhitelistedHook(): WhitelistedHook {
return {
Expand Down Expand Up @@ -101,6 +103,7 @@ function createBaseParams(): Params {
denomCreationGasConsume: undefined,
feeCollectorAddress: "",
whitelistedHooks: [],
trackBeforeSendGasLimit: BigInt(0),
};
}
export const Params = {
Expand All @@ -118,6 +121,9 @@ export const Params = {
for (const v of message.whitelistedHooks) {
WhitelistedHook.encode(v!, writer.uint32(34).fork()).ldelim();
}
if (message.trackBeforeSendGasLimit !== BigInt(0)) {
writer.uint32(40).uint64(message.trackBeforeSendGasLimit);
}
return writer;
},
decode(input: BinaryReader | Uint8Array, length?: number): Params {
Expand All @@ -139,6 +145,9 @@ export const Params = {
case 4:
message.whitelistedHooks.push(WhitelistedHook.decode(reader, reader.uint32()));
break;
case 5:
message.trackBeforeSendGasLimit = reader.uint64();
break;
default:
reader.skipType(tag & 7);
break;
Expand All @@ -155,6 +164,8 @@ export const Params = {
if (isSet(object.feeCollectorAddress)) obj.feeCollectorAddress = String(object.feeCollectorAddress);
if (Array.isArray(object?.whitelistedHooks))
obj.whitelistedHooks = object.whitelistedHooks.map((e: any) => WhitelistedHook.fromJSON(e));
if (isSet(object.trackBeforeSendGasLimit))
obj.trackBeforeSendGasLimit = BigInt(object.trackBeforeSendGasLimit.toString());
return obj;
},
toJSON(message: Params): JsonSafe<Params> {
Expand All @@ -173,6 +184,8 @@ export const Params = {
} else {
obj.whitelistedHooks = [];
}
message.trackBeforeSendGasLimit !== undefined &&
(obj.trackBeforeSendGasLimit = (message.trackBeforeSendGasLimit || BigInt(0)).toString());
return obj;
},
fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params {
Expand All @@ -183,6 +196,9 @@ export const Params = {
}
message.feeCollectorAddress = object.feeCollectorAddress ?? "";
message.whitelistedHooks = object.whitelistedHooks?.map((e) => WhitelistedHook.fromPartial(e)) || [];
if (object.trackBeforeSendGasLimit !== undefined && object.trackBeforeSendGasLimit !== null) {
message.trackBeforeSendGasLimit = BigInt(object.trackBeforeSendGasLimit.toString());
}
return message;
},
};
2 changes: 1 addition & 1 deletion src/utf8.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ts-nocheck
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].20
* This file and any referenced files were automatically generated by @cosmology/[email protected].21
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/varint.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ts-nocheck
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].20
* This file and any referenced files were automatically generated by @cosmology/[email protected].21
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
*/
Expand Down