File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/indexer-common/src/indexing-fees/__tests__ Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ describe('DipsManager', () => {
138
138
dipperEndpoint : undefined ,
139
139
} ,
140
140
}
141
+
142
+ metrics . registry . clear ( )
141
143
const networkWithoutDipper = await Network . create (
142
144
logger ,
143
145
specWithoutDipper ,
@@ -156,7 +158,7 @@ describe('DipsManager', () => {
156
158
let dipsManager : DipsManager
157
159
const testDeploymentId = 'QmTest'
158
160
const testAllocationId = '0x1234'
159
- const testAgreementId = 'agreement-1 '
161
+ const testAgreementId = '123e4567-e89b-12d3-a456-426614174000 '
160
162
161
163
beforeEach ( async ( ) => {
162
164
// Clear mock calls between tests
@@ -177,8 +179,8 @@ describe('DipsManager', () => {
177
179
payer : '0xabcd' ,
178
180
signature : Buffer . from ( '1234' , 'hex' ) ,
179
181
signed_payload : Buffer . from ( '5678' , 'hex' ) ,
180
- protocol_network : 'test ' ,
181
- chain_id : '1' ,
182
+ protocol_network : 'arbitrum-one ' ,
183
+ chain_id : 'eip155: 1' ,
182
184
base_price_per_epoch : '100' ,
183
185
price_per_entity : '1' ,
184
186
service : '0xdeadbeef' ,
You can’t perform that action at this time.
0 commit comments