Skip to content

Commit

Permalink
Add test for recursive storage generation in new accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
palinatolmach committed Jun 12, 2024
1 parent 16cd4e5 commit 78d538d
Show file tree
Hide file tree
Showing 3 changed files with 856 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/integration/test-data/foundry-dependency-all
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CSETest.test_add_const(uint256,uint256)
CSETest.test_identity(uint256,uint256)
ConstructorTest.test_contract_call()
ContractFieldTest.testEscrowToken()
TGovernance.getEscrowTokenTotalSupply()
Identity.applyOp(uint256)
Identity.identity(uint256)
ImportedContract.set(uint256)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ contract TEscrow {
}
}

contract TGovernance {
TEscrow escrow;

constructor(address _escrow) {
escrow = TEscrow(_escrow);
}

function getEscrowTokenTotalSupply() public returns (uint256) {
return escrow.getTokenTotalSupply();
}
}

contract ContractFieldTest is Test {
TToken token;
TEscrow escrow;
Expand Down
Loading

0 comments on commit 78d538d

Please sign in to comment.