Skip to content

Commit

Permalink
fix: changed rpc for eth to a public one
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrowelt committed Jan 21, 2025
1 parent b81d553 commit a5e6f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"label": "Ethereum",
"shortName": "ETH",
"code": "eth",
"rpc": "https://trade.orion.xyz/eth-mainnet/rpc",
"rpc": "https://ethereum-rpc.publicnode.com",
"baseCurrencyName": "ETH",
"contracts": {
"WETH": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
Expand Down
2 changes: 1 addition & 1 deletion src/crypt/signOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import normalizeNumber from '../utils/normalizeNumber.js';
import getDomainData from './getDomainData.js';
import hashOrder from './hashOrder.js';

const DEFAULT_EXPIRATION = 365 * 24 * 60 * 60 * 1000; // 365 days
const DEFAULT_EXPIRATION = 29 * 24 * 60 * 60 * 1000; // 29 days

type SignerWithTypedDataSign = ethers.Signer & TypedDataSigner;

Expand Down

0 comments on commit a5e6f6f

Please sign in to comment.