Skip to content

Commit 172fd62

Browse files
committed
fix: test values
1 parent 660d3b6 commit 172fd62

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ describe('DipsManager', () => {
145145

146146
describe('agreement management', () => {
147147
let dipsManager: DipsManager
148-
const testDeploymentId = 'QmTest'
149-
const testAllocationId = '0x1234'
148+
const testDeploymentId = 'QmTZ8ejXJxRo7vDBS4uwqBeGoxLSWbhaA7oXa1RvxunLy7'
149+
const testAllocationId = 'abcd47df40c29949a75a6693c77834c00b8ad626'
150150
const testAgreementId = '123e4567-e89b-12d3-a456-426614174000'
151151

152152
beforeEach(async () => {
@@ -165,15 +165,15 @@ describe('DipsManager', () => {
165165
cancelled_at: null,
166166
min_epochs_per_collection: BigInt(1),
167167
max_epochs_per_collection: BigInt(5),
168-
payer: '0xabcd',
168+
payer: '123456df40c29949a75a6693c77834c00b8a5678',
169169
signature: Buffer.from('1234', 'hex'),
170170
signed_payload: Buffer.from('5678', 'hex'),
171171
protocol_network: 'arbitrum-one',
172172
chain_id: 'eip155:1',
173173
base_price_per_epoch: '100',
174174
price_per_entity: '1',
175-
service: '0xdeadbeef',
176-
payee: '0xdef0',
175+
service: 'deadbedf40c29949a75a2293c11834c00b8a1234',
176+
payee: '1212564f40c29949a75a3423c11834c00b8aaaaa',
177177
deadline: new Date(Date.now() + 86400000), // 1 day from now
178178
duration_epochs: BigInt(10),
179179
max_initial_amount: '1000',
@@ -218,7 +218,7 @@ describe('DipsManager', () => {
218218
})
219219

220220
test('updates agreement allocation IDs during reallocation', async () => {
221-
const newAllocationId = '0x5678'
221+
const newAllocationId = '5678bedf40c29945678a2293c15678c00b8a5678'
222222

223223
await dipsManager.tryUpdateAgreementAllocation(
224224
testDeploymentId,

0 commit comments

Comments
 (0)