Skip to content

Commit

Permalink
fix: non zero interval (#31)
Browse files Browse the repository at this point in the history
* fix: non zero interval

* chore: bump version to 2.0.7
  • Loading branch information
brandonchuah authored Dec 12, 2022
1 parent bfc333c commit f1b742b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gelatonetwork/ops-sdk",
"version": "2.0.6",
"version": "2.0.7",
"description": "SDK to create Gelato Ops tasks",
"url": "https://github.com/gelatodigital/ops-sdk",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const main = async () => {
name: "OpsSdkTest",
execAddress: iceCreamAddress,
execSelector: iceCreamInterface.getSighash("lick"),
execData: iceCreamInterface.encodeFunctionData("lick", [1]),
dedicatedMsgSender: true,
singleExec: true,
startTime: (await provider.getBlock("latest")).timestamp + 300,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/GelatoOpsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class GelatoOpsModule {
} else {
if (singleExec && startTime) {
modules.push(Module.TIME);
args.push(this.encodeTimeArgs(startTime, 0));
args.push(this.encodeTimeArgs(startTime, 1));
}
}

Expand Down

0 comments on commit f1b742b

Please sign in to comment.