Skip to content

Commit c7ff16b

Browse files
committed
fix: details in agreement creation
1 parent 9ef80a2 commit c7ff16b

File tree

1 file changed

+5
-3
lines changed
  • packages/indexer-common/src/indexing-fees/__tests__

1 file changed

+5
-3
lines changed

packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ describe('DipsManager', () => {
138138
dipperEndpoint: undefined,
139139
},
140140
}
141+
142+
metrics.registry.clear()
141143
const networkWithoutDipper = await Network.create(
142144
logger,
143145
specWithoutDipper,
@@ -156,7 +158,7 @@ describe('DipsManager', () => {
156158
let dipsManager: DipsManager
157159
const testDeploymentId = 'QmTest'
158160
const testAllocationId = '0x1234'
159-
const testAgreementId = 'agreement-1'
161+
const testAgreementId = '123e4567-e89b-12d3-a456-426614174000'
160162

161163
beforeEach(async () => {
162164
// Clear mock calls between tests
@@ -177,8 +179,8 @@ describe('DipsManager', () => {
177179
payer: '0xabcd',
178180
signature: Buffer.from('1234', 'hex'),
179181
signed_payload: Buffer.from('5678', 'hex'),
180-
protocol_network: 'test',
181-
chain_id: '1',
182+
protocol_network: 'arbitrum-one',
183+
chain_id: 'eip155:1',
182184
base_price_per_epoch: '100',
183185
price_per_entity: '1',
184186
service: '0xdeadbeef',

0 commit comments

Comments
 (0)