File tree Expand file tree Collapse file tree 1 file changed +2
-67
lines changed
Expand file tree Collapse file tree 1 file changed +2
-67
lines changed Original file line number Diff line number Diff line change @@ -85,73 +85,8 @@ const getPayloadBuilder = async (address: string) => {
8585 } ;
8686} ;
8787
88- export const getOnchainAllocator = async ( chainId : string ) => {
89- let allocator = config . onchainAllocator ;
90- if (
91- process . env . SERVICE === "relay-protocol-hub" &&
92- [
93- "hyperliquid" ,
94- "eclipse" ,
95- "soon" ,
96- "solana" ,
97- "rari" ,
98- "ancient8" ,
99- "degen" ,
100- "corn" ,
101- "zora" ,
102- "forma" ,
103- "katana" ,
104- "xai" ,
105- "zero" ,
106- "scroll" ,
107- "syndicate" ,
108- "taiko" ,
109- "plume" ,
110- "blast" ,
111- "berachain" ,
112- "anime" ,
113- "bob" ,
114- "linea" ,
115- "ink" ,
116- "superposition" ,
117- "zircuit" ,
118- "gunz" ,
119- "avalanche" ,
120- "hemi" ,
121- "celo" ,
122- "arbitrum_nova" ,
123- "arbitrum" ,
124- "mode" ,
125- "funki" ,
126- "apechain" ,
127- "plasma" ,
128- "base" ,
129- "b3" ,
130- "arena_z" ,
131- "cyber" ,
132- "superseed" ,
133- "somnia" ,
134- "mantle" ,
135- "morph" ,
136- "abstract" ,
137- "ronin" ,
138- "sanko" ,
139- "swellchain" ,
140- "soneium" ,
141- "gravity" ,
142- "story" ,
143- "perennial" ,
144- "sei" ,
145- "lisk" ,
146- // "polygon_zkevm",
147- // "metis",
148- "hyperevm" ,
149- "flow" ,
150- ] . includes ( chainId )
151- ) {
152- allocator = "0x7eda04920f22ba6a2b9f2573fd9a6f6f1946ff9f" ;
153- }
154-
88+ export const getOnchainAllocator = async ( _chainId : string ) => {
89+ const allocator = config . onchainAllocator ;
15590 if ( ! allocator ) {
15691 throw externalError ( "Onchain allocator not configured" ) ;
15792 }
You can’t perform that action at this time.
0 commit comments