Repository navigation
Release tempo-alloy@1.17.0, tempo-chainspec@1.17.0 and 3 more - #8475
tempo-github-sts[bot] wants to merge 1 commit into
Conversation
👁️ Cyclops Security Review✅ Reviewed 90e997b (latest) · Coverage: not recorded ·
|
|
59e8ed5 to
2806db9
Compare
2806db9 to
609511a
Compare
609511a to
6360a2d
Compare
6360a2d to
332f318
Compare
332f318 to
2fe5187
Compare
2fe5187 to
e03f4ef
Compare
e03f4ef to
6ffd858
Compare
tempo-alloy@1.17.0, tempo-chainspec@1.17.0 and 3 moretempo-alloy@2.0.0, tempo-chainspec@2.0.0 and 3 more
6ffd858 to
c89c270
Compare
c89c270 to
969b558
Compare
969b558 to
47b3a24
Compare
| description = "Tempo primitive types" | ||
|
|
||
| version = "1.16.0" | ||
| version = "1.17.0" |
There was a problem hiding this comment.
Needs review · unverified: SDK 1.17.0 removes a public signature method under a compatible version
A downstream crate declaring tempo-primitives = "1.16.0" can resolve 1.17.0 after a lockfile refresh if this release is published. A caller such as fn kind(sig: &TempoSignature) -> SignatureType { sig.signature_type() } then fails to compile, even if it handles only legacy primitive signatures. The 1.16.0 release source exports that method; the candidate exports only primitive_signature_type() -> Option<SignatureType> on TempoSignature.
Full finding
A downstream crate declaring tempo-primitives = "1.16.0" can resolve 1.17.0 after a lockfile refresh if this release is published. A caller such as fn kind(sig: &TempoSignature) -> SignatureType { sig.signature_type() } then fails to compile, even if it handles only legacy primitive signatures. The 1.16.0 release source exports that method; the candidate exports only primitive_signature_type() -> Option<SignatureType> on TempoSignature. An isolated rustc probe using the exact extracted method bodies and minimal type stubs compiled the old caller against the prior API and reproduced E0599 against the new API. The PR introduces the break at the release boundary by specifying 1.17.0, not by changing signature execution. The merge-triggered publication path preserves that version, and the optional SemVer check skips SDK crates that depend on another publishable SDK crate, including tempo-primitives. Impact is downstream build failure upon updating; an unchanged lockfile is unaffected, and no chain or hardfork activation is required. Release the fixed SDK group as 2.0.0, or retain the 1.x API, and validate the sanitized release candidate against the previous published API before uploading.
Valid? React with 👍 / 👎.
| description = "Tempo extensions of Alloy" | ||
|
|
||
| version = "1.16.0" | ||
| version = "1.17.0" |
There was a problem hiding this comment.
Medium (exposure unconfirmed): tempo-alloy 1.17.0 ships a non-Unpin provider future as a minor release
This release PR versions tempo-alloy as 1.17.0, a semver-compatible upgrade from 1.16.0. However, TempoProviderExt methods changed from async_trait boxed futures, which are Unpin, to opaque futures that are not. Downstream code that relied on Unpin compiles against 1.16.0 but fails with E0277 once Cargo selects 1.17.0.
Full finding
This release PR versions tempo-alloy as 1.17.0, a semver-compatible upgrade from 1.16.0. However, TempoProviderExt methods changed from async_trait boxed futures, which are Unpin, to opaque futures that are not. Downstream code that relied on Unpin compiles against 1.16.0 but fails with E0277 once Cargo selects 1.17.0. The project's semver gate skips tempo-alloy.
First reported at ca5b49f; recheck at this head: still present.
Valid? React with 👍 / 👎.
| description = "Tempo primitive types" | ||
|
|
||
| version = "1.16.0" | ||
| version = "1.17.0" |
There was a problem hiding this comment.
Needs review · unverified: Published SDK drops the advertised EVM feature
The 1.17.0 notes say tempo-hardfork, tempo-primitives, and tempo-chainspec expose evm2 types behind their evm features. The merge-triggered publish pipeline instead strips that feature from all three manifests and removes the primitives EVM exports from source. The 1.16.0 packaging path retained evm, including its default activation on primitives.
Full finding
The 1.17.0 notes say tempo-hardfork, tempo-primitives, and tempo-chainspec expose evm2 types behind their evm features. The merge-triggered publish pipeline instead strips that feature from all three manifests and removes the primitives EVM exports from source. The 1.16.0 packaging path retained evm, including its default activation on primitives. A crate with tempo-primitives = "1.16.0" and use tempo_primitives::TempoBlockEnv; can therefore resolve the new compatible version on a lockfile refresh and fail to compile without having explicitly requested evm. Consumers that explicitly request evm cannot use the 1.17.0 packages as configured. This is conditional on publication; the evidence is a source trace through both packaging pipelines, not a registry observation. Preserve the 1.x feature and compatibility exports in the published artifacts, or release the removal under a new major version. Correct the notes and test a downstream build against the exact sanitized packages.
Valid? React with 👍 / 👎.
This PR was opened by the Changelogs release workflow.
When you're ready to release, merge this PR and the packages will be published.
tempo-alloy@1.17.0Minor Changes
tempo_alloy::test_utils::CallBuilderExtbehind thetest-utilsfeature:mined()sends a contract call and returns its receipt without checking its status. (by @0xrusowsky, #9327)TempoTransactionRequestgainsconfigurableAccountSimulation, the claimed quorum of the sender or of thekeyIddelegate, andkeyAuthorizationSimulation, the claimed quorum of the parent or admin signing the attached key authorization. Simulation checks the claimed approvals against the configuration and builds mock owner signatures in their place, verifies the owner quorum of a configurable-signed key authorization sent without one, and refuses to sign a request that carries either field. (by @joshieDo, #8765)TempoProviderExtmethods no longer useasync_trait: they return an opaqueimpl Future(Sendon native targets) instead ofPin<Box<dyn Future>>. The returned futures are notUnpin, so callers that store,selectorpoll_unpinthem mustBox::pinthem first. (by Matthias Seitz, #9304)tempo-revmcrate.tempo-hardfork,tempo-primitivesandtempo-chainspecexpose evm2 types behind theirevmfeatures in place of their revm and alloy-evm equivalents.tempo-alloydrops itsrevmfeature andTempoTransactionRequest::try_into_tempo_tx_env; itsrethfeature now converts requests into evm2 transaction environments. (by Arsenii Kulikov, #7871)TempoNetwork's recommended fillers now useTempoNonceFiller, which fills a transaction with a non-zerononce_keyfrom that nonce key's sequence instead of the protocol pending nonce.RecommendedFillerschanged fromTempoFillers<NonceFiller>toTempoFillers<TempoNonceFiller>. (by @onbjerg, #8888)Patch Changes
TempoNetwork::build_unsignedrefuses to build an AA transaction whosemax_priority_fee_per_gasexceeds itsmax_fee_per_gas, or that failsTempoTransaction::validate, so it is never signed. (by @brendanjryan, #8819)encoded_2718andalloy_rlp::encodehelpers instead of filling buffers by hand. (by @joshieDo, #8842)Transport::boxed. (by @joshieDo, #8846)KeychainSignaturenow carries anAccountSignature: a primitive approval or the delegate's owner quorum.SignatureType::ConfigurableAccount(3) names such a delegate in a key authorization, which is rejected before T14. The handler checks the delegate's account, code and configuration commitment, registers it on first use and charges its account access; a primitive key whose ID has since migrated accepts its owner quorum. Gas estimation rejects a configurable key type without a configuration witness, the signature verifier rejects configurable keychain signatures, and zones reject configurable delegates. (by @joshieDo, #8750)SignedKeyAuthorization.signatureis now anAccountSignature: a primitive root signature or the account's owner quorum, with the same wire encoding.SignedKeyAuthorization::authorizing_accountreturns the named configurable account, andrecover_signerfails for one. Sender recovery verifies the grant's owner quorum, and the handler checks the grant account's code and configuration commitment and registers it on first use. The Tempo Accounts store persists configurable-signed key authorizations, and zones reject them. (by @joshieDo, #8755)TempoInvalidTransaction::RootKeyRetired(role inRootKeyRole). Each distinct non-sender role account costs one account access, so a sponsored transaction pays one more cold access;eth_estimateGasandeth_fillTransactionadd it for a request carrying the fee payer marker,TempoGasFilleradds it when it fills such a request, andaccount_access_gasis exported. (by @joshieDo, #8746)uses to module scope. No public API or behavior changes. (by @joshieDo, #8920)eth_simulateV1rejecting every AA batch with "only one CREATE call is allowed per transaction" by no longer appending the filled-inCreatedestination to the batch's calls. (by Matthias Seitz, #9062)SponsorFillermarks a request before the other fillers prepare, andTempoGasFillerestimates a sponsored request without its fees, so an unfunded sender no longer fails gas estimation when it setsmax_fee_per_gas.fill_sync, every filler'sprepareseesFEE_PAYER_SIGNATURE_MARKERon a sponsored request:prepare(such aseth_calloreth_estimateGas) now sends the marker, which nodes before T14 reject. Strip it in that filler, asTempoGasFillerdoes.TempoGasFillerwaits forchain_idandfrom, and refuses a legacygas_priceinpreparewithLegacyGasPriceUnsupportedinstead of later. (by @onbjerg, #9165)eth_estimateGasandeth_fillTransactionunder-estimating gas for WebAuthn senders: the mock signature now prices its authenticator data as nonzero bytes. (by @joshieDo, #8793)tempo-chainspec@1.17.0Minor Changes
tempo_chainspec::is_valid_native_account. (by @joshieDo, #8741)tempo-revmcrate.tempo-hardfork,tempo-primitivesandtempo-chainspecexpose evm2 types behind theirevmfeatures in place of their revm and alloy-evm equivalents.tempo-alloydrops itsrevmfeature andTempoTransactionRequest::try_into_tempo_tx_env; itsrethfeature now converts requests into evm2 transaction environments. (by Arsenii Kulikov, #7871)Patch Changes
uses to module scope. No public API or behavior changes. (by @joshieDo, #8920)T15hardfork with no public-network activation; dev and test genesis activate it at genesis. (by Alexey Shekhirin, #8706)IZoneIdentitybindings andZONE_IDENTITY_ADDRESSfor the T15 ZoneIdentity predeploy, andsetIdentityConfigandIdentityConfigUpdatedtoIZonePortal. The T15ZonePortalruntime, and the dev genesis that embeds it, store the ZoneIdentity registrar and enforcement flag. (by Arsenii Kulikov, #9432)tempo-contracts@1.17.0Minor Changes
ChannelDescriptor::idandid_preimagein tempo-contracts andtip20_channel_reserve::voucher_digestandvoucher_digest_within tempo-precompiles, which compute a channel's id and a voucher's EIP-712 digest outside a storage context, matching the precompile. (by @0xrusowsky, #9366)IConfigurableAccount) and itsCONFIGURABLE_ACCOUNT_ADDRESS. Nothing registers or calls it yet. (by @joshieDo, #8502)ConfigurableAccountaccount keychain signature type (value 3). From T14, the T3+authorizeKeyoverloads andauthorizeAdminKeyaccept it for a code-free delegate other than the granting account that is not a reserved address (precompile, TIP-20, virtual or zone portal). Earlier forks keep reverting exactly as for an unknown signature type. (by @joshieDo, #8527)0xefaccount marker (CONFIGURABLE_ACCOUNT_CODE,CONFIGURABLE_ACCOUNT_CODE_HASH,valid_account_code); later writes cost 5,000 gas.PrecompileStorageProvider::config_commitmentandset_config_commitmentare now required,account_config_commitmentdecodes a commitment,CONFIG_COMMITMENT_REGISTRATION_GASis removed, and a registered keychain-signed sender is exempt from EIP-3607 from T14. From T14 the handler seeds the upgrade authority, so a root-signedupgradeAccountthat is the whole transaction registers its sender, and a registered account can be named as a ConfigurableAccount delegate key. (by @joshieDo, #8743)UnsupportedOnZone()error toIConfigurableAccount, whichupdateConfigandupgradeAccountrevert with on zones (TIP-1154). (by @0xrusowsky, #9035)verifyConfigurableAccount(account, hash, signature): it returns whether a configurable account signature's owner quorum approveshashforaccountagainst its current configuration, and reverts for malformed or invalid approvals. Its calldata is exempt from the primitive signature size cap. (by @joshieDo, #8750)IAccountKeychain::KeyRestrictions::unrestricted()withexpiry,enforce_limits,limitandallowed_callsbuilders, andtest_util::KeychainSetup, which sets up an account's keychain in tests. (by @0xrusowsky, #9365)RootKeyRetired(address account)error toITIP20andITIP20ChannelReserve. From T14, TIP-20permitreverts with it when the owner has a config commitment, because a committed account no longer acts through its own root key. Channelopenand nonzerotopUprevert with it when the voucher signer has one; vouchers on already-funded channels stay redeemable after the signer migrates. (by @joshieDo, #8525)requestWithdrawal(..., bytes revealTo, bool revealOrg)overload and theOrgRevealRequiresCallbackerror to the zoneIZoneOutbox. A withdrawal commits its sender's org only through this overload withrevealOrgset, which requires a callback; the existingrequestWithdrawalalways carriessenderOrg = 0. Because the function is now overloaded, the generated Rust types arerequestWithdrawal_0Call(the existing signature) andrequestWithdrawal_1Call. (by Arsenii Kulikov, #9519)senderOrgto the zoneWithdrawal, theWithdrawalSenderOrgoutbox event andcallbackSenderOrg()onIZonePortal, which withdrawal receivers call duringonWithdrawalReceivedto read the sender's ZoneIdentity org. Withdrawals in org 0 keep their pre-T15 queue hash;LegacyWithdrawalandLegacyZonePortalbind that encoding. The T15ZonePortalruntime is regenerated. (by Arsenii Kulikov, #9432)IZoneIdentitybindings andZONE_IDENTITY_ADDRESSfor the T15 ZoneIdentity predeploy, andsetIdentityConfigandIdentityConfigUpdatedtoIZonePortal. The T15ZonePortalruntime, and the dev genesis that embeds it, store the ZoneIdentity registrar and enforcement flag. (by Arsenii Kulikov, #9432)setReader,canReadandReaderUpdatedto theIZoneIdentitybindings, which let a ZoneIdentity org's admin and the readers it names read its members' account-scoped state, and replacedMemberUpdatedwithMemberAddedandMemberRemoved. (by @0xrusowsky, #9438)ZonePortalruntime and bindings for the TIP-1171 unbounded deposit queue. ReplacedMAX_UNPROCESSED_DEPOSITSwithDEPOSITS_PER_BUCKET, added the checkpoint and congestion-price getters and theFeeTooHigherror, bound themaxFeeoverloads ofdepositanddepositEncrypted(calls are now suffixed:deposit_0/deposit_1,depositEncrypted_0/depositEncrypted_1), and added an optionalmax_feetoSwapAndDepositRouterCallbackthat makes the router call themaxFeeoverload. (by @0xrusowsky, #9437)ZonePortalruntime and bindings:depositVirtual,retireAddressVersionsBelowandminimumAddressVersion, theVirtualDepositMadeandAddressVersionsRetiredevents, and theInvalidVirtualDeposit,AddressVersionRetiredandInvalidVersionRetirementerrors. Added the zone address registry (IZoneAddressRegistry,MasterRegistered), the inboxinitializeVirtualAddressKeycall with theVirtualDepositProcessed,VirtualDepositFailedandVirtualAddressKeyInitializedevents, and the outboxInvalidWithdrawalRecipienterror.TempoAddressExt::is_valid_masternow takes the hardfork and rejects zone deposit addresses from T15. (by @Rjected, #8864)Patch Changes
uses to module scope. No public API or behavior changes. (by @joshieDo, #8920)IZoneIdentitydocs now say org 0 has no edges: nothing moves on the zone to, from or within org 0, andsetEdgerejects any edge that names it. (by Arsenii Kulikov, #9520)tempo-hardfork@1.17.0Minor Changes
gas_params::EIP7702_PER_EMPTY_ACCOUNT_COST_T1is now public. (by Matthias Seitz, #9332)tempo-revmcrate.tempo-hardfork,tempo-primitivesandtempo-chainspecexpose evm2 types behind theirevmfeatures in place of their revm and alloy-evm equivalents.tempo-alloydrops itsrevmfeature andTempoTransactionRequest::try_into_tempo_tx_env; itsrethfeature now converts requests into evm2 transaction environments. (by Arsenii Kulikov, #7871)T15hardfork with no public-network activation; dev and test genesis activate it at genesis. (by Alexey Shekhirin, #8706)L1_COMMITMENT_READ_GAS(10,000, inconstants::gas) andgas_params::apply_zone, which adds it to a zone's cold account access and access-list address costs from T14, so every load that reads an account's Tempo commitment pays for it (TIP-1154). (by Arsenii Kulikov, #9050)Patch Changes
uses to module scope. No public API or behavior changes. (by @joshieDo, #8920)tempo-primitives@1.17.0Minor Changes
AASigned::configurable_account_signatures, which returns the configurable account signatures approving a transaction: the outer signature, directly or inside a keychain envelope, then the inline key authorization's. (by Tanishk Goyal, #9132)tempo_primitives::account::{encode_config_commitment, decode_config_commitment}, the TIP-1108 account configuration commitment codec. (by @joshieDo, #8474)Call::new(to, input), which builds a zero-valueCall. (by @0xrusowsky, #9313)ConfigurableAccountConfig::derivation_gasfor the gas of that hash. (by @joshieDo, #8741)KeychainSignaturenow carries anAccountSignature: a primitive approval or the delegate's owner quorum.SignatureType::ConfigurableAccount(3) names such a delegate in a key authorization, which is rejected before T14. The handler checks the delegate's account, code and configuration commitment, registers it on first use and charges its account access; a primitive key whose ID has since migrated accepts its owner quorum. Gas estimation rejects a configurable key type without a configuration witness, the signature verifier rejects configurable keychain signatures, and zones reject configurable delegates. (by @joshieDo, #8750)SignedKeyAuthorization.signatureis now anAccountSignature: a primitive root signature or the account's owner quorum, with the same wire encoding.SignedKeyAuthorization::authorizing_accountreturns the named configurable account, andrecover_signerfails for one. Sender recovery verifies the grant's owner quorum, and the handler checks the grant account's code and configuration commitment and registers it on first use. The Tempo Accounts store persists configurable-signed key authorizations, and zones reject them. (by @joshieDo, #8755)TempoSignature::recover_signerreturns a recovery error for invalid approvals.ConfigurableAccountSignaturecaches the last verified digest, soverify_approvalsof an already recovered signature is free, and gainsrecover_account. (by @joshieDo, #8750)TempoSignature::ConfigurableAccount(type byte0x05) carries the owner quorum, the handler checks the account, its code and its configuration commitment, registers the account on first use and verifies the quorum, and a configurable sender can rotate its owners withupdateConfig.TempoSignature::signature_typeis nowprimitive_signature_typeand returnsNonefor a configurable account signature, andTempoInvalidTransaction::ConfigurableAccountreports the newConfigurableAccountError. Zones reject configurable account signatures and calls that configure an account. (by @joshieDo, #8750)ConfigurableAccountSignature::verify_approvalsandConfigurableAccountSignature::validate_account_commitment, which check owner approvals and the account commitment without reading state, along withConfigurableAccountStateError,ConfigurableAccountQuorumError::OwnerSignatureRecoveryFailedandCONFIGURABLE_ACCOUNT_UPGRADE_DOMAIN. Transaction signatures do not accept configurable account signatures yet. (by @joshieDo, #8502)ConfigurableAccountOwner,ConfigurableAccountConfigandConfigurableAccountSignature, with their encoding, account derivation, configuration commitments and owner-quorum weight accounting. Transaction signatures do not accept them yet. (by @joshieDo, #8502)tempo-revmcrate.tempo-hardfork,tempo-primitivesandtempo-chainspecexpose evm2 types behind theirevmfeatures in place of their revm and alloy-evm equivalents.tempo-alloydrops itsrevmfeature andTempoTransactionRequest::try_into_tempo_tx_env; itsrethfeature now converts requests into evm2 transaction environments. (by Arsenii Kulikov, #7871)tempo_primitives::cryptowithverify_p256,verify_webauthn,verify_ed25519and, withstd,verify_p384_derandverify_p384_fixed, plusKeychainVersion::signing_hashandP256SignatureWithPreHash::digest. Withmock-crypto,crypto::mockadds keyed mock signature builders, andmock::installmakes every check also accept them. (by @0xrusowsky, #9506)tt_signature::p256_keypairbehind thetest-utilsfeature: a random P256 signing key with its public key coordinates and derived address. (by @0xrusowsky, #9327)tempo_primitives::test_utilsbehind thetest-utilsfeature:actors,actors_vecandamounts, drawn from a per-thread test RNG seeded fromTEMPO_TEST_SEED(or randomly, printing the seed on panic so failures replay). (by @0xrusowsky, #9312)signersandsigners_vectotempo_primitives::test_utils: private-key signers drawn from the same seeded test RNG asactorsandamounts. (by @0xrusowsky, #9326)TempoEvmKind, the kind of Tempo EVM (L1 or zone), which fixes the protocol rules that differ between Tempo and its zones.TempoEvmExt::new(kind, fee_manager)replacesTempoEvmExt::with_fee_manager, andPrecompileStorageProvider::kindreplacesset_revert_blocked_inboundandrevert_blocked_inbound. Blocked TIP-1028 inbounds now revert in every storage context over a zone EVM, not only inside zone precompile calls from T15; before T15 no zone path could reach a blocked inbound, so historical execution is unchanged.TIP20Token::mint_with_roleis removed: TIP-20 mints on zones authorize recipients with TIP-403Recipientfrom T13 on their own. (by @0xrusowsky, #8987)ZonePortalruntime and bindings:depositVirtual,retireAddressVersionsBelowandminimumAddressVersion, theVirtualDepositMadeandAddressVersionsRetiredevents, and theInvalidVirtualDeposit,AddressVersionRetiredandInvalidVersionRetirementerrors. Added the zone address registry (IZoneAddressRegistry,MasterRegistered), the inboxinitializeVirtualAddressKeycall with theVirtualDepositProcessed,VirtualDepositFailedandVirtualAddressKeyInitializedevents, and the outboxInvalidWithdrawalRecipienterror.TempoAddressExt::is_valid_masternow takes the hardfork and rejects zone deposit addresses from T15. (by @Rjected, #8864)Patch Changes
SignableTransaction::into_signedinstead ofSigned::new_unhashed(same lazy hashing). (by @joshieDo, #8839)alloy_rlp::encodeand the RLP header length helper instead of hand-rolled encoding, without changing encodings. (by @joshieDo, #8841)TempoTxEnvelope::sizecounts the full inline enum for every transaction type, so legacy, EIP-2930, EIP-1559 and EIP-7702 transactions are no longer reported at about a quarter of their in-memory size. (by Matthias Seitz, #9330)TempoBlockExt::proposer_public_keyisNone. (by Richard Janis Goldschmidt, #9417)uses to module scope. No public API or behavior changes. (by @joshieDo, #8920)