Skip to content

Commit

Permalink
update blast rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Jan 6, 2025
1 parent a2aa683 commit 0cd9944
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/src/utils/chains.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Chains = [
{
"name": "ethereum",
"id": 1,
"endpoint": "https://ethereum.publicnode.com",
"endpoint": "https://ethereum-rpc.publicnode.com",
"contract": {
"signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92",
"relayer": "0x114890eB7386F94eae410186F20968bFAf66142a",
Expand Down Expand Up @@ -97,7 +97,7 @@ const Chains = [
{
"name": "blast",
"id": 81457,
"endpoint": "https://rpc.blast.io",
"endpoint": "https://blast-rpc.publicnode.com",
"contract": {
"signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92",
"relayer": "0x114890eB7386F94eae410186F20968bFAf66142a",
Expand Down
4 changes: 2 additions & 2 deletions server/config/chains.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Chains = [
{
"name": "ethereum",
"id": 1,
"endpoint": "https://ethereum.publicnode.com",
"endpoint": "https://ethereum-rpc.publicnode.com",
"contract": {
"signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92",
"relayer": "0x114890eB7386F94eae410186F20968bFAf66142a",
Expand Down Expand Up @@ -97,7 +97,7 @@ const Chains = [
{
"name": "blast",
"id": 81457,
"endpoint": "https://rpc.blast.io",
"endpoint": "https://blast-rpc.publicnode.com",
"contract": {
"signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92",
"relayer": "0x114890eB7386F94eae410186F20968bFAf66142a",
Expand Down
2 changes: 1 addition & 1 deletion server/plugins/cron.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ export default fp(async (fastify) => {
}

async function checkTimeoutRelay() {
fastify.log.info("==> checkTimeoutRelay")
const warns = [];
const now = Math.floor(Date.now() / 1000);
const oneDayAgo = now - 24 * 60 * 60;
// const oneDayAgo = 1719701000;
const halfHourAgo = now - 30 * 60;
const oneHourAgo = now - 60 * 60 * 1;
fastify.log.info(`==> checkTimeoutRelay: ${oneDayAgo}, ${halfHourAgo}`);
const query = `query MessageList($timestampGt: numeric!, $timestampLt: numeric!) {
MessagePort(order_by: {sourceBlockTimestamp: desc},
where: {
Expand Down

0 comments on commit 0cd9944

Please sign in to comment.