Skip to content

Port v1.10.1-rc.1 - #4460

Merged
turbolent merged 130 commits into
masterfrom
bastian/port-v1.10.1-rc.1
Apr 7, 2026
Merged

turbolent merged 130 commits into
masterfrom
bastian/port-v1.10.1-rc.1

Conversation

@turbolent

@turbolent turbolent commented Apr 7, 2026 •

Copy link
Copy Markdown
Member

Description


  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

SupunS and others added 30 commits February 13, 2026 05:33
…b.com/dapperlabs/cadence-internal into revert-414-revert-392-supun/separate-field-and-method-retrieval
…b.com/dapperlabs/cadence-internal into revert-414-revert-392-supun/separate-field-and-method-retrieval
…ternal into revert-414-revert-392-supun/separate-field-and-method-retrieval
…ompilation

[Compiler] Fix composite constructor compilation
…ternal into revert-414-revert-392-supun/separate-field-and-method-retrieval
turbolent and others added 17 commits March 26, 2026 15:37
This commit bumps:
- onflow/atree to v0.15.0
- fxamacker/cbor to v2.9.1 stream-mode branch
… values bweteen interfaces which are unrelated
…t-defensive-check-source-type

Fix defensive check of source type when dynamically casting storage reference
Respect access modifier of composite initializer
…0.15.0

Bump to atree v0.15 and fxamacker/cbor v2.9.1 stream-mode branch
@github-actions

github-actions Bot commented Apr 7, 2026 •

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 0ba4d5a.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@turbolent
turbolent enabled auto-merge April 7, 2026 15:50
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

Benchstat comparison

  • Base branch: onflow:master
  • Base commit: 44324a2
Results

old.txtnew.txt
time/opdelta
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ByteArrayTransfer-41.33µs ± 0%1.36µs ± 0%~(p=1.000 n=1+1)
ByteArrayValueToByteSlice-475.6ns ± 0%78.9ns ± 0%~(p=1.000 n=1+1)
ByteSliceToByteArrayValue-41.05µs ± 0%1.17µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-4125µs ± 0%127µs ± 0%~(p=1.000 n=1+1)
CompileTime-433.4µs ± 0%34.2µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-4379µs ± 0%358µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-4209µs ± 0%216µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-43.68µs ± 0%3.53µs ± 0%~(p=1.000 n=1+1)
Emit-44.84ms ± 0%4.82ms ± 0%~(p=1.000 n=1+1)
EnumTransfer-41.44µs ± 0%1.60µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-4315ns ± 0%317ns ± 0%~(p=1.000 n=1+1)
ExportType/simple_type-467.4ns ± 0%66.8ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
FTTransfer-4162µs ± 0%149µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-4598µs ± 0%603µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ImperativeFib-423.7µs ± 0%23.9µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ImperativeFib-424.9µs ± 0%26.5µs ± 0%~(p=1.000 n=1+1)
ImperativeFibNewCompilerNewVM-449.9µs ± 0%48.9µs ± 0%~(p=1.000 n=1+1)
ImperativeFibNewVM-428.3µs ± 0%27.9µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-42.34ms ± 0%2.38ms ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-4134µs ± 0%116µs ± 0%~(p=1.000 n=1+1)
InterpreterImperativeFib-424.7µs ± 0%24.7µs ± 0%~(p=1.000 n=1+1)
InterpreterNewStruct-467.7µs ± 0%70.7µs ± 0%~(p=1.000 n=1+1)
MethodCall/concrete_type_method_call-440.5µs ± 0%43.8µs ± 0%~(p=1.000 n=1+1)
MethodCall/interface_method_call-462.8µs ± 0%60.7µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-4881ns ± 0%871ns ± 0%~(p=1.000 n=1+1)
NewInterpreter/new_sub-interpreter-4368ns ± 0%370ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
NewResource-497.9µs ± 0%101.3µs ± 0%~(p=1.000 n=1+1)
NewStruct-445.5µs ± 0%47.5µs ± 0%~(p=1.000 n=1+1)
NewStructRaw-43.32µs ± 0%3.58µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
QualifiedIdentifierCreation/One_level-41.73ns ± 0%1.73ns ± 0%~(p=1.000 n=1+1)
QualifiedIdentifierCreation/Three_levels-481.2ns ± 0%86.1ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
RecursionFib-41.40ms ± 0%1.54ms ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransfer-4792µs ± 0%784µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-4626µs ± 0%622µs ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransferVM-4726µs ± 0%694µs ± 0%~(p=1.000 n=1+1)
RuntimeResourceDictionaryValues-42.75ms ± 0%2.83ms ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-49.85ms ± 0%9.97ms ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-414.9µs ± 0%15.2µs ± 0%~(p=1.000 n=1+1)
RuntimeVMInvokeContractImperativeFib-438.8µs ± 0%41.3µs ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-4238ns ± 0%224ns ± 0%~(p=1.000 n=1+1)
SuperTypeInference/composites-4118ns ± 0%109ns ± 0%~(p=1.000 n=1+1)
SuperTypeInference/integers-4302ns ± 0%305ns ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ValueIsSubtypeOfSemaType-459.4ns ± 0%59.5ns ± 0%~(p=1.000 n=1+1)
 
alloc/opdelta
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
ByteArrayTransfer-41.03kB ± 0%1.02kB ± 0%~(p=1.000 n=1+1)
ByteArrayValueToByteSlice-432.0B ± 0%32.0B ± 0%~(all equal)
ByteSliceToByteArrayValue-4868B ± 0%880B ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-482.2kB ± 0%82.9kB ± 0%~(p=1.000 n=1+1)
CompileTime-416.6kB ± 0%16.9kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-4146kB ± 0%144kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-473.5kB ± 0%75.3kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-42.45kB ± 0%2.46kB ± 0%~(p=1.000 n=1+1)
Emit-41.51MB ± 0%1.50MB ± 0%~(p=1.000 n=1+1)
EnumTransfer-4831B ± 0%837B ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-4120B ± 0%120B ± 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-453.4kB ± 0%43.7kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-4223kB ± 0%226kB ± 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-45.34kB ± 0%5.41kB ± 0%~(p=1.000 n=1+1)
ImperativeFibNewCompilerNewVM-425.7kB ± 0%25.8kB ± 0%~(p=1.000 n=1+1)
ImperativeFibNewVM-48.07kB ± 0%8.10kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-41.19MB ± 0%1.19MB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-450.6kB ± 0%42.0kB ± 0%~(p=1.000 n=1+1)
InterpreterImperativeFib-48.29kB ± 0%8.29kB ± 0%~(all equal)
InterpreterNewStruct-424.6kB ± 0%24.9kB ± 0%~(p=1.000 n=1+1)
MethodCall/concrete_type_method_call-49.39kB ± 0%10.20kB ± 0%~(p=1.000 n=1+1)
MethodCall/interface_method_call-416.8kB ± 0%17.1kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-4976B ± 0%976B ± 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-443.3kB ± 0%44.0kB ± 0%~(p=1.000 n=1+1)
NewStruct-413.1kB ± 0%13.5kB ± 0%~(p=1.000 n=1+1)
NewStructRaw-41.70kB ± 0%1.71kB ± 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-4244kB ± 0%283kB ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransfer-4247kB ± 0%241kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-4170kB ± 0%165kB ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransferVM-4193kB ± 0%188kB ± 0%~(p=1.000 n=1+1)
RuntimeResourceDictionaryValues-41.77MB ± 0%1.76MB ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-46.99MB ± 0%6.98MB ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-48.06kB ± 0%8.10kB ± 0%~(p=1.000 n=1+1)
RuntimeVMInvokeContractImperativeFib-413.3kB ± 0%13.4kB ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-472.0B ± 0%72.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-47.00 ± 0%7.00 ± 0%~(all equal)
ByteArrayValueToByteSlice-41.00 ± 0%1.00 ± 0%~(all equal)
ByteSliceToByteArrayValue-45.00 ± 0%5.00 ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/compiler goos:linux goarch:amd64
CompileFungibleTokenTransferTransaction-4563 ± 0%576 ± 0%~(p=1.000 n=1+1)
CompileTime-4202 ± 0%209 ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ContractFunctionInvocation-42.42k ± 0%2.25k ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
ContractImport-41.25k ± 0%1.29k ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
EMVAddressTransfer-429.0 ± 0%29.0 ± 0%~(all equal)
Emit-440.0k ± 0%40.0k ± 0%~(p=1.000 n=1+1)
EnumTransfer-413.0 ± 0%13.0 ± 0%~(all equal)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
ExportType/composite_type-43.00 ± 0%3.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.58k ± 0%1.40k ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
FlowTokenContract-43.58k ± 0%3.58k ± 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-4262 ± 0%266 ± 0%~(p=1.000 n=1+1)
ImperativeFibNewCompilerNewVM-4470 ± 0%473 ± 0%~(p=1.000 n=1+1)
ImperativeFibNewVM-4306 ± 0%308 ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
InterpretRecursionFib-417.7k ± 0%17.7k ± 0%~(all equal)
pkg:github.com/onflow/cadence/bbq/vm/test goos:linux goarch:amd64
InterpreterFTTransfer-41.11k ± 0%0.92k ± 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-4328 ± 0%354 ± 0%~(p=1.000 n=1+1)
MethodCall/interface_method_call-4488 ± 0%464 ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/interpreter goos:linux goarch:amd64
NewInterpreter/new_interpreter-415.0 ± 0%15.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-4919 ± 0%951 ± 0%~(p=1.000 n=1+1)
NewStruct-4364 ± 0%388 ± 0%~(p=1.000 n=1+1)
NewStructRaw-430.0 ± 0%30.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-413.4k ± 0%15.8k ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransfer-44.28k ± 0%4.09k ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/runtime goos:linux goarch:amd64
RuntimeFungibleTokenTransferInterpreter-43.27k ± 0%3.08k ± 0%~(p=1.000 n=1+1)
RuntimeFungibleTokenTransferVM-43.73k ± 0%3.61k ± 0%~(p=1.000 n=1+1)
RuntimeResourceDictionaryValues-436.8k ± 0%36.7k ± 0%~(p=1.000 n=1+1)
RuntimeResourceTracking-4129k ± 0%129k ± 0%~(p=1.000 n=1+1)
RuntimeScriptNoop-4114 ± 0%114 ± 0%~(all equal)
RuntimeVMInvokeContractImperativeFib-4424 ± 0%426 ± 0%~(p=1.000 n=1+1)
pkg:github.com/onflow/cadence/sema goos:linux goarch:amd64
SuperTypeInference/arrays-43.00 ± 0%3.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 merged commit 646c941 into master Apr 7, 2026
14 of 17 checks passed
@turbolent
turbolent deleted the bastian/port-v1.10.1-rc.1 branch April 7, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ 换网址