chore: sync submodule state (parent ref update)

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-02 12:14:09 -08:00
parent 50ab378da9
commit 5efe36b1e0
1100 changed files with 155024 additions and 8674 deletions

View File

@@ -7,6 +7,10 @@ import "../../contracts/vault/Vault.sol";
import "../../contracts/vault/tokens/DepositToken.sol";
import "../../contracts/vault/tokens/DebtToken.sol";
contract MockLedger {
function grantVaultRole(address) external {}
}
contract VaultFactoryTest is Test {
VaultFactory public factory;
@@ -28,11 +32,15 @@ contract VaultFactoryTest is Test {
function setUp() public {
vm.startPrank(admin);
// Deploy MockLedger (factory calls ledger.grantVaultRole)
MockLedger mockLedger = new MockLedger();
ledger = address(mockLedger);
// Deploy implementations
vaultImpl = address(new Vault(
address(0),
address(0),
address(0x999), // ledger placeholder
ledger,
address(0x888), // entity registry placeholder
address(0x777), // collateral adapter placeholder
address(0x666) // eMoney join placeholder
@@ -47,7 +55,7 @@ contract VaultFactoryTest is Test {
vaultImpl,
depositTokenImpl,
debtTokenImpl,
address(0x999), // ledger
ledger,
address(0x888), // entity registry
address(0x777), // collateral adapter
address(0x666) // eMoney join