Skip to content

Commit

Permalink
Fixtest
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Dec 11, 2024
1 parent d019f4a commit 84783ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/api/relayer-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ describe("Relayer Config API", () => {
test("POST request with valid timestamp", async () => {
const message = {
timestamp: Date.now() / 1000,
relayerFillLimits: [
{
originChainId: "1",
inputToken: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
destinationChainId: "42161",
outputToken: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
minOutputAmount: "1",
maxOutputAmount: "2",
balanceMultiplier: "1",
minProfitThreshold: "0.0001",
minExclusivityPeriod: "1",
},
],
};
const messageString = JSON.stringify(message);
const signature = await whitelistedRelayer.signMessage(messageString);
Expand Down

0 comments on commit 84783ad

Please sign in to comment.