Skip to content

Commit ac45d5b

Browse files
config: drop inherited fs_permissions on ./meta, refresh .gas-snapshot
Nothing here is rain-meta aware and there is no ./meta directory: the only filesystem access this repo needs is BuildPointers reading foundry.toml and writing src/. .gas-snapshot still described rain.factory's pre-0.1.5 clone() suite — CloneFactoryCloneTest and its six tests do not exist in this repo, and the tagged-constants suite was missing. Regenerated over the offline suites. The package-release comment pointed at a generated DEPLOY_TAG; this repo generates none, its release artifact is the src/generated/<tag>/ snapshot.
1 parent 2045df6 commit ac45d5b

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

‎.gas-snapshot‎

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
CloneFactoryCloneTest:testCloneBytecode(bytes) (runs: 2048, μ: 350833, ~: 341941)
2-
CloneFactoryCloneTest:testCloneInitializeData(bytes) (runs: 2048, μ: 355388, ~: 346399)
3-
CloneFactoryCloneTest:testCloneInitializeEvent(bytes) (runs: 2048, μ: 356010, ~: 347118)
4-
CloneFactoryCloneTest:testCloneInitializeFailureFails(bytes32) (runs: 2048, μ: 159643, ~: 159643)
5-
CloneFactoryCloneTest:testCloneUninitializableFails(address,bytes) (runs: 2048, μ: 9882, ~: 9844)
6-
CloneFactoryCloneTest:testZeroImplementationCodeSizeError(address,bytes) (runs: 2048, μ: 10539, ~: 10557)
7-
LibCloneFactoryDeployTest:testDeployAddress() (gas: 242794)
8-
LibCloneFactoryDeployTest:testExpectedCodeHash() (gas: 235395)
1+
CloneFactoryCloneDeterministicTest:testCloneDeterministicEvent(bytes32,bytes) (runs: 2048, μ: 421457, ~: 371564)
2+
CloneFactoryCloneDeterministicTest:testCloneDeterministicInitializeFailureFails(bytes32,bytes32) (runs: 2048, μ: 161266, ~: 161266)
3+
CloneFactoryCloneDeterministicTest:testCloneDeterministicManyClonesPerImpl(bytes32,bytes32,bytes) (runs: 2048, μ: 569724, ~: 482275)
4+
CloneFactoryCloneDeterministicTest:testCloneDeterministicMatchesPredict(bytes32,bytes) (runs: 2048, μ: 423089, ~: 372826)
5+
CloneFactoryCloneDeterministicTest:testCloneDeterministicSaltIsAbiEncodeHash(address,bytes32,address) (runs: 2048, μ: 4686, ~: 4686)
6+
CloneFactoryCloneDeterministicTest:testCloneDeterministicSenderScoped(bytes32,bytes,address,address) (runs: 2048, μ: 585442, ~: 485815)
7+
CloneFactoryCloneDeterministicTest:testCloneDeterministicZeroImplementationCodeSize(address,bytes,bytes32) (runs: 2048, μ: 10699, ~: 10678)
8+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_3_CreationDeploysToPinnedAddress() (gas: 240145)
9+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_3_RuntimeHashesToBytecodeHash() (gas: 755)
10+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_4_CreationDeploysToPinnedAddress() (gas: 240146)
11+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_4_RuntimeHashesToBytecodeHash() (gas: 755)
12+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_5_CreationDeploysToPinnedAddress() (gas: 316590)
13+
LibCloneFactoryDeployTaggedConstantsTest:testCloneFactory_0_1_5_RuntimeHashesToBytecodeHash() (gas: 922)
14+
LibCloneFactoryDeployTest:testDeployAddress() (gas: 315988)
15+
LibCloneFactoryDeployTest:testExpectedCodeHash() (gas: 311566)

‎.github/workflows/package-release.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Package Release
44
# publishes rain-factory-deploy to Soldeer, and commits the frozen snapshot back
55
# to main. The on-chain deploy is separate and manual (rainix-manual-sol-artifacts
66
# dispatch), run before tagging. Nothing publishes on merge, so [package].version
7-
# and the generated DEPLOY_TAG only ever move together.
7+
# and the frozen src/generated/<tag>/ snapshot it names only ever move together.
88
on:
99
push:
1010
tags:

‎foundry.toml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ evm_version = "cancun"
1818
bytecode_hash = "none"
1919
cbor_metadata = false
2020

21-
# Build metadata used for testing rain meta aware contracts in this folder rather
22-
# than expose ffi to forge.
21+
# BuildPointers reads the version from foundry.toml and writes the generated
22+
# per-tag snapshots + the current-pin lib under src/. Nothing else in this repo
23+
# touches the filesystem.
2324
fs_permissions = [
24-
{ access = "read", path = "./meta" },
25-
# BuildPointers reads the version from foundry.toml and writes the generated
26-
# per-tag snapshots + the current-pin lib under src/.
2725
{ access = "read", path = "./foundry.toml" },
2826
{ access = "read-write", path = "./src" },
2927
]

0 commit comments

Comments
 (0)