Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Dec 12, 2024
1 parent 36d324f commit a7d4176
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions api/_exclusivity/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import { RelayerFillLimit } from "../_types";
export const MAX_MESSAGE_AGE_SECONDS = 300;

// TODO: get this from gh
export const whiteListedRelayers = [
"0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D", // dev wallet
];

export const getRelayerFromSignature = (
signature: string,
message: string
) => {
export const getWhiteListedRelayers = () => {
return [
"0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D", // dev wallet
];
};

export const getRelayerFromSignature = (signature: string, message: string) => {
return ethers.utils.verifyMessage(message, signature);
};

Expand Down Expand Up @@ -51,7 +50,7 @@ export async function updateLimits(

// todo: Push each limit entry to the backend cache/db.
// The config types need to be reverted to strings as numbers.
relayer;
relayer;

return;
}

0 comments on commit a7d4176

Please sign in to comment.