-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'changeset-release/main' of https://github.com/nftchance…
…/plug-core into changeset-release/main
- Loading branch information
Showing
97 changed files
with
7,945 additions
and
12,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,39 @@ | ||
PlugBlockNumberFuseTest:testRevert_enforceFuse_AfterBlock_Early() (gas: 25378) | ||
PlugBlockNumberFuseTest:test__codesize() (gas: 6741) | ||
PlugBlockNumberFuseTest:test_enforceFuse_AfterBlock() (gas: 23060) | ||
PlugBlockNumberFuseTest:test_enforceFuse_BeforeBlock() (gas: 23072) | ||
PlugBlockNumberFuseTest:test_enforceFuse_BeforeBlock_Expired() (gas: 25399) | ||
PlugClampFuseTest:test_EnforceFuse() (gas: 20402) | ||
PlugClampFuseTest:test__codesize() (gas: 3985) | ||
PlugFactoryTest:test_DeployDeterministic(uint256) (runs: 10000, μ: 164067, ~: 186855) | ||
PlugFactoryTest:test_InitCodeHash() (gas: 7729) | ||
PlugFactoryTest:test_RepeatedDeployDeterministic() (gas: 199954) | ||
PlugFactoryTest:test_RepeatedDeployDeterministic(uint256) (runs: 10000, μ: 220471, ~: 220517) | ||
PlugFactoryTest:test_RepeatedDeployDeterministic_NoSalt() (gas: 352556) | ||
PlugFactoryTest:test__codesize() (gas: 20512) | ||
PlugLimitedCallsFuseTest:testRevert_enforceFuse_Exceeded() (gas: 48286) | ||
PlugLimitedCallsFuseTest:testRevert_enforceFuse_ZeroCalls() (gas: 44365) | ||
PlugLimitedCallsFuseTest:test__codesize() (gas: 5278) | ||
PlugLimitedCallsFuseTest:test_enforceFuse() (gas: 41729) | ||
DeploymentTest:test_PlugDeployment() (gas: 782271) | ||
DeploymentTest:test_PlugFactoryDeployment() (gas: 445110) | ||
DeploymentTest:test_PlugSocketDeployment() (gas: 1863179) | ||
DeploymentTest:test_PlugTreasuryDeployment() (gas: 1625799) | ||
DeploymentTest:test__codesize() (gas: 47466) | ||
DeploymentTest:test__codesize() (gas: 946) | ||
PlugFactoryTest:testRevert_InvalidAdmin(uint256) (runs: 10000, μ: 14610, ~: 14610) | ||
PlugFactoryTest:testRevert_InvalidImplementation(uint256) (runs: 10000, μ: 14562, ~: 14562) | ||
PlugFactoryTest:test_DeployDeterministic(uint256) (runs: 10000, μ: 165919, ~: 165919) | ||
PlugFactoryTest:test__codesize() (gas: 39173) | ||
PlugFactoryTest:test_salt() (gas: 7960) | ||
PlugMockSocketTest:test_Echo() (gas: 13227) | ||
PlugMockSocketTest:test_EmptyEcho() (gas: 11977) | ||
PlugMockSocketTest:test_MutedEcho(uint256) (runs: 10000, μ: 5591, ~: 5591) | ||
PlugMockSocketTest:test__codesize() (gas: 3221) | ||
PlugRevocationFuseTest:testRevert_enforceFuse_Revoked() (gas: 45207) | ||
PlugRevocationFuseTest:test__codesize() (gas: 5064) | ||
PlugRevocationFuseTest:test_enforceFuse_NotRevoked() (gas: 21456) | ||
PlugTest:testRevert_PlugEmptyEcho_ExternalExecutor_CompensationFailure() (gas: 219705) | ||
PlugTest:testRevert_PlugEmptyEcho_ExternalExecutor_Invalid() (gas: 159408) | ||
PlugTest:testRevert_PlugEmptyEcho_SignerExecutor_InvalidRouter() (gas: 840076) | ||
PlugTest:testRevert_PlugEmptyEcho_SignerExecutor_InvalidSigner() (gas: 164862) | ||
PlugTest:test_PlugEmptyEcho_ExternalExecutor_Compensated() (gas: 223268) | ||
PlugTest:test_PlugEmptyEcho_ExternalExecutor_NotCompensated() (gas: 218020) | ||
PlugTest:test_PlugEmptyEcho_SignerExecutor() (gas: 194484) | ||
PlugTest:test__codesize() (gas: 33159) | ||
PlugTest:test_name() (gas: 7218) | ||
PlugTest:test_symbol() (gas: 7272) | ||
PlugTimestampFuseTest:testRevert_enforceFuse_AfterTimestamp_Early() (gas: 25380) | ||
PlugTimestampFuseTest:testRevert_enforceFuse_BeforeTimestamp_Expired() (gas: 25446) | ||
PlugTimestampFuseTest:test__codesize() (gas: 6878) | ||
PlugTimestampFuseTest:test_enforceFuse_AfterTimestamp() (gas: 23083) | ||
PlugTimestampFuseTest:test_enforceFuse_BeforeTimestamp() (gas: 23072) | ||
PlugVaultSocketTest:testRevert_setAccess_Unauthorized() (gas: 45140) | ||
PlugVaultSocketTest:testRevert_testOwnership_Unauthorized() (gas: 66290) | ||
PlugVaultSocketTest:test_GetLivePlugsSigner() (gas: 128216) | ||
PlugVaultSocketTest:test_SingletonUse(uint256) (runs: 10000, μ: 19876, ~: 19876) | ||
PlugVaultSocketTest:test__codesize() (gas: 23251) | ||
PlugVaultSocketTest:test_name() (gas: 11941) | ||
PlugVaultSocketTest:test_owner() (gas: 12389) | ||
PlugVaultSocketTest:test_owner_Implementation() (gas: 7628) | ||
PlugVaultSocketTest:test_owner_getAccess() (gas: 12929) | ||
PlugVaultSocketTest:test_setAccess_Both() (gas: 65650) | ||
PlugVaultSocketTest:test_setAccess_IsRouter() (gas: 65656) | ||
PlugVaultSocketTest:test_setAccess_IsSigner() (gas: 65460) | ||
PlugVaultSocketTest:test_symbol() (gas: 13778) | ||
PlugVaultSocketTest:test_transferOwnership() (gas: 65449) | ||
TestPlus:test__codesize() (gas: 365) | ||
PlugMockSocketTest:test__codesize() (gas: 36891) | ||
PlugSocketTest:testRevert_Initialize_Again() (gas: 21121) | ||
PlugSocketTest:testRevert_transferOwnership() (gas: 20678) | ||
PlugSocketTest:test__codesize() (gas: 38888) | ||
PlugSocketTest:test_name() (gas: 11938) | ||
PlugSocketTest:test_owner() (gas: 14543) | ||
PlugSocketTest:test_owner_Implementation() (gas: 7676) | ||
PlugSocketTest:test_symbol() (gas: 14021) | ||
PlugSocketTest:test_transferOwnership() (gas: 27374) | ||
PlugTest:testRevert_PlugEmptyEcho_Solver_Expired() (gas: 117553) | ||
PlugTest:testRevert_PlugEmptyEcho_Solver_Invalid() (gas: 138287) | ||
PlugTest:testRevert_PlugEmptyEcho_Solver_InvalidSignature() (gas: 77247) | ||
PlugTest:testRevert_PlugEmptyEcho_Solver_TreasuryPaymentFailure() (gas: 128231) | ||
PlugTest:test_PlugEmptyEcho_Solver() (gas: 119288) | ||
PlugTest:test_PlugEmptyEcho_Solver_InvalidNonce() (gas: 168547) | ||
PlugTest:test_PlugEmptyEcho_Solver_TreasuryPayment() (gas: 151056) | ||
PlugTest:test_PlugEmptyEcho_TypeRecovery() (gas: 116826) | ||
PlugTest:test__codesize() (gas: 46829) | ||
PlugTest:test_name() (gas: 7248) | ||
PlugTest:test_symbol() (gas: 7280) | ||
PlugTreasuryTest:testRevert_Multicall_WithdrawETH() (gas: 14520) | ||
PlugTreasuryTest:testRevert_setTargetsAllowed() (gas: 11110) | ||
PlugTreasuryTest:test_Multicall_WithdrawETH() (gas: 51767) | ||
PlugTreasuryTest:test__codesize() (gas: 40401) | ||
PlugTreasuryTest:test_setTargetsAllowed() (gas: 36920) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ on: | |
branches: | ||
- '**' | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
concurrency: | ||
cancel-in-progress: true | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
env: | ||
FOUNDRY_PROFILE: ci | ||
|
@@ -21,7 +23,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: ⚙️ Setup Action | ||
uses: pnpm/action-setup@v3 | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
|
||
|
@@ -58,19 +60,21 @@ jobs: | |
run: pnpm build | ||
|
||
- name: 🧹 Lint | ||
run: pnpm lint | ||
run: pnpm build:lint | ||
|
||
- name: 🧪 Run Forge Gas Snapshot | ||
run: | | ||
forge snapshot | ||
- name: 📝 Configure Git Commit | ||
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' }} | ||
run: | | ||
git config user.name "nftchance" | ||
git config user.email "[email protected]" | ||
- name: 📝 Commit Changes | ||
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' }} | ||
run: | | ||
git add . | ||
git diff --staged --quiet || git commit -m "chore: update build artifacts" | ||
git push | ||
git push https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/nftchance/plug-core.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,5 +192,4 @@ lcov.info | |
|
||
./core | ||
./contracts | ||
/core/** | ||
/lib/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ typechain-types | |
|
||
node_modules | ||
lib | ||
|
||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"solidity.formatter": "forge" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.