github towns-protocol/towns @towns-protocol/contracts@1.0.2

latest releases: @towns-protocol/proto@1.0.2, @towns-protocol/prettier-config@1.0.2, @towns-protocol/eslint-config@1.0.2...
18 hours ago

Patch Changes

  • #4848 202c5f8 Thanks @shuhuiluo! - Replace DI pattern with self-deploying CREATE2 pattern to eliminate
    version mismatch risk between CreateSpaceFacet and SpaceProxyInitializer.

    • Add _getOrDeployProxyInitializer() to CreateSpaceBase using CREATE2
    • Use compile-time keccak256(type(SpaceProxyInitializer).creationCode)
    • Move getProxyInitializer() from Architect to CreateSpaceFacet
    • Remove setProxyInitializer() from Architect
    • Mark proxyInitializer storage slot as deprecated
    • Remove SpaceFactoryInit contract (no longer needed)
    • Remove DeploySpaceProxyInitializer script
    • Update deployment scripts and tests
    • Use CustomRevert for gas-efficient error handling
    • Merge ArchitectBase into Architect
  • #4847 af5d60e Thanks @shuhuiluo! - Added a cap re-validation in _onEntitlementCheckResultPosted() before minting. If the cap is reached, the pending join is rejected and the user is refunded.

Don't miss a new towns release

NewReleases is sending notifications on new releases.