Skip to content

Commit

Permalink
fix: sync with core
Browse files Browse the repository at this point in the history
  • Loading branch information
1kresh committed Sep 9, 2024
1 parent ad39c4d commit 2342275
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/core
Submodule core updated 105 files
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"@openzeppelin/contracts-upgradeable": "5.0.2",
"@symbioticfi/core": "1.0.0-devnet.3"
"@symbioticfi/core": "1.0.0-devnet.5"
}
}
14 changes: 11 additions & 3 deletions test/DefaultCollateralMigrator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,19 @@ contract DefaultCollateralMigratorTest is Test {
version: vaultFactory.lastVersion(),
owner: alice,
vaultParams: IVault.InitParams({
collateral: address(feeOnTransferToken),
collateral: address(feeOnTransferCollateral.asset()),
delegator: address(0),
slasher: address(0),
burner: address(0xdEaD),
epochDuration: epochDuration,
depositWhitelist: false,
isDepositLimit: false,
depositLimit: 0,
defaultAdminRoleHolder: alice,
depositWhitelistSetRoleHolder: alice,
depositorWhitelistRoleHolder: alice
depositorWhitelistRoleHolder: alice,
isDepositLimitSetRoleHolder: alice,
depositLimitSetRoleHolder: alice
}),
delegatorIndex: 0,
delegatorParams: abi.encode(
Expand Down Expand Up @@ -301,9 +305,13 @@ contract DefaultCollateralMigratorTest is Test {
burner: address(0xdEaD),
epochDuration: epochDuration,
depositWhitelist: false,
isDepositLimit: false,
depositLimit: 0,
defaultAdminRoleHolder: alice,
depositWhitelistSetRoleHolder: alice,
depositorWhitelistRoleHolder: alice
depositorWhitelistRoleHolder: alice,
isDepositLimitSetRoleHolder: alice,
depositLimitSetRoleHolder: alice
}),
delegatorIndex: 0,
delegatorParams: abi.encode(
Expand Down

0 comments on commit 2342275

Please sign in to comment.