Skip to content

Commit 78b778d

Browse files
committed
fix: change agreements mapping to internal to fix stack-too-deep in coverage
1 parent c3f6f07 commit 78b778d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/horizon/contracts/payments/collectors/RecurringCollector.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ contract RecurringCollector is EIP712, GraphDirectory, Authorizable, IRecurringC
4242
/* solhint-enable gas-small-strings */
4343

4444
/// @notice Tracks agreements
45-
mapping(bytes16 agreementId => AgreementData data) public agreements;
45+
mapping(bytes16 agreementId => AgreementData data) internal agreements;
4646

4747
/**
4848
* @notice Constructs a new instance of the RecurringCollector contract.

packages/horizon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test:deployment": "SECURE_ACCOUNTS_DISABLE_PROVIDER=true hardhat test test/deployment/*.ts",
3636
"test:integration": "./scripts/integration",
3737
"test:coverage": "pnpm build && pnpm test:coverage:self",
38-
"test:coverage:self": "forge coverage --ir-minimum",
38+
"test:coverage:self": "forge coverage",
3939
"prepublishOnly": "pnpm run build"
4040
},
4141
"devDependencies": {

packages/subgraph-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"test:deployment": "SECURE_ACCOUNTS_DISABLE_PROVIDER=true hardhat test test/deployment/*.ts",
3434
"test:integration": "./scripts/integration",
3535
"test:coverage": "pnpm build && pnpm test:coverage:self",
36-
"test:coverage:self": "forge coverage --ir-minimum",
36+
"test:coverage:self": "forge coverage",
3737
"prepublishOnly": "pnpm run build"
3838
},
3939
"devDependencies": {

0 commit comments

Comments
 (0)