Skip to content

[v1.10] Port v1.10.6-rc - #4528

Merged
turbolent merged 81 commits into
v1.10from
bastian/port-v1.10.6-rc
Aug 18, 2026
Merged

turbolent merged 81 commits into
v1.10from
bastian/port-v1.10.6-rc

Conversation

@turbolent

@turbolent turbolent commented Aug 18, 2026 •

Copy link
Copy Markdown
Member

SupunS and others added 30 commits July 6, 2026 13:17
…rasure

Fix function parameter authorization erasure
…ility-auth-leak

Prevent authorized capability recovery from bound container methods
…ion-type-auth-leak

Prevent authorized reference recovery from bound container methods on function-typed elements
…lidation

Validate arguments during contract function invocation
…ce-detection

Detect reference types nested in function types
…r-record-exists

Assert storage controller update overwrites existing
…tion

Harden enum case validation during import
turbolent and others added 20 commits August 10, 2026 10:34
Nested reference authorizations were intersected with the accessed
reference's raw authorization. For a field with mapping access that is too
restrictive: the authorization such a field grants is the image of the
accessed reference's authorization through the map, not the authorization
itself.

Given `entitlement mapping M { G -> E }`, reading an `access(mapping M)`
field through an `auth(G)` reference grants `E`, so a nested `auth(E)`
reference has to survive. Intersecting the raw `G` with `E` instead
produced no authorization at all, since the two are disjoint.

Introduce grantedMemberAuthorization for that distinction, and use it as
the cap in both branches.

The wrapping branch had the same flaw, independently of capability- and
function-typed fields: a mapped field of a container type holding
references, such as `access(mapping M) let x: [auth(E) &T]`, lost its
element authorization as well. The comment there claimed the mapped and
raw authorizations can only differ for non-mapped fields, because a mapped
field cannot have a reference type. That holds for a field that *is* a
reference, but not for one that merely *contains* references, which is
exactly the case this cap applies to.

Reported by @SupunS.
(cherry picked from commit 1587628)
(cherry picked from commit 52f5dfd)
(cherry picked from commit f13cf5c)
(cherry picked from commit 20e73c2)
(cherry picked from commit d5fbea6)
Fix entitlements disjunction with empty set
…y-check-tool

Improve analysis and compatibility check tool
…-auth

#548 landed on the base branch and appended test functions
to the same two files this branch appends to,
which is the only conflict. Kept both sides:
TestEntitlementMapEmptyDisjunctImage and
TestEntitlementMapEmptyDisjunctImageControls from the base branch,
followed by this branch's member capping tests.
The cap used the authorization of the reference the member is read through
even for members whose access restricts them to a location. Those are
gated by where the reading code is, not by any authorization: no code
outside that location can read them through a reference of any
authorization, so capping them only restricts the declaring code itself.

This broke FlowTransactionScheduler, which reads its own
`access(contract) let handler: Capability<auth(Execute) &{TransactionHandler}>`
through the unauthorized `&TransactionData` that borrowTransaction
returns, and then calls the handler's `access(Execute) fun`. Capping the
capability's borrow type left it unauthorized, so the call was rejected.

Cap only members that code anywhere may read: entitlement-based and
publicly readable ones. An unspecified access modifier counts as publicly
readable, which is both what it means outside a restricted access check
mode and the conservative answer.

The escalation this branch fixes is unaffected: an `access(all)` field of
capability or function type stays capped, which is the case an outside
holder of a weak reference can actually reach.
…ction-auth

Cap nested reference authorizations of capability- and function-typed fields
intersectReferenceAuthorizationsInType intersected the authorization of
every reference it found, including references in function parameter
types. Parameters are contravariant: a reference there is one the reader
has to supply, not one it obtains, so capping it grants the reader nothing.
It instead weakens what callers are required to pass.

A function-typed field or element whose parameter carries an entitlement,
read through a weaker reference, therefore accepted an under-entitled
argument. The checker allowed the call, and the runtime rejected it with
`internal error: invalid reference conversion error`, since the function's
actual parameter type is unchanged. Passing an under-entitled reference is
now a type error again, as it was before the cap was introduced.

Variance cannot be derived locally, because it only ever flips at
parameters and flips back for the parameter of a parameter. It is therefore
tracked through the traversal. That nested position is not merely
theoretical: it is where a reader's own callback receives an authorized
reference, so it must still be capped. It is what the generic function
binder identity test now uses to force a rewrite, in place of the
contravariant parameter it used before.

Type parameter bounds keep being preserved unchanged, as before.
The binder identity test forced the rewriter to rebuild by putting an
authorized reference in a parameter, which is exactly what this branch
stops capping. Rather than replacing that parameter with the callback that
now forces the rebuild, keep it and assert what it demonstrates: a
reference in a parameter is contravariant, so it is left as declared,
identity included.

The test now covers both directions of the variance rule at the unit
level, where only the language-level tests did before:
- the callback's parameter is covariant again, and is capped
- the parameter itself is contravariant, and is not

Verified that each assertion fails on its own: making parameters covariant
breaks the preserved-reference assertion, and never capping parameters
breaks the rebuild the callback forces.
The variance tests covered a reference at parameter depth 0, 1 and 2 only.
Two alternating data points are consistent with flipping once, and none of
the cases mixed parameter and return positions, so they were also
consistent with the wrong reading that the parity is of the total nesting
depth rather than of the parameter nesting depth.

Add a table pinning the resulting type exactly for depths 0 through 4, and
for the four mixed parameter/return combinations, reading the resulting
type from the type mismatch rather than inferring it from what is
accessible.

Each case also cross-checks the parity rule it demonstrates, so a typo in
an expected type does not silently pass.

Verified against three wrong implementations: never flipping fails 4
subtests, never capping parameters fails 3, and flipping at return types as
well as parameters fails 4.
…ce-capping

Only cap reference authorizations in covariant positions
@turbolent
turbolent requested a review from SupunS as a code owner August 18, 2026 15:58
@github-actions

Copy link
Copy Markdown

Benchstat comparison

  • Base branch: onflow:v1.10
  • Base commit: 79ed902
Results

old.txtnew.txt
time/opdelta
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ByteArrayTransfer-41.39µs ± 0%1.40µs ± 0%~(p=1.000 n=1+1)
ByteArrayValueToByteSlice-484.4ns ± 0%81.8ns ± 0%~(p=1.000 n=1+1)
ByteSliceToByteArrayValue-41.30µs ± 0%1.31µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-4133µs ± 0%130µs ± 0%~(p=1.000 n=1+1)
CompileTime-439.5µs ± 0%39.1µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-4407µs ± 0%404µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-4248µs ± 0%233µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
DecodeBatchEventsCCF-4137ms ± 0%139ms ± 0%~(p=1.000 n=1+1)
DecodeBatchEventsJSON-4467ms ± 0%466ms ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowFees.FeesDeducted-43.06µs ± 0%3.11µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowFees.TokensWithdrawn-42.34µs ± 0%2.32µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-43.03µs ± 0%3.06µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-43.40µs ± 0%3.49µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowIDTableStaking.NewWeeklyPayout-42.32µs ± 0%2.30µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowIDTableStaking.RewardsPaid-42.74µs ± 0%2.79µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowToken.TokensDeposited-42.76µs ± 0%2.80µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowToken.TokensDeposited_with_nil_receiver-42.67µs ± 0%2.73µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowToken.TokensMinted-42.35µs ± 0%2.34µs ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowToken.TokensWithdrawn-42.75µs ± 0%2.79µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowFees.FeesDeducted-411.4µs ± 0%11.5µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowFees.TokensWithdrawn-46.63µs ± 0%6.58µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-410.5µs ± 0%10.6µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-414.2µs ± 0%14.1µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowIDTableStaking.NewWeeklyPayout-46.80µs ± 0%6.78µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowIDTableStaking.RewardsPaid-48.78µs ± 0%8.76µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowToken.TokensDeposited-49.13µs ± 0%9.28µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowToken.TokensDeposited_with_nil_receiver-48.24µs ± 0%8.36µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowToken.TokensMinted-46.70µs ± 0%6.66µs ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowToken.TokensWithdrawn-49.18µs ± 0%9.19µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-44.21µs ± 0%4.01µs ± 0%~(p=1.000 n=1+1)
Emit-45.19ms ± 0%5.11ms ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
EncodeBatchEventsCCF-492.5ms ± 0%94.4ms ± 0%~(p=1.000 n=1+1)
EncodeBatchEventsJSON-4101ms ± 0%101ms ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowFees.FeesDeducted-42.03µs ± 0%2.07µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowFees.TokensWithdrawn-41.62µs ± 0%1.67µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-42.08µs ± 0%2.00µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-42.28µs ± 0%2.31µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowIDTableStaking.NewWeeklyPayout-41.71µs ± 0%1.75µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowIDTableStaking.RewardsPaid-41.84µs ± 0%1.85µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowToken.TokensDeposited-41.86µs ± 0%1.94µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowToken.TokensDeposited_with_nil_receiver-41.82µs ± 0%1.87µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowToken.TokensMinted-41.63µs ± 0%1.68µs ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowToken.TokensWithdrawn-41.86µs ± 0%1.89µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowFees.FeesDeducted-42.36µs ± 0%2.33µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowFees.TokensWithdrawn-41.39µs ± 0%1.37µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-42.17µs ± 0%2.15µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-42.99µs ± 0%2.98µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowIDTableStaking.NewWeeklyPayout-41.43µs ± 0%1.40µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowIDTableStaking.RewardsPaid-41.82µs ± 0%1.82µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowToken.TokensDeposited-42.07µs ± 0%2.08µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowToken.TokensDeposited_with_nil_receiver-41.63µs ± 0%1.64µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowToken.TokensMinted-41.40µs ± 0%1.37µs ± 0%~(p=1.000 n=1+1)
EncodeJSON/FlowToken.TokensWithdrawn-42.02µs ± 0%2.05µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EnumTransfer-41.58µs ± 0%1.59µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-4235ns ± 0%232ns ± 0%~(p=1.000 n=1+1)
ExportType/simple_type-444.6ns ± 0%44.3ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
FTTransfer-4171µs ± 0%166µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-4645µs ± 0%648µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ImperativeFib-425.7µs ± 0%24.7µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ImperativeFib-429.1µs ± 0%31.9µs ± 0%~(p=1.000 n=1+1)
ImperativeFibNewCompilerNewVM-457.8µs ± 0%59.6µs ± 0%~(p=1.000 n=1+1)
ImperativeFibNewVM-433.6µs ± 0%35.3µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-42.51ms ± 0%2.41ms ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-4142µs ± 0%136µs ± 0%~(p=1.000 n=1+1)
InterpreterImperativeFib-426.0µs ± 0%28.3µs ± 0%~(p=1.000 n=1+1)
InterpreterNewStruct-473.8µs ± 0%71.1µs ± 0%~(p=1.000 n=1+1)
MethodCall/concrete_type_method_call-448.8µs ± 0%48.0µs ± 0%~(p=1.000 n=1+1)
MethodCall/interface_method_call-466.9µs ± 0%66.8µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-41.02µs ± 0%1.00µs ± 0%~(p=1.000 n=1+1)
NewInterpreter/new_sub-interpreter-4343ns ± 0%326ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
NewResource-4114µs ± 0%120µs ± 0%~(p=1.000 n=1+1)
NewStruct-450.8µs ± 0%49.4µs ± 0%~(p=1.000 n=1+1)
NewStructRaw-43.59µs ± 0%3.55µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/parser goos:linux goarch:amd64
ParseArray-45.96ms ± 0%5.91ms ± 0%~(p=1.000 n=1+1)
ParseDeploy/byte_array-49.24ms ± 0%8.71ms ± 0%~(p=1.000 n=1+1)
ParseDeploy/decode_hex-4644µs ± 0%672µs ± 0%~(p=1.000 n=1+1)
ParseFungibleToken/With_memory_metering-4167µs ± 0%165µs ± 0%~(p=1.000 n=1+1)
ParseFungibleToken/Without_memory_metering-4117µs ± 0%115µs ± 0%~(p=1.000 n=1+1)
ParseInfix-45.22µs ± 0%5.14µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
QualifiedIdentifierCreation/One_level-41.87ns ± 0%2.18ns ± 0%~(p=1.000 n=1+1)
QualifiedIdentifierCreation/Three_levels-482.5ns ± 0%85.2ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
RecursionFib-41.78ms ± 0%1.90ms ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransfer-4792µs ± 0%792µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-4648µs ± 0%637µs ± 0%~(p=1.000 n=1+1)
RuntimeResourceDictionaryValues-42.77ms ± 0%2.78ms ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-411.0ms ± 0%11.2ms ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-414.9µs ± 0%14.8µs ± 0%~(p=1.000 n=1+1)
RuntimeVMInvokeContractImperativeFib-446.9µs ± 0%46.8µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-4125ns ± 0%129ns ± 0%~(p=1.000 n=1+1)
SuperTypeInference/composites-477.6ns ± 0%78.9ns ± 0%~(p=1.000 n=1+1)
SuperTypeInference/integers-4150ns ± 0%148ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ValueIsSubtypeOfSemaType-457.5ns ± 0%59.8ns ± 0%~(p=1.000 n=1+1)
 
alloc/opdelta
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ByteArrayTransfer-41.14kB ± 0%1.14kB ± 0%~(p=1.000 n=1+1)
ByteArrayValueToByteSlice-432.0B ± 0%32.0B ± 0%~(all equal)
ByteSliceToByteArrayValue-41.05kB ± 0%1.05kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-483.0kB ± 0%83.0kB ± 0%~(p=1.000 n=1+1)
CompileTime-416.9kB ± 0%16.9kB ± 0%~(all equal)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-4147kB ± 0%148kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-479.8kB ± 0%79.7kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
DecodeBatchEventsCCF-469.9MB ± 0%69.9MB ± 0%~(p=1.000 n=1+1)
DecodeBatchEventsJSON-4262MB ± 0%262MB ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowFees.FeesDeducted-41.47kB ± 0%1.47kB ± 0%~(all equal)
DecodeCCF/FlowFees.TokensWithdrawn-41.28kB ± 0%1.28kB ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-41.55kB ± 0%1.55kB ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-41.57kB ± 0%1.57kB ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.NewWeeklyPayout-41.33kB ± 0%1.33kB ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.RewardsPaid-41.45kB ± 0%1.45kB ± 0%~(all equal)
DecodeCCF/FlowToken.TokensDeposited-41.39kB ± 0%1.39kB ± 0%~(all equal)
DecodeCCF/FlowToken.TokensDeposited_with_nil_receiver-41.38kB ± 0%1.38kB ± 0%~(all equal)
DecodeCCF/FlowToken.TokensMinted-41.28kB ± 0%1.28kB ± 0%~(all equal)
DecodeCCF/FlowToken.TokensWithdrawn-41.40kB ± 0%1.40kB ± 0%~(all equal)
DecodeJSON/FlowFees.FeesDeducted-46.37kB ± 0%6.37kB ± 0%~(all equal)
DecodeJSON/FlowFees.TokensWithdrawn-43.84kB ± 0%3.84kB ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-45.82kB ± 0%5.82kB ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-47.80kB ± 0%7.80kB ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.NewWeeklyPayout-43.90kB ± 0%3.90kB ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.RewardsPaid-44.86kB ± 0%4.86kB ± 0%~(all equal)
DecodeJSON/FlowToken.TokensDeposited-45.23kB ± 0%5.23kB ± 0%~(all equal)
DecodeJSON/FlowToken.TokensDeposited_with_nil_receiver-44.78kB ± 0%4.78kB ± 0%~(all equal)
DecodeJSON/FlowToken.TokensMinted-43.86kB ± 0%3.86kB ± 0%~(p=1.000 n=1+1)
DecodeJSON/FlowToken.TokensWithdrawn-45.23kB ± 0%5.23kB ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-42.75kB ± 0%2.74kB ± 0%~(p=1.000 n=1+1)
Emit-41.71MB ± 0%1.70MB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
EncodeBatchEventsCCF-465.8MB ± 0%65.8MB ± 0%~(p=1.000 n=1+1)
EncodeBatchEventsJSON-440.7MB ± 0%40.7MB ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowFees.FeesDeducted-41.29kB ± 0%1.29kB ± 0%~(all equal)
EncodeCCF/FlowFees.TokensWithdrawn-41.24kB ± 0%1.24kB ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-41.51kB ± 0%1.51kB ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-41.48kB ± 0%1.48kB ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.NewWeeklyPayout-41.42kB ± 0%1.42kB ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.RewardsPaid-41.50kB ± 0%1.50kB ± 0%~(all equal)
EncodeCCF/FlowToken.TokensDeposited-41.29kB ± 0%1.29kB ± 0%~(all equal)
EncodeCCF/FlowToken.TokensDeposited_with_nil_receiver-41.27kB ± 0%1.27kB ± 0%~(all equal)
EncodeCCF/FlowToken.TokensMinted-41.24kB ± 0%1.24kB ± 0%~(all equal)
EncodeCCF/FlowToken.TokensWithdrawn-41.29kB ± 0%1.29kB ± 0%~(all equal)
EncodeJSON/FlowFees.FeesDeducted-4896B ± 0%896B ± 0%~(all equal)
EncodeJSON/FlowFees.TokensWithdrawn-4536B ± 0%536B ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-4920B ± 0%920B ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-41.11kB ± 0%1.11kB ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.NewWeeklyPayout-4584B ± 0%584B ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.RewardsPaid-4784B ± 0%784B ± 0%~(all equal)
EncodeJSON/FlowToken.TokensDeposited-4808B ± 0%808B ± 0%~(all equal)
EncodeJSON/FlowToken.TokensDeposited_with_nil_receiver-4672B ± 0%672B ± 0%~(all equal)
EncodeJSON/FlowToken.TokensMinted-4544B ± 0%544B ± 0%~(all equal)
EncodeJSON/FlowToken.TokensWithdrawn-4800B ± 0%800B ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EnumTransfer-4962B ± 0%965B ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-4112B ± 0%112B ± 0%~(all equal)
ExportType/simple_type-40.00B 0.00B ~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
FTTransfer-445.2kB ± 0%45.3kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-4242kB ± 0%242kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ImperativeFib-48.30kB ± 0%8.30kB ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ImperativeFib-46.29kB ± 0%6.29kB ± 0%~(all equal)
ImperativeFibNewCompilerNewVM-426.7kB ± 0%26.7kB ± 0%~(all equal)
ImperativeFibNewVM-49.02kB ± 0%9.02kB ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-41.17MB ± 0%1.17MB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-446.3kB ± 0%46.3kB ± 0%~(p=1.000 n=1+1)
InterpreterImperativeFib-48.29kB ± 0%8.29kB ± 0%~(all equal)
InterpreterNewStruct-426.1kB ± 0%25.9kB ± 0%~(p=1.000 n=1+1)
MethodCall/concrete_type_method_call-411.2kB ± 0%11.2kB ± 0%~(p=1.000 n=1+1)
MethodCall/interface_method_call-418.1kB ± 0%18.1kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-41.02kB ± 0%1.02kB ± 0%~(all equal)
NewInterpreter/new_sub-interpreter-4232B ± 0%232B ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
NewResource-445.6kB ± 0%45.6kB ± 0%~(p=1.000 n=1+1)
NewStruct-414.7kB ± 0%15.5kB ± 0%~(p=1.000 n=1+1)
NewStructRaw-41.99kB ± 0%1.95kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/parser goos:linux goarch:amd64
ParseArray-42.66MB ± 0%2.66MB ± 0%~(p=1.000 n=1+1)
ParseDeploy/byte_array-44.14MB ± 0%4.13MB ± 0%~(p=1.000 n=1+1)
ParseDeploy/decode_hex-4214kB ± 0%214kB ± 0%~(p=1.000 n=1+1)
ParseFungibleToken/With_memory_metering-430.3kB ± 0%30.3kB ± 0%~(p=1.000 n=1+1)
ParseFungibleToken/Without_memory_metering-430.3kB ± 0%30.3kB ± 0%~(all equal)
ParseInfix-41.91kB ± 0%1.92kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
QualifiedIdentifierCreation/One_level-40.00B 0.00B ~(all equal)
QualifiedIdentifierCreation/Three_levels-464.0B ± 0%64.0B ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
RecursionFib-4322kB ± 0%322kB ± 0%~(all equal)
RuntimeFungibleTokenTransfer-4251kB ± 0%251kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-4174kB ± 0%174kB ± 0%~(p=1.000 n=1+1)
RuntimeResourceDictionaryValues-41.82MB ± 0%1.81MB ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-47.42MB ± 0%7.42MB ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-48.18kB ± 0%8.18kB ± 0%~(all equal)
RuntimeVMInvokeContractImperativeFib-415.0kB ± 0%15.0kB ± 0%~(all equal)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-424.0B ± 0%24.0B ± 0%~(all equal)
SuperTypeInference/composites-40.00B 0.00B ~(all equal)
SuperTypeInference/integers-40.00B 0.00B ~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ValueIsSubtypeOfSemaType-432.0B ± 0%32.0B ± 0%~(all equal)
 
allocs/opdelta
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ByteArrayTransfer-48.00 ± 0%8.00 ± 0%~(all equal)
ByteArrayValueToByteSlice-41.00 ± 0%1.00 ± 0%~(all equal)
ByteSliceToByteArrayValue-46.00 ± 0%6.00 ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-4572 ± 0%572 ± 0%~(all equal)
CompileTime-4205 ± 0%205 ± 0%~(all equal)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-42.26k ± 0%2.26k ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-41.37k ± 0%1.37k ± 0%~(all equal)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
DecodeBatchEventsCCF-41.48M ± 0%1.48M ± 0%~(p=1.000 n=1+1)
DecodeBatchEventsJSON-45.44M ± 0%5.44M ± 0%~(p=1.000 n=1+1)
DecodeCCF/FlowFees.FeesDeducted-430.0 ± 0%30.0 ± 0%~(all equal)
DecodeCCF/FlowFees.TokensWithdrawn-426.0 ± 0%26.0 ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-430.0 ± 0%30.0 ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-432.0 ± 0%32.0 ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.NewWeeklyPayout-426.0 ± 0%26.0 ± 0%~(all equal)
DecodeCCF/FlowIDTableStaking.RewardsPaid-429.0 ± 0%29.0 ± 0%~(all equal)
DecodeCCF/FlowToken.TokensDeposited-431.0 ± 0%31.0 ± 0%~(all equal)
DecodeCCF/FlowToken.TokensDeposited_with_nil_receiver-429.0 ± 0%29.0 ± 0%~(all equal)
DecodeCCF/FlowToken.TokensMinted-426.0 ± 0%26.0 ± 0%~(all equal)
DecodeCCF/FlowToken.TokensWithdrawn-431.0 ± 0%31.0 ± 0%~(all equal)
DecodeJSON/FlowFees.FeesDeducted-4142 ± 0%142 ± 0%~(all equal)
DecodeJSON/FlowFees.TokensWithdrawn-479.0 ± 0%79.0 ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-4118 ± 0%118 ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-4179 ± 0%179 ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.NewWeeklyPayout-478.0 ± 0%78.0 ± 0%~(all equal)
DecodeJSON/FlowIDTableStaking.RewardsPaid-499.0 ± 0%99.0 ± 0%~(all equal)
DecodeJSON/FlowToken.TokensDeposited-4110 ± 0%110 ± 0%~(all equal)
DecodeJSON/FlowToken.TokensDeposited_with_nil_receiver-498.0 ± 0%98.0 ± 0%~(all equal)
DecodeJSON/FlowToken.TokensMinted-479.0 ± 0%79.0 ± 0%~(all equal)
DecodeJSON/FlowToken.TokensWithdrawn-4110 ± 0%110 ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-431.0 ± 0%31.0 ± 0%~(all equal)
Emit-442.0k ± 0%42.0k ± 0%~(all equal)
pkg:github.com/onflow/cadence/encoding/ccf goos:linux goarch:amd64
EncodeBatchEventsCCF-41.00M ± 0%1.00M ± 0%~(p=1.000 n=1+1)
EncodeBatchEventsJSON-4902k ± 0%902k ± 0%~(p=1.000 n=1+1)
EncodeCCF/FlowFees.FeesDeducted-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowFees.TokensWithdrawn-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.DelegatorRewardsPaid-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.EpochTotalRewardsPaid-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.NewWeeklyPayout-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowIDTableStaking.RewardsPaid-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowToken.TokensDeposited-421.0 ± 0%21.0 ± 0%~(all equal)
EncodeCCF/FlowToken.TokensDeposited_with_nil_receiver-421.0 ± 0%21.0 ± 0%~(all equal)
EncodeCCF/FlowToken.TokensMinted-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeCCF/FlowToken.TokensWithdrawn-421.0 ± 0%21.0 ± 0%~(all equal)
EncodeJSON/FlowFees.FeesDeducted-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeJSON/FlowFees.TokensWithdrawn-413.0 ± 0%13.0 ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.DelegatorRewardsPaid-417.0 ± 0%17.0 ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.EpochTotalRewardsPaid-426.0 ± 0%26.0 ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.NewWeeklyPayout-413.0 ± 0%13.0 ± 0%~(all equal)
EncodeJSON/FlowIDTableStaking.RewardsPaid-416.0 ± 0%16.0 ± 0%~(all equal)
EncodeJSON/FlowToken.TokensDeposited-420.0 ± 0%20.0 ± 0%~(all equal)
EncodeJSON/FlowToken.TokensDeposited_with_nil_receiver-415.0 ± 0%15.0 ± 0%~(all equal)
EncodeJSON/FlowToken.TokensMinted-414.0 ± 0%14.0 ± 0%~(all equal)
EncodeJSON/FlowToken.TokensWithdrawn-419.0 ± 0%19.0 ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EnumTransfer-414.0 ± 0%14.0 ± 0%~(all equal)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-42.00 ± 0%2.00 ± 0%~(all equal)
ExportType/simple_type-40.00 0.00 ~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
FTTransfer-41.44k ± 0%1.44k ± 0%~(all equal)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-43.72k ± 0%3.72k ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ImperativeFib-4176 ± 0%176 ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ImperativeFib-4321 ± 0%321 ± 0%~(all equal)
ImperativeFibNewCompilerNewVM-4527 ± 0%527 ± 0%~(all equal)
ImperativeFibNewVM-4364 ± 0%364 ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-416.5k ± 0%16.5k ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-41.01k ± 0%1.01k ± 0%~(p=1.000 n=1+1)
InterpreterImperativeFib-4175 ± 0%175 ± 0%~(all equal)
InterpreterNewStruct-4418 ± 0%418 ± 0%~(all equal)
MethodCall/concrete_type_method_call-4392 ± 0%392 ± 0%~(all equal)
MethodCall/interface_method_call-4502 ± 0%502 ± 0%~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-416.0 ± 0%16.0 ± 0%~(all equal)
NewInterpreter/new_sub-interpreter-44.00 ± 0%4.00 ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
NewResource-4987 ± 0%987 ± 0%~(all equal)
NewStruct-4421 ± 0%421 ± 0%~(all equal)
NewStructRaw-432.0 ± 0%32.0 ± 0%~(all equal)
pkg:github.com/onflow/cadence/parser goos:linux goarch:amd64
ParseArray-459.6k ± 0%59.6k ± 0%~(p=1.000 n=1+1)
ParseDeploy/byte_array-489.4k ± 0%89.4k ± 0%~(p=1.000 n=1+1)
ParseDeploy/decode_hex-463.0 ± 0%63.0 ± 0%~(all equal)
ParseFungibleToken/With_memory_metering-4783 ± 0%783 ± 0%~(all equal)
ParseFungibleToken/Without_memory_metering-4783 ± 0%783 ± 0%~(all equal)
ParseInfix-448.0 ± 0%48.0 ± 0%~(all equal)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
QualifiedIdentifierCreation/One_level-40.00 0.00 ~(all equal)
QualifiedIdentifierCreation/Three_levels-42.00 ± 0%2.00 ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
RecursionFib-418.3k ± 0%18.3k ± 0%~(all equal)
RuntimeFungibleTokenTransfer-44.22k ± 0%4.22k ± 0%~(all equal)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-43.22k ± 0%3.22k ± 0%~(all equal)
RuntimeResourceDictionaryValues-436.7k ± 0%36.7k ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-4131k ± 0%131k ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-4117 ± 0%117 ± 0%~(all equal)
RuntimeVMInvokeContractImperativeFib-4488 ± 0%488 ± 0%~(all equal)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-41.00 ± 0%1.00 ± 0%~(all equal)
SuperTypeInference/composites-40.00 0.00 ~(all equal)
SuperTypeInference/integers-40.00 0.00 ~(all equal)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ValueIsSubtypeOfSemaType-41.00 ± 0%1.00 ± 0%~(all equal)
 

@turbolent
turbolent enabled auto-merge August 18, 2026 16:26
@turbolent turbolent self-assigned this Aug 18, 2026
@turbolent
turbolent merged commit 9d57ca9 into v1.10 Aug 18, 2026
12 of 15 checks passed
@turbolent
turbolent deleted the bastian/port-v1.10.6-rc branch August 18, 2026 16:42
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
cadence 1.10.6

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre><!-- Release notes generated using configuration in .github/release.yml at v1.10.6 -->

## What's Changed
### Other Changes
* [v1.10] Port v1.10.6-rc by @turbolent in onflow/cadence#4528

- https://github.com/onflow/cadence-internal/pull/532
- https://github.com/onflow/cadence-internal/pull/531
- https://github.com/onflow/cadence-internal/pull/534
- https://github.com/onflow/cadence-internal/pull/535
- https://github.com/onflow/cadence-internal/pull/536
- https://github.com/onflow/cadence-internal/pull/537
- https://github.com/onflow/cadence-internal/pull/538
- https://github.com/onflow/cadence-internal/pull/539
- https://github.com/onflow/cadence-internal/pull/540
- https://github.com/onflow/cadence-internal/pull/541
- https://github.com/onflow/cadence-internal/pull/542
- https://github.com/onflow/cadence-internal/pull/543
- https://github.com/onflow/cadence-internal/pull/544
- https://github.com/onflow/cadence-internal/pull/545
- https://github.com/onflow/cadence-internal/pull/546
- https://github.com/onflow/cadence-internal/pull/547
- https://github.com/onflow/cadence-internal/pull/549
- https://github.com/onflow/cadence-internal/pull/550
- https://github.com/onflow/cadence-internal/pull/554
- https://github.com/onflow/cadence-internal/pull/548
- https://github.com/onflow/cadence-internal/pull/555
- https://github.com/onflow/cadence-internal/pull/551
- https://github.com/onflow/cadence-internal/pull/552

**Full Changelog**: https://github.com/onflow/cadence/compare/v1.10.4...v1.10.6</pre>
  <p>View the full release notes at <a href="https://github.com/onflow/cadence/releases/tag/v1.10.6">https://github.com/onflow/cadence/releases/tag/v1.10.6</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址