Skip to content

Commit

Permalink
use 4.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
freeelancer committed Jan 22, 2024
1 parent 9f09112 commit 7dbf263
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
"dependencies": {
"@terra-money/legacy.proto": "npm:@terra-money/terra.proto@^0.1.7",
"@terra-money/terra.proto": "^4.0.5",
"@terra-money/terra.proto": "^4.0.6",
"assert": "^2.0.0",
"axios": "^0.27.2",
"bech32": "^2.0.0",
Expand Down
30 changes: 15 additions & 15 deletions src/core/feemarket/params/Params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export class Params extends JSONSerializable<
public delta: string,
public minLearningRate: string,
public maxLearningRate: string,
public targetBlockUtilization: string,
public maxBlockUtilization: string,
public window: string,
public targetBlockUtilization: number,
public maxBlockUtilization: number,
public window: number,
public enabled: boolean,
public defaultFeeDenom: string
) {
Expand Down Expand Up @@ -156,9 +156,9 @@ export class Params extends JSONSerializable<
proto.delta,
proto.minLearningRate,
proto.maxLearningRate,
proto.targetBlockUtilization.toString(),
proto.maxBlockUtilization.toString(),
proto.window.toString(),
proto.targetBlockUtilization.toNumber(),
proto.maxBlockUtilization.toNumber(),
proto.window.toNumber(),
proto.enabled,
proto.defaultFeeDenom
);
Expand All @@ -185,9 +185,9 @@ export class Params extends JSONSerializable<
delta,
minLearningRate,
maxLearningRate,
targetBlockUtilization: Long.fromString(targetBlockUtilization),
maxBlockUtilization: Long.fromString(maxBlockUtilization),
window: Long.fromString(window),
targetBlockUtilization: Long.fromNumber(targetBlockUtilization),
maxBlockUtilization: Long.fromNumber(maxBlockUtilization),
window: Long.fromNumber(window),
enabled,
defaultFeeDenom,
});
Expand All @@ -204,9 +204,9 @@ export namespace Params {
delta: string;
minLearningRate: string;
maxLearningRate: string;
targetBlockUtilization: string;
maxBlockUtilization: string;
window: string;
targetBlockUtilization: number;
maxBlockUtilization: number;
window: number;
enabled: boolean;
defaultFeeDenom: string;
};
Expand All @@ -220,9 +220,9 @@ export namespace Params {
delta: string;
minLearningRate: string;
maxLearningRate: string;
targetBlockUtilization: string;
maxBlockUtilization: string;
window: string;
targetBlockUtilization: number;
maxBlockUtilization: number;
window: number;
enabled: boolean;
defaultFeeDenom: string;
}
Expand Down

0 comments on commit 7dbf263

Please sign in to comment.