Skip to content

Commit

Permalink
ipfs file unicity
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Dec 13, 2023
1 parent 42f5f1c commit c5063b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/request-node/test/getChannelsByTopic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const otherTopics = [`01eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee${tim
);
const nonExistentTopic = '010000000000000000000000000000000000000000000000000000000000000000';
const transactionData = {
data: 'this is sample data for a transaction to test getChannelsByTopic',
data: `this is sample data for a transaction to test getChannelsByTopic ${Date.now()}`,
};
const otherTransactionData = {
data: 'this is other sample data for a transaction to test getChannelsByTopic',
Expand Down
2 changes: 1 addition & 1 deletion packages/request-node/test/getConfirmedTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { providers } from 'ethers';

const channelId = '010aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';

const transactionData = { data: 'this is sample data for a transaction' };
const transactionData = { data: `this is sample data for a transaction ${Date.now()}` };
const transactionHash = normalizeKeccak256Hash(transactionData).value;
const provider = new providers.JsonRpcProvider('http://localhost:8545');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const channelId = '01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
const anotherChannelId = '01bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbc';
const nonExistentChannelId = '01cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd';
const transactionData = {
data: 'this is sample data for a transaction to test getTransactionsByChannelId',
data: `this is sample data for a transaction to test getTransactionsByChannelId ${Date.now()}`,
};
const otherTransactionData = {
data: 'this is other sample data for a transaction to test getTransactionsByChannelId',
Expand Down
2 changes: 1 addition & 1 deletion packages/request-node/test/persistTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const topics = [
'010ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',
'010ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd',
];
const transactionData = { data: 'this is sample data for a transaction' };
const transactionData = { data: `this is sample data for a transaction ${Date.now()}` };
const anotherTransactionData = { data: 'you can put any data' };
const badlyFormattedTransactionData = { not: 'a transaction' };

Expand Down

0 comments on commit c5063b2

Please sign in to comment.