Skip to content

Commit

Permalink
Merge branch 'master' into feat/chainInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
arthcp committed May 3, 2024
2 parents 29430d2 + 33696e3 commit c5da8bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/rpcConfig/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const prodBatcherSupportedChainSlugs = [
// ChainSlug.ANCIENT8_TESTNET2,
ChainSlug.HOOK_TESTNET,
ChainSlug.REYA_CRONOS,
// ChainSlug.SYNDR_SEPOLIA_L3,
ChainSlug.SYNDR_SEPOLIA_L3,
ChainSlug.POLYNOMIAL_TESTNET,
ChainSlug.BOB,
];
Expand Down
9 changes: 5 additions & 4 deletions scripts/rpcConfig/txdata-builder/generate-calldata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PacketInfo, VERSION_HASH, getPacketInfo } from "./util";
import { getProviderFromChainSlug } from "../../constants";
import { deploymentMode } from "../rpcConfig";
import { TxData, ChainSlug, getAllAddresses, ChainTxData } from "../../../src";
import { prodBatcherSupportedChainSlugs } from "../constants";
import { prodFeesUpdaterSupportedChainSlugs } from "../constants";

const randomPrivateKey =
"59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d";
Expand Down Expand Up @@ -85,9 +85,10 @@ export const getTxData = async (): Promise<TxData> => {
getProviderFromChainSlug(ChainSlug.SEPOLIA)
);
const addresses = getAllAddresses(deploymentMode);
const allChainSlugs: ChainSlug[] = prodBatcherSupportedChainSlugs.filter(
(c) => addresses[c]?.["SocketSimulator"]
);
const allChainSlugs: ChainSlug[] =
prodFeesUpdaterSupportedChainSlugs().filter(
(c) => addresses[c]?.["SocketSimulator"]
);

const txData: TxData = {};
for (const chainSlug of allChainSlugs) {
Expand Down

0 comments on commit c5da8bb

Please sign in to comment.