Skip to content

Commit

Permalink
Merge pull request #2 from symbioticfi/sync-core
Browse files Browse the repository at this point in the history
Sync with core
  • Loading branch information
1kresh authored Oct 31, 2024
2 parents ad39c4d + 4bfcb89 commit 30ba028
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
3 changes: 0 additions & 3 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@ tab_width = 4
runs = 4096
max_test_rejects = 262144

[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
holesky = { key = "${ETHERSCAN_API_KEY}" }

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
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 30ba028

Please sign in to comment.