@@ -138,49 +138,29 @@ describe('test-chains/TestChains.jsx', () => {
138
138
2 * 60 * 1000 ,
139
139
) ;
140
140
141
- it . each ( [
142
- // {
143
- // name: 'multisig',
144
- // addresses: multisigAddresses,
145
- // jsonName: 'multisig_addresses.json',
146
- // },
147
- // {
148
- // name: 'multisigSame',
149
- // addresses: multisigSameAddresses,
150
- // jsonName: 'multisig_same_addresses.json',
151
- // },
152
- {
153
- name : 'safeMultiSend' ,
154
- addresses : safeMultiSend ,
155
- jsonName : 'multi_send_call_only.json' ,
156
- } ,
157
- ] ) (
158
- 'should ensure $name addresses match between remote and local sources' ,
159
- async ( { jsonName, name, addresses } ) => {
160
- const remoteResponseRaw = await fetch (
161
- `${ REGISTRIES_SAFE_URL } /${ jsonName } ` ,
162
- ) ;
163
- const remoteResponse = await remoteResponseRaw . json ( ) ;
164
-
165
- if ( ! remoteResponse . networkAddresses ) {
166
- throw new Error ( `Invalid ${ name } remoteResponse` ) ;
167
- }
141
+ it ( 'should ensure `safeMultiSend` matches between remote and local sources' , async ( ) => {
142
+ const remoteResponseRaw = await fetch (
143
+ `${ REGISTRIES_SAFE_URL } /multi_send_call_only.json` ,
144
+ ) ;
145
+ const remoteResponse = await remoteResponseRaw . json ( ) ;
168
146
169
- chainIds . forEach ( ( chainId ) => {
170
- if ( ! isValidKey ( addresses , chainId ) ) {
171
- throw new Error ( `Invalid chainId: ${ chainId } ` ) ;
172
- }
147
+ if ( ! remoteResponse . networkAddresses ) {
148
+ throw new Error ( `Invalid ${ name } remoteResponse` ) ;
149
+ }
173
150
174
- if ( isLocalChainId ( chainId ) ) return ;
151
+ chainIds . forEach ( ( chainId ) => {
152
+ if ( ! isValidKey ( ADDRESSES , chainId ) ) {
153
+ throw new Error ( `Invalid chainId: ${ chainId } ` ) ;
154
+ }
175
155
176
- const remoteMultisigAddress = remoteResponse . networkAddresses [ chainId ] ;
177
- const localMultisigAddress =
178
- addresses [ chainId as keyof typeof addresses ] [ 0 ] ;
156
+ if ( isLocalChainId ( chainId ) ) return ;
179
157
180
- expect ( remoteMultisigAddress ) . toBe ( localMultisigAddress ) ;
181
- } ) ;
182
- } ,
183
- ) ;
158
+ const remoteMultisigAddress = remoteResponse . networkAddresses [ chainId ] ;
159
+ const localMultisigAddress = safeMultiSend [ chainId ] [ 0 ] ;
160
+
161
+ expect ( remoteMultisigAddress ) . toBe ( localMultisigAddress ) ;
162
+ } ) ;
163
+ } ) ;
184
164
185
165
it ( 'should ensure FALLBACK_HANDLER matches between remote and local sources' , async ( ) => {
186
166
const fallbackHandlerResponse = await fetch (
0 commit comments