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

add mock executor #300

Closed
wants to merge 10,000 commits into from
Closed

add mock executor #300

wants to merge 10,000 commits into from

Conversation

KyrinCode
Copy link

afa7789 and others added 30 commits October 18, 2024 15:48
* feat: adding list command to check ACL status on acl folder.

also function can be reused by other parts of the code.

* feat: adding ListComponent calls in cdk-erigon

added call to the function for it to log in parts of the code, this will be reviewed.

* docs: adding readme updates on acl, making it more clear on how to use.

* feat: acl transaction history buildup

creating functions to interact with table as binary, and other helper functions that we may need.

* feat: build up transaction inserter, second part.

* feat: enhance ACL listing with policy transaction logging and refactor logging imports

changing log structure, cause it's failing.

changed the function at txpool so I can get the string to put in the log at the CLI level since it doesn't log too.

* chore: changing call to log it.

* feat: update logging for policy transactions and fix a transaction insertion error

* feat: add update operation to policy transactions and log updates in UpdatePolicies

* feat: insert policy refactor and fix update error.

fixing update method which was exiting on panic, also improved the function of insert to be able to insert an array improving code quality

* feat: adding log count setup to the mode acl function ( which basically is the config updater now)

* chore: changing config value on key to string, for easier reading when debugging// looking for it.

not an issue for usage, only a improvement.

* docs: update README to include optional log_count parameter for acl mode command

* chore: adding logging level part back.

* fix: we had an issue in the test when running in parallel

it could either remove or add the policy at the same time someone else was checking for another scenario

to fix I added the adding flow, to updating/changing tx before making the update with the same asserting checks for correct adding.
…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]>
elliothllm and others added 23 commits February 18, 2025 10:09
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 11, 2025 03:59
@KyrinCode KyrinCode marked this pull request as ready for review March 11, 2025 06:06
@giskook giskook force-pushed the kyrin/mock-executor branch from 9ea94a3 to 2c08e03 Compare March 11, 2025 10:50
@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.