diff --git a/.gas-snapshot b/.gas-snapshot index e19acb7..59833c5 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -1,8 +1,15 @@ -CloneFactoryCloneTest:testCloneBytecode(bytes) (runs: 2048, μ: 350833, ~: 341941) -CloneFactoryCloneTest:testCloneInitializeData(bytes) (runs: 2048, μ: 355388, ~: 346399) -CloneFactoryCloneTest:testCloneInitializeEvent(bytes) (runs: 2048, μ: 356010, ~: 347118) -CloneFactoryCloneTest:testCloneInitializeFailureFails(bytes32) (runs: 2048, μ: 159643, ~: 159643) -CloneFactoryCloneTest:testCloneUninitializableFails(address,bytes) (runs: 2048, μ: 9882, ~: 9844) -CloneFactoryCloneTest:testZeroImplementationCodeSizeError(address,bytes) (runs: 2048, μ: 10539, ~: 10557) -LibCloneFactoryDeployTest:testDeployAddress() (gas: 242794) -LibCloneFactoryDeployTest:testExpectedCodeHash() (gas: 235395) \ No newline at end of file +CloneFactoryCloneDeterministicTest:testCloneDeterministicEvent(bytes32,bytes) (runs: 2048, μ: 421457, ~: 371564) +CloneFactoryCloneDeterministicTest:testCloneDeterministicInitializeFailureFails(bytes32,bytes32) (runs: 2048, μ: 161266, ~: 161266) +CloneFactoryCloneDeterministicTest:testCloneDeterministicManyClonesPerImpl(bytes32,bytes32,bytes) (runs: 2048, μ: 569724, ~: 482275) +CloneFactoryCloneDeterministicTest:testCloneDeterministicMatchesPredict(bytes32,bytes) (runs: 2048, μ: 423089, ~: 372826) +CloneFactoryCloneDeterministicTest:testCloneDeterministicSaltIsAbiEncodeHash(address,bytes32,address) (runs: 2048, μ: 4686, ~: 4686) +CloneFactoryCloneDeterministicTest:testCloneDeterministicSenderScoped(bytes32,bytes,address,address) (runs: 2048, μ: 585442, ~: 485815) +CloneFactoryCloneDeterministicTest:testCloneDeterministicZeroImplementationCodeSize(address,bytes,bytes32) (runs: 2048, μ: 10699, ~: 10678) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_3_CreationDeploysToPinnedAddress() (gas: 240145) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_3_RuntimeHashesToBytecodeHash() (gas: 755) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_4_CreationDeploysToPinnedAddress() (gas: 240146) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_4_RuntimeHashesToBytecodeHash() (gas: 755) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_5_CreationDeploysToPinnedAddress() (gas: 316590) +LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_5_RuntimeHashesToBytecodeHash() (gas: 922) +LibCloneFactoryDeployTest:testDeployAddress() (gas: 315988) +LibCloneFactoryDeployTest:testExpectedCodeHash() (gas: 311566) \ No newline at end of file diff --git a/.github/workflows/package-release.yaml b/.github/workflows/package-release.yaml index a44ed35..ee1b505 100644 --- a/.github/workflows/package-release.yaml +++ b/.github/workflows/package-release.yaml @@ -4,7 +4,7 @@ name: Package Release # publishes rain-factory-deploy to Soldeer, and commits the frozen snapshot back # to main. The on-chain deploy is separate and manual (rainix-manual-sol-artifacts # dispatch), run before tagging. Nothing publishes on merge, so [package].version -# and the generated DEPLOY_TAG only ever move together. +# and the frozen src/generated// snapshot it names only ever move together. on: push: tags: diff --git a/foundry.toml b/foundry.toml index 5badc25..ab1ebb2 100644 --- a/foundry.toml +++ b/foundry.toml @@ -18,12 +18,10 @@ evm_version = "cancun" bytecode_hash = "none" cbor_metadata = false -# Build metadata used for testing rain meta aware contracts in this folder rather -# than expose ffi to forge. +# BuildPointers reads the version from foundry.toml and writes the generated +# per-tag snapshots + the current-pin lib under src/. Nothing else in this repo +# touches the filesystem. fs_permissions = [ - { access = "read", path = "./meta" }, - # BuildPointers reads the version from foundry.toml and writes the generated - # per-tag snapshots + the current-pin lib under src/. { access = "read", path = "./foundry.toml" }, { access = "read-write", path = "./src" }, ]