mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
## Why this should be merged To allow more thorough handling of duplicate state roots (or any other info other users would like), additional information can be provided to a call of `statedb.Commit`. This change allows arbitrary types to be sent to `triedb` as well as the `SnapshotTree`. However, this is a breaking change for those using the functionality already, since the snapshot commit option is wrapped with another call. ## How this works See the edited libevm test for usage. ## How this was tested Edited test case to include `TrieDBUpdateOption` and ensures the payload is sent. |
||
|---|---|---|
| .. | ||
| database.go | ||
| database_test.go | ||
| difflayer.go | ||
| difflayer_test.go | ||
| disklayer.go | ||
| errors.go | ||
| history.go | ||
| history_test.go | ||
| journal.go | ||
| layertree.go | ||
| metrics.go | ||
| nodebuffer.go | ||
| testutils.go | ||