Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ permissions:

jobs:
comment:
uses: bgd-labs/github-workflows/.github/workflows/comment.yml@main
secrets:
READ_ONLY_PAT: ${{ secrets.READ_ONLY_PAT }}
uses: aave-dao/github-workflows/.github/workflows/comment.yml@main
8 changes: 4 additions & 4 deletions .github/workflows/tests-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
lint:
name: Prettier lint check
uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
uses: aave-dao/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
test:
name: Foundry build n test
runs-on: ubuntu-latest
Expand All @@ -20,15 +20,15 @@ jobs:
token: ${{ secrets.READ_ONLY_PAT || github.token }}

- name: Run Foundry setup
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main
uses: aave-dao/github-workflows/.github/actions/foundry-setup@main
with:
FOUNDRY_VERSION: stable

- name: Run Forge size
uses: bgd-labs/github-workflows/.github/actions/foundry-size@main
uses: aave-dao/github-workflows/.github/actions/foundry-size@main

- name: Run Forge tests
id: test
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
uses: aave-dao/github-workflows/.github/actions/foundry-test@main
with:
FOUNDRY_PROFILE: ci
12 changes: 6 additions & 6 deletions .github/workflows/tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
lint:
name: Prettier lint check
uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
uses: aave-dao/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
test:
name: Foundry build n test
runs-on: ubuntu-latest
Expand All @@ -17,23 +17,23 @@ jobs:
token: ${{ secrets.READ_ONLY_PAT || github.token }}

- name: Run Foundry setup
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main
uses: aave-dao/github-workflows/.github/actions/foundry-setup@main
with:
FOUNDRY_VERSION: stable

- name: Run Forge size
uses: bgd-labs/github-workflows/.github/actions/foundry-size@main
uses: aave-dao/github-workflows/.github/actions/foundry-size@main

- name: Run Gas report
uses: bgd-labs/github-workflows/.github/actions/foundry-gas-report@main
uses: aave-dao/github-workflows/.github/actions/foundry-gas-report@main

- name: Run Forge tests
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
uses: aave-dao/github-workflows/.github/actions/foundry-test@main
with:
FOUNDRY_PROFILE: pr
FORGE_SNAPSHOT_CHECK: true

- name: Upload & Trigger Comment artifact
uses: bgd-labs/github-workflows/.github/actions/comment-artifact@main
uses: aave-dao/github-workflows/.github/actions/comment-artifact@main
with:
nameSuffix: "default"
5 changes: 4 additions & 1 deletion foundry.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
}
},
"lib/forge-std": {
"rev": "60acb7aaadcce2d68e52986a0a66fe79f07d138f"
"tag": {
"name": "v1.16.2",
"rev": "bf647bd6046f2f7da30d0c2bf435e5c76a780c1b"
}
}
}
2 changes: 1 addition & 1 deletion lib/forge-std
Submodule forge-std updated 61 files
+1 −0 .github/CODEOWNERS
+15 −0 .github/dependabot.yml
+135 −100 .github/workflows/ci.yml
+6 −1 .github/workflows/sync.yml
+3 −3 CONTRIBUTING.md
+61 −13 README.md
+12 −0 RELEASE_CHECKLIST.md
+9 −14 foundry.toml
+1 −1 package.json
+5 −15 scripts/vm.py
+8 −2 src/Base.sol
+60 −0 src/Config.sol
+477 −0 src/LibVariable.sol
+2 −2 src/Script.sol
+691 −60 src/StdAssertions.sol
+114 −84 src/StdChains.sol
+159 −66 src/StdCheats.sol
+632 −0 src/StdConfig.sol
+2 −2 src/StdConstants.sol
+20 −2 src/StdError.sol
+43 −4 src/StdInvariant.sol
+58 −14 src/StdJson.sol
+29 −4 src/StdMath.sol
+80 −32 src/StdStorage.sol
+91 −14 src/StdStyle.sol
+58 −18 src/StdToml.sol
+82 −44 src/StdUtils.sol
+2 −4 src/Test.sol
+364 −194 src/Vm.sol
+58 −19 src/console.sol
+2 −2 src/console2.sol
+2 −2 src/interfaces/IERC1155.sol
+2 −2 src/interfaces/IERC165.sol
+2 −2 src/interfaces/IERC20.sol
+9 −9 src/interfaces/IERC4626.sol
+2 −2 src/interfaces/IERC6909.sol
+2 −2 src/interfaces/IERC721.sol
+12 −17 src/interfaces/IERC7540.sol
+9 −9 src/interfaces/IERC7575.sol
+3 −8 src/interfaces/IMulticall3.sol
+691 −1,380 src/safeconsole.sol
+2 −2 test/CommonBase.t.sol
+381 −0 test/Config.t.sol
+452 −0 test/LibVariable.t.sol
+2 −2 test/StdAssertions.t.sol
+25 −25 test/StdChains.t.sol
+76 −20 test/StdCheats.t.sol
+2 −2 test/StdConstants.t.sol
+3 −4 test/StdError.t.sol
+2 −2 test/StdJson.t.sol
+8 −8 test/StdMath.t.sol
+71 −27 test/StdStorage.t.sol
+2 −2 test/StdStyle.t.sol
+2 −2 test/StdToml.t.sol
+13 −13 test/StdUtils.t.sol
+4 −4 test/Vm.t.sol
+2 −4 test/compilation/CompilationScript.sol
+2 −4 test/compilation/CompilationScriptBase.sol
+2 −4 test/compilation/CompilationTest.sol
+2 −4 test/compilation/CompilationTestBase.sol
+81 −0 test/fixtures/config.toml
2 changes: 1 addition & 1 deletion snapshots/PositionManagerBase.Operations.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"setSelfAsUserPositionManagerWithSig": "75041"
"setSelfAsUserPositionManagerWithSig": "75017"
}
4 changes: 2 additions & 2 deletions snapshots/SignatureGateway.Operations.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"borrowWithSig": "222132",
"borrowWithSig": "222144",
"repayWithSig": "192513",
"setSelfAsUserPositionManagerWithSig": "75138",
"setSelfAsUserPositionManagerWithSig": "75114",
"setUsingAsCollateralWithSig": "85380",
"supplyWithSig": "155914",
"updateUserDynamicConfigWithSig": "63101",
Expand Down
12 changes: 6 additions & 6 deletions snapshots/Spoke.Operations.ZeroRiskPremium.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"borrow: first": "199509",
"borrow: second action, same reserve": "179375",
"liquidationCall (receiveShares): full": "314227",
"liquidationCall (receiveShares): partial": "313645",
"liquidationCall (reportDeficit): full": "380307",
"liquidationCall: full": "332763",
"liquidationCall: partial": "332181",
"liquidationCall (receiveShares): full": "309664",
"liquidationCall (receiveShares): partial": "309127",
"liquidationCall (reportDeficit): full": "374581",
"liquidationCall: full": "328352",
"liquidationCall: partial": "327815",
"permitReserve + repay (multicall)": "169938",
"permitReserve + supply (multicall)": "151663",
"permitReserve + supply + enable collateral (multicall)": "166114",
"permitReserve + supply + enable collateral (multicall)": "166090",
"repay: full": "129276",
"repay: partial": "134234",
"setUserPositionManagersWithSig: disable": "46772",
Expand Down
12 changes: 6 additions & 6 deletions snapshots/Spoke.Operations.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"borrow: first": "269297",
"borrow: second action, same reserve": "212163",
"liquidationCall (receiveShares): full": "347124",
"liquidationCall (receiveShares): partial": "346542",
"liquidationCall (reportDeficit): full": "372507",
"liquidationCall: full": "365660",
"liquidationCall: partial": "365078",
"liquidationCall (receiveShares): full": "342545",
"liquidationCall (receiveShares): partial": "342008",
"liquidationCall (reportDeficit): full": "366749",
"liquidationCall: full": "361233",
"liquidationCall: partial": "360696",
"permitReserve + repay (multicall)": "166334",
"permitReserve + supply (multicall)": "151663",
"permitReserve + supply + enable collateral (multicall)": "166114",
"permitReserve + supply + enable collateral (multicall)": "166090",
"repay: full": "123355",
"repay: partial": "142713",
"setUserPositionManagersWithSig: disable": "46772",
Expand Down
6 changes: 3 additions & 3 deletions snapshots/TokenizationSpoke.Operations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"depositWithSig": "129518",
"mint": "118251",
"mintWithSig": "129130",
"permit": "62766",
"permit": "62754",
"redeem: on behalf, full": "95212",
"redeem: on behalf, partial": "119015",
"redeem: self, full": "94282",
"redeem: self, partial": "113482",
"redeemWithSig": "128864",
"redeemWithSig": "128852",
"withdraw: on behalf, full": "95646",
"withdraw: on behalf, partial": "119557",
"withdraw: self, full": "94824",
"withdraw: self, partial": "114024",
"withdrawWithSig": "129417"
"withdrawWithSig": "129393"
}
Loading
Loading