Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration mock #78

Merged
merged 39 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d4734e2
feat: integration helpers - wip
1kresh Nov 10, 2024
cf3ce28
chore: add integration test - wip
1kresh Nov 11, 2024
36a6f81
chore: finalize base integration mock
1kresh Nov 12, 2024
e6157cc
chore: comment example test
1kresh Nov 12, 2024
0ec4876
chore: add example integration tests
1kresh Nov 13, 2024
a757301
style: use linter
1kresh Nov 13, 2024
7d5bb6f
chore: finalize symbiotic core integration helpers
1kresh Nov 19, 2024
3e65b3a
refactor: minor update
1kresh Nov 19, 2024
ba2854f
feat: add vault creation binding
1kresh Nov 19, 2024
648853c
refactor: specify config vars
1kresh Nov 20, 2024
ecd5324
refactor: separate common functionality
1kresh Nov 20, 2024
f104cbe
fix: adjust some curator funcs
1kresh Nov 20, 2024
f3abc31
refactor: adjust args order
1kresh Nov 20, 2024
6d68b7f
refactor: simplify random funcs
1kresh Nov 20, 2024
dd2b98a
refactor: specify repo for most funcs
1kresh Nov 20, 2024
988b992
refactor: remove redundant lines
1kresh Nov 20, 2024
fc72207
fix: cover edge case
1kresh Nov 20, 2024
037d5d4
fix: adjust _supportsDeal_Symbiotic()
1kresh Nov 20, 2024
a08855e
refactor: optimize redundant lines
1kresh Nov 20, 2024
ef4e1d4
refactor: remove redundant conversion
1kresh Nov 20, 2024
6a0bef2
Merge remote-tracking branch 'origin/main' into add-simple-integratio…
1kresh Nov 21, 2024
661c0c5
docs: add minor comment
1kresh Nov 22, 2024
24c57ae
refactor: minor visibility adjustment
1kresh Nov 22, 2024
d673bff
fix: add return vars
1kresh Nov 25, 2024
0abcd82
chore: add new supported token
1kresh Nov 25, 2024
27cd7a0
chore: change example block fork
1kresh Dec 2, 2024
e86612e
fix: adjust supportsDeal util
1kresh Dec 2, 2024
096ce7c
chore: hardcode optimizer
1kresh Dec 2, 2024
db3b192
fix: adjust skip blocks
1kresh Dec 2, 2024
06de52b
fix: adjust skipBlocks
1kresh Dec 2, 2024
ed09f70
chrore: remove "super"
1kresh Dec 4, 2024
6574c5e
refactor: minor
1kresh Dec 4, 2024
03a5261
fix: minor fixes
1kresh Dec 9, 2024
e91ecc2
chore: sync out
1kresh Dec 9, 2024
9c9b1b4
refactor: use vm.getBlockTimestamp()
1kresh Dec 10, 2024
7b18664
feat: add helpers for scripts
1kresh Dec 10, 2024
af52706
Merge branch 'main' into add-simple-integration-mock
1kresh Dec 25, 2024
0e26673
chore: reduce out files
1kresh Dec 25, 2024
4f398d1
feat: adapt integration with new delegator
1kresh Dec 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
# Compiler files
cache/
out/build-info/
out/**/
!out/Vault.sol/
!out/VaultTokenized.sol/
!out/NetworkRestakeDelegator.sol/
!out/FullRestakeDelegator.sol/
!out/OperatorSpecificDelegator.sol/
!out/OperatorNetworkSpecificDelegator.sol/
!out/Slasher.sol/
!out/VetoSlasher.sol/
!out/VaultFactory.sol/
!out/DelegatorFactory.sol/
!out/SlasherFactory.sol/
!out/OperatorRegistry.sol/
!out/NetworkRegistry.sol/
!out/OptInService.sol/
!out/MetadataService.sol/
!out/NetworkMiddlewareService.sol/
!out/VaultConfigurator.sol/
!out/VaultHints.sol/
!out/DelegatorHints.sol/
!out/SlasherHints.sol/
!out/OptInServiceHints.sol/

# Ignores development broadcast logs
!/broadcast
/broadcast/*/17000/
/broadcast/*/31337/
/broadcast/*/11155111/
/broadcast/**/dry-run/
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Create `.env` file using a template:

```
ETH_RPC_URL=
ETH_RPC_URL_HOLESKY=
ETHERSCAN_API_KEY=
```

\* ETHERSCAN_API_KEY is optional.
\* ETH_RPC_URL is optional.<br/>\* ETH_RPC_URL_HOLESKY is optional.<br/>\* ETHERSCAN_API_KEY is optional.

### Build

Expand Down
5 changes: 5 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[profile.default]
evm_version = "cancun"
solc = "0.8.25"
optimizer = true
optimizer_runs = 200
via_ir = true
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./"}]
gas_reports = ["*"]
gas_limit = "18446744073709551615"

[rpc_endpoints]
mainnet = "${ETH_RPC_URL}"
holesky = "${ETH_RPC_URL_HOLESKY}"

[fmt]
bracket_spacing = false
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion out/Address.sol/Address.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/CommonBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/ScriptBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/TestBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/BaseDelegator.sol/BaseDelegator.json

This file was deleted.

1 change: 0 additions & 1 deletion out/BaseSlasher.sol/BaseSlasher.json

This file was deleted.

Loading
Loading