Skip to content

(depreciated) Improvment for the first phase of zktrie #100

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

Closed
wants to merge 20 commits into from

Conversation

noel2004
Copy link
Member

This work has finished the first part of a better PR for zktrie: inducing zktrie as an alternative storage layer and providing a more effective, unitify logging scheme for the L2 trace.

There is some breaking change for the trace output comparing to current zktrie work branch:

  1. All the "proof" parts are purged from "extraData" field
  2. The tracing for "after" status of SSTORE opcode is removed, and so "CaptureStateAfter" is of no use now

I think these changes has no affection on the trace handling of roller because no module would refer the proof part except for the mpt-circuit

@lispc
Copy link

lispc commented May 18, 2022

I suggest you open another PR (squash all commits into 1) against zkrollup branch. And prefix "depreciated" to title of this one. Dont close this one. So we can have a look at diff for both base branches

@noel2004
Copy link
Member Author

Ok, one moment

I suggest you open another PR (squash all commits into 1) against zkrollup branch. And prefix "depreciated" to title of this one. Dont close this one. So we can have a look at diff for both base branches

@@ -1188,8 +1188,15 @@ func (bc *BlockChain) writeKnownBlock(block *types.Block) error {
return nil
}

// EvmTxTraces groups trace data from each executation of tx and left
// some field to be finished from blockResult
type EvmTxTraces struct {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving EvmTxTraces to core/types/l2trace.go might be more concentrated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get it, may us just move to #101 for more reviewing?

@noel2004 noel2004 changed the title Improvment for the first phase of zktrie Improvment for the first phase of zktrie (depreciated) May 18, 2022
@noel2004 noel2004 changed the title Improvment for the first phase of zktrie (depreciated) (depreciated) Improvment for the first phase of zktrie May 18, 2022
mask-pp and others added 6 commits May 18, 2022 22:38
* Upgrade trace code to decrease GC pressure.

* Fix golangci bug

* Add goproxy

* update docker file

* trigger ci

* trigger ci

* Upgrade code

* Upgrade code

* trigger ci

Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
@lispc lispc closed this May 19, 2022
@Thegaram Thegaram deleted the zkrollup-zktrie-ref branch March 21, 2023 20:31
pdrobnjak pushed a commit to Tenderly/net-scroll-geth that referenced this pull request Apr 30, 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.

4 participants