Skip to content
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

mock executor #307

Closed
wants to merge 10,000 commits into from
Closed

mock executor #307

wants to merge 10,000 commits into from

Conversation

KyrinCode
Copy link

add mock-executor, fix #297

afa7789 and others added 30 commits October 18, 2024 15:11
…uencer-log-messages-when-overflowing-counters-are-causing-confusion

feat: adding new function that will help us log a better counter stats in this part of the code.
…Hermez/cdk-erigon into add-rpcs-return-finished-block
…nHermez#1345)

* tweak(acl): log recent ACL change transactions (default 10)

* chore: removing old usage of loc count in ACL cli fixing it

---------

Co-authored-by: Arthur Abeilice <[email protected]>
* feat: add forkid13 and activate modexp

* feat: add secp256verify precompile

* fix: do not mutate original r, s,x,y values
…-return-finished-block

feat: change RPCs to use latest finished block
* feat: introduce cli flag, JSON unmarshal logic

* Add event handler for AddNewRollupTypeTopicBanana

* test: move the L1InjectedBatch UnmarshalJSON unit test and implement MarshalJSON

* feat: introduce RollupMetadata struct

* chore: reuse the code for AddNewRollupTypeTopic

* feat: detect if injected batch is already in the genesis file

* feat: rename the flag

* chore: simplify

* Added debug logs and unmarshal L1InjectedBatch instead

* Remove RollupMetadata and lower log level to debug

* fix: address comments

---------

Co-authored-by: Jerry <[email protected]>
…or-tests-fork13

feat: add test vectors fork13
…xPolygonHermez#1350)

* Change balance and nonce in zero's tracer output from decimal to hex

* test: add unit test for TxnTrace_MarshalJSON

---------

Co-authored-by: Stefan Negovanović <[email protected]>
* batches support fork 13

* Add ImpossibleForkId

* Add IsForkID13Durian for chain rules (0xPolygonHermez#1362)

---------

Co-authored-by: Scott Fairclough <[email protected]>
Co-authored-by: zhangkai <[email protected]>
…gonHermez#1366)

* feat: zkevm_getBatchByNumber batch closed based on datastream

* fix: getBatch tests
zjg555543 and others added 27 commits February 18, 2025 12:21
feat(witness-cache) write witness cache per verified batch and offset wip

feat(witness-cache) truncate witness cache properly

feat(witness-cache) ad purge witness cache to prestart

feat(web) removed logs for skipping witness cache stage

feat(witness-cache) only cache trimmed and only get cached trimmed on rpc call

feat(witness-cache) revert buildsmtfromwitness to take single witness
…-getblockhash

fix(rpc): stop getblockhash from crashing when sending hash (0xPolygonHermez#1761)
…tness-cache-offset

tweak(witness-cache): cache offset before and after
…deBigInt() (0xPolygonHermez#1772) (0xPolygonHermez#1780)

* improve the performance of HashContractBytecodeBigInt()

* update go.sum

* update poseidongold to v0.0.3

Co-authored-by: Dumi Loghin <[email protected]>
…PolygonHermez#1799)

* feat: check counters overflow on eth_estimateGas

* fix: flag zkevm.disable-virtual-counters=true disables counters for gas
estimation
Co-authored-by: haogeng xie <[email protected]>
Co-authored-by: Dumi Loghin <[email protected]>
@KyrinCode KyrinCode requested review from zjg555543 and KamiD March 12, 2025 03:10
@KyrinCode KyrinCode closed this Mar 12, 2025
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.

Add mock stateless executor