-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync feature/string-templates
branch with master
#3626
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9dba679 - Browse repository at this point
Copy the full SHA 9dba679View commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7877cdb - Browse repository at this point
Copy the full SHA 7877cdbView commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ddedc78 - Browse repository at this point
Copy the full SHA ddedc78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31bc6dd - Browse repository at this point
Copy the full SHA 31bc6ddView commit details -
Merge pull request #3581 from RZhang05/enum-transaction-params
Add tests for enum usage as transaction parameters
Configuration menu - View commit details
-
Copy full SHA for 60aeec6 - Browse repository at this point
Copy the full SHA 60aeec6View commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9dbe246 - Browse repository at this point
Copy the full SHA 9dbe246View commit details
Commits on Sep 23, 2024
-
Merge pull request #3586 from onflow/supun/circular-resources
Add test for circular resources
Configuration menu - View commit details
-
Copy full SHA for fb275ce - Browse repository at this point
Copy the full SHA fb275ceView commit details -
Merge pull request #3578 from onflow/supun/improve-parser-errors
Always return parser errors gracefully
Configuration menu - View commit details
-
Copy full SHA for 4e3b370 - Browse repository at this point
Copy the full SHA 4e3b370View commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f3454b6 - Browse repository at this point
Copy the full SHA f3454b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4050d9e - Browse repository at this point
Copy the full SHA 4050d9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a94949e - Browse repository at this point
Copy the full SHA a94949eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7862536 - Browse repository at this point
Copy the full SHA 7862536View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f2246 - Browse repository at this point
Copy the full SHA e6f2246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20976c6 - Browse repository at this point
Copy the full SHA 20976c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7137ac7 - Browse repository at this point
Copy the full SHA 7137ac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f33552 - Browse repository at this point
Copy the full SHA 4f33552View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d60a12 - Browse repository at this point
Copy the full SHA 8d60a12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eebf18 - Browse repository at this point
Copy the full SHA 8eebf18View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb1917d - Browse repository at this point
Copy the full SHA fb1917dView commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b762be - Browse repository at this point
Copy the full SHA 2b762beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b790e0 - Browse repository at this point
Copy the full SHA 1b790e0View commit details -
Merge pull request #3590 from onflow/bastian/port-internal-243-244
Allow validation of `Account.capabilities.get/borrow/publish`
Configuration menu - View commit details
-
Copy full SHA for 96e06e7 - Browse repository at this point
Copy the full SHA 96e06e7View commit details -
Merge pull request #3592 from onflow/supun/port-250
Fix runtime type of Account_Inbox_claim() function
Configuration menu - View commit details
-
Copy full SHA for addc4d5 - Browse repository at this point
Copy the full SHA addc4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4a928 - Browse repository at this point
Copy the full SHA 5a4a928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 878f55e - Browse repository at this point
Copy the full SHA 878f55eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed99fbf - Browse repository at this point
Copy the full SHA ed99fbfView commit details
Commits on Oct 2, 2024
-
Prevent migration tests from using out-of-sync data
Currently, some migration tests reuse storage for migration. It can lead to tests failing when the storage cache gets out of sync with underlying storage. For example: 1. Use storage 1 to store valueA in public domain directly. 2. Use storage 2 to store valueB in public domain via ExecuteTransaction(). 3. Reuse storage 1 for migration. Here, migration only sees valueA from cache instead of both values. This commit prevents out-of-sync issues by creating new runtime.Storage for migrations instead of reusing old storage.
Configuration menu - View commit details
-
Copy full SHA for 88c3cf0 - Browse repository at this point
Copy the full SHA 88c3cf0View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15c77a0 - Browse repository at this point
Copy the full SHA 15c77a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 428e949 - Browse repository at this point
Copy the full SHA 428e949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0190bc8 - Browse repository at this point
Copy the full SHA 0190bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e7de6 - Browse repository at this point
Copy the full SHA 97e7de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13dcbf - Browse repository at this point
Copy the full SHA a13dcbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca41cc6 - Browse repository at this point
Copy the full SHA ca41cc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef339f9 - Browse repository at this point
Copy the full SHA ef339f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 772c6c9 - Browse repository at this point
Copy the full SHA 772c6c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc34e0 - Browse repository at this point
Copy the full SHA 5dc34e0View commit details -
move conversion/boxing of return value of invocations
follow-up from onflow/cadence-internal#249 perform return value conversion/boxing for all invocations, like internal invocations, not just invocation expressions
Configuration menu - View commit details
-
Copy full SHA for 7ae265a - Browse repository at this point
Copy the full SHA 7ae265aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b955d04 - Browse repository at this point
Copy the full SHA b955d04View commit details -
fix Optional.map: use Interpreter.invokeFunctionValue instead of Func…
…tionValue.invoke ensure parameter is properly converted/boxed
Configuration menu - View commit details
-
Copy full SHA for 00c99ec - Browse repository at this point
Copy the full SHA 00c99ecView commit details -
fix Array.filter: use Interpreter.invokeFunctionValue instead of Func…
…tionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for ce99b35 - Browse repository at this point
Copy the full SHA ce99b35View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1dda1a - Browse repository at this point
Copy the full SHA c1dda1aView commit details -
fix Dictionary.forEachKey: use Interpreter.invokeFunctionValue instea…
…d of FunctionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for bb0bf45 - Browse repository at this point
Copy the full SHA bb0bf45View commit details -
fix Storage.forEachStored/Public: use Interpreter.invokeFunctionValue…
… instead of FunctionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for a03df7d - Browse repository at this point
Copy the full SHA a03df7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c3d631 - Browse repository at this point
Copy the full SHA 7c3d631View commit details -
fix forEachAttachment: use Interpreter.invokeFunctionValue instead of…
… FunctionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for cf40d9c - Browse repository at this point
Copy the full SHA cf40d9cView commit details -
fix forEachController: use Interpreter.invokeFunctionValue instead of…
… FunctionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for fa91c52 - Browse repository at this point
Copy the full SHA fa91c52View commit details -
fix Account.Keys.forEach: use Interpreter.invokeFunctionValue instead…
… of FunctionValue.invoke
Configuration menu - View commit details
-
Copy full SHA for 05343a6 - Browse repository at this point
Copy the full SHA 05343a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 380a64b - Browse repository at this point
Copy the full SHA 380a64bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 111944b - Browse repository at this point
Copy the full SHA 111944bView commit details -
Fix unreferenced slabs when updating dict w enum key
This commit removes unreferenced slabs when updating dictionary with enum keys to prevent them from remaining in storage. Background Currently, unreferenced slabs can be created by updating dictionary if the key is enum type and key already exists. More specifically, - Cadence creates and stores enum key (in its own slab) in storage during Transfer() to update underlying atree map element. - If same key already exists, atree map only updates map value without referencing the newly created enum key. - Newly created enum key is not referenced (aka dangling, unreachable) in the underlying atree map. This issue only affects enum key type because enum type is the only type that: - can be used as dictionary key (hashable) and - is transferred to its own slab. Large string key isn't affected by this issue because large string isn't stored in its own slab during Transfer().
Configuration menu - View commit details
-
Copy full SHA for cfaed70 - Browse repository at this point
Copy the full SHA cfaed70View commit details -
Remove enum type checking when removing unreferenced slab
Currently enum type is the only composite type that needs to be removed explicitly when used as key to update existing dictionary element. However, (as noted by Supun) Cadence might in the future add support for other composite types as key. This commit removes enum type checking to support new composite key types to be added to Cadence language in the future.
Configuration menu - View commit details
-
Copy full SHA for 09ad756 - Browse repository at this point
Copy the full SHA 09ad756View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd8d3d - Browse repository at this point
Copy the full SHA ddd8d3dView commit details -
Merge pull request #3603 from onflow/supun/update-version
Update version.go
Configuration menu - View commit details
-
Copy full SHA for b55d056 - Browse repository at this point
Copy the full SHA b55d056View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9709a5 - Browse repository at this point
Copy the full SHA d9709a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11b32f - Browse repository at this point
Copy the full SHA b11b32fView commit details -
Merge pull request #3600 from onflow/supun/port-fixes
Port bug fixes from internal repo
Configuration menu - View commit details
-
Copy full SHA for 528b9ae - Browse repository at this point
Copy the full SHA 528b9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d51ec75 - Browse repository at this point
Copy the full SHA d51ec75View commit details -
Merge pull request #3602 from onflow/supun/port-242
Prevent leaving unreferenced slabs in storage while updating dictionary with enum key
Configuration menu - View commit details
-
Copy full SHA for 70606a5 - Browse repository at this point
Copy the full SHA 70606a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f55a1d - Browse repository at this point
Copy the full SHA 9f55a1dView commit details -
Merge pull request #3601 from onflow/supun/port-263
Fix invocation boxing
Configuration menu - View commit details
-
Copy full SHA for 9e12a05 - Browse repository at this point
Copy the full SHA 9e12a05View commit details -
Merge branch 'master' of https://github.com/onflow/cadence into supun…
…/sync-v1.0-master
Configuration menu - View commit details
-
Copy full SHA for 4de9544 - Browse repository at this point
Copy the full SHA 4de9544View commit details -
Merge pull request #3604 from onflow/supun/sync-v1.0-master
Merge v1.0 into master
Configuration menu - View commit details
-
Copy full SHA for 58650ca - Browse repository at this point
Copy the full SHA 58650caView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b776c2c - Browse repository at this point
Copy the full SHA b776c2cView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b826169 - Browse repository at this point
Copy the full SHA b826169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 075bfc7 - Browse repository at this point
Copy the full SHA 075bfc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e6467 - Browse repository at this point
Copy the full SHA 32e6467View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d0594 - Browse repository at this point
Copy the full SHA 35d0594View commit details -
only declare result variable if post conditions are declared, provide…
… better, dedicated error
Configuration menu - View commit details
-
Copy full SHA for e94adb3 - Browse repository at this point
Copy the full SHA e94adb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fea8a9a - Browse repository at this point
Copy the full SHA fea8a9aView commit details
Commits on Oct 16, 2024
-
Update runtime/runtime_test.go
Co-authored-by: Supun Setunga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5412bfc - Browse repository at this point
Copy the full SHA 5412bfcView commit details -
Merge pull request #3589 from onflow/bastian/774-improve-result-variable
Improve `result` variable
Configuration menu - View commit details
-
Copy full SHA for 222bff5 - Browse repository at this point
Copy the full SHA 222bff5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 841027f - Browse repository at this point
Copy the full SHA 841027fView commit details -
use static type's location and qualified identifier, instead of const…
…ructing and decoding type ID
Configuration menu - View commit details
-
Copy full SHA for d90d449 - Browse repository at this point
Copy the full SHA d90d449View commit details -
Merge pull request #3614 from onflow/supun/cleanup
Explain the reason for support parsing legacy restricted types
Configuration menu - View commit details
-
Copy full SHA for 8d4dea7 - Browse repository at this point
Copy the full SHA 8d4dea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a2d406 - Browse repository at this point
Copy the full SHA 4a2d406View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 152088f - Browse repository at this point
Copy the full SHA 152088fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 407aeb6 - Browse repository at this point
Copy the full SHA 407aeb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9f328 - Browse repository at this point
Copy the full SHA 1a9f328View commit details -
Configuration menu - View commit details
-
Copy full SHA for a38ea7e - Browse repository at this point
Copy the full SHA a38ea7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d0e10d - Browse repository at this point
Copy the full SHA 1d0e10dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3df5f6 - Browse repository at this point
Copy the full SHA f3df5f6View commit details
Commits on Oct 18, 2024
-
Merge pull request #3622 from onflow/supun/cleanup-repo
Remove legacy content
Configuration menu - View commit details
-
Copy full SHA for dbf5351 - Browse repository at this point
Copy the full SHA dbf5351View commit details -
Configuration menu - View commit details
-
Copy full SHA for de913e6 - Browse repository at this point
Copy the full SHA de913e6View commit details -
Merge pull request #3620 from onflow/supun/restructure
Move subdirectories under `runtime` to top level
Configuration menu - View commit details
-
Copy full SHA for 8b904c2 - Browse repository at this point
Copy the full SHA 8b904c2View commit details -
Merge branch 'master' of https://github.com/onflow/cadence into supun…
…/restructure-2
Configuration menu - View commit details
-
Copy full SHA for e73cf22 - Browse repository at this point
Copy the full SHA e73cf22View commit details -
Merge pull request #3621 from onflow/supun/restructure-2
Move tests under `runtime` to `tests` directory
Configuration menu - View commit details
-
Copy full SHA for 0bb1b69 - Browse repository at this point
Copy the full SHA 0bb1b69View commit details -
Merge branch 'master' of https://github.com/onflow/cadence into featu…
…re/string-templates
Configuration menu - View commit details
-
Copy full SHA for 1772f43 - Browse repository at this point
Copy the full SHA 1772f43View commit details