Skip to content

Sync fork#1

Open
Kay-Zee wants to merge 10000 commits intodapperlabs:masterfrom
onflow:master
Open

Sync fork#1
Kay-Zee wants to merge 10000 commits intodapperlabs:masterfrom
onflow:master

Conversation

@Kay-Zee
Copy link

@Kay-Zee Kay-Zee commented Aug 23, 2023

No description provided.

@Kay-Zee Kay-Zee requested a review from gomisha as a code owner August 23, 2023 17:23
@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

m-Peter and others added 28 commits January 22, 2026 14:26
…r-handling

[Flow EVM] Improve error handling for Cadence Arch precompiles
…verflow

[Flow EVM] Check for integer overflow when reading ABI encoded bytes
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
[Storehouse] Background storehouse indexing
[Flow EVM] Update to latest `ethereum/go-ethereum` version
…oof-list

[Flow EVM] Handle empty RLP list in Cadence Arch `verifyCOAOwnershipProof()`
The network manager keeps a reference to the engine to send it messages,
preventing it from being garbage collected even when stopped,
until the conduit is closed.
All engines *should* close their network conduits on shutdown, not just these,
but limiting to these cases for now as only the cluster sync and message hub
engines use distinct channel IDs for each epoch.
peterargue and others added 30 commits February 14, 2026 11:16
Update to the latest version of flow-core-contracts
Cleanup unused kubernetes related deployments
Internal functions that are frequently used together can
be combined inside a larger function in order to reduce
the conversion overhead of their input and output data.

Specifically, contract function calls have data conversion
overhead for both input and output data.  Input data are
converted from interpreter.Value to Go value, and the
output data are converted from Go value to interpreter.Value.

Currently, EVM contract has separate functions to:
- encode signature and arguments for call/dryCall
- invoke call/dryCall with encoded data
- decode result data from call/dryCall

These functions are commonly used together, which repeatedly introduces
data conversion overhead.

This commmit adds new EVM functions that combine several internal
function calls to reduce conversion overhead:
- CadenceOwnedAccount.callWithSigAndArgs
- CadenceOwnedAccount.dryCallWithSigAndArgs
- EVM.dryCallWithSigAndArgs

The new functions have these parameters:
- from: EVMAddress
- to: EVMAddress
- signature: String
- args: [AnyStruct]
- gasLimit: UInt64
- value: UInt
- resultTypes: [Type]?

The signature and args are used to create transaction data.

The resultTypes is optional.  When resultTypes is provided, call result
data is decoded and it is included in the returned ResultDecoded.
When resultTypes isn't provided, the result data is discarded.

The value is a UInt instead of a Balance, to avoid the overhead
of using a composite value, since it is typically 0 in
most calls and dryCalls.
[Network] Reduce logging for creating libp2p streams
Co-Authored-By: Ardit Marku <markoupetr@gmail.com>
This commit updates the following EVM functions to return raw result
data if EVM call fails or user doesn't provide resultTypes:
- CadenceOwnedAccount.callWithSigAndArgs
- CadenceOwnedAccount.dryCallWithSigAndArgs
- EVM.dryCallWithSigAndArgs

This commit updates CadenceOwnedAccount.callWithSigAndArgs,
CadenceOwnedAccount.dryCallWithSigAndArgs, and
EVM.dryCallWithSigAndArgs to return raw result data if evm call
failes or user doesn't provide resultTypes.
Co-Authored-By: Ardit Marku <markoupetr@gmail.com>
go fix: remove obsolete +build directives
Co-authored-by: Tim Barry <21149133+tim-barry@users.noreply.github.com>
[Flow EVM] Add new EVM functions that can be used to reduce computation cost of transactions
[Access] Add index for account transactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments