Skip to content

Commit

Permalink
lint: subgraph linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaniza committed Mar 26, 2024
1 parent c017029 commit d3e79d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions subgraph/tests/ids/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ function checksum(s: string): string {

describe('Actions ID generation', () => {
test('We correctly generate the action ID', () => {
let caller = ADDRESS_ONE;
let daoAddress = ADDRESS_TWO;
let callId = 'c4ll me';
let index = 255;
const caller = ADDRESS_ONE;
const daoAddress = ADDRESS_TWO;
const callId = 'c4ll me';
const index = 255;

let actionId = generateActionEntityId(
const actionId = generateActionEntityId(
Address.fromString(caller),
Address.fromString(daoAddress),
callId,
Expand Down
2 changes: 1 addition & 1 deletion subgraph/tests/utils/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {bigIntToBytes32} from '../../src/utils/utils';
import {Address, BigInt} from '@graphprotocol/graph-ts';
import {BigInt} from '@graphprotocol/graph-ts';
import {assert, describe, test} from 'matchstick-as/assembly/index';

const ZERO_BYTES32 =
Expand Down

0 comments on commit d3e79d9

Please sign in to comment.