-
Notifications
You must be signed in to change notification settings - Fork 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
Integrate CaptureArbitrumStorageGet/Set into the prestate tracer #352
base: master
Are you sure you want to change the base?
Integrate CaptureArbitrumStorageGet/Set into the prestate tracer #352
Conversation
…et-prestatetracer
…]et initialization for prestateTracer
|
||
ArbitrumStorage map[common.Hash]common.Hash `json:"arbitrumStorage,omitempty"` | ||
|
||
empty bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Original geth has this empty
property.
To minimize conflicts when updating this fork with changes introduced in the original geth, how about letting this empty
property right after the Storage
property?
postAccount := &account{ | ||
Storage: make(map[common.Hash]common.Hash), | ||
ArbitrumStorage: make(map[common.Hash]common.Hash), | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To later minimize git conflicts when updating this fork with changes from the original geth:
postAccount := &account{ | |
Storage: make(map[common.Hash]common.Hash), | |
ArbitrumStorage: make(map[common.Hash]common.Hash), | |
} | |
postAccount := &account{Storage: make(map[common.Hash]common.Hash)} | |
postAccount.ArbitrumStorage = make(map[common.Hash]common.Hash) |
Pulled by OffchainLabs/nitro#2602
Part of NIT-2733