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

New substate #1066

Merged
merged 46 commits into from
Jun 11, 2024
Merged

New substate #1066

merged 46 commits into from
Jun 11, 2024

Conversation

cabrador
Copy link
Collaborator

@cabrador cabrador commented Apr 2, 2024

Description

This PR uses new refactored Substate repo

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

cabrador and others added 11 commits April 4, 2024 15:20
comment out worldstate
Use correct type in test_cases
This change remove uses of world-state cli and its library.
Update set reads the initial world state from WorldStateDB which is
compressed in its own format. The functions is currently removed in
this PR. However, the data type will be change such that the WorldStateDB
should contain data in updateset structure instead.
cmd/aida-stochastic-sdb/stochastic/record.go Outdated Show resolved Hide resolved
cmd/aida-stochastic-sdb/stochastic/record.go Outdated Show resolved Hide resolved
cmd/aida-vm-adb/run_vm_adb_test.go Show resolved Hide resolved
cabrador and others added 5 commits April 11, 2024 09:59
…into petr/new-substate

# Conflicts:
#	cmd/util-db/db/autogen.go
#	cmd/util-db/db/lachesis-update.go
#	cmd/util-updateset/updateset/generate.go
#	cmd/util-worldstate/main.go
#	cmd/util-worldstate/state/account.go
#	cmd/util-worldstate/state/clone.go
#	cmd/util-worldstate/state/compare.go
#	cmd/util-worldstate/state/dump.go
#	cmd/util-worldstate/state/evolve.go
#	cmd/util-worldstate/state/info.go
#	cmd/util-worldstate/state/root.go
#	cmd/util-worldstate/state/utils.go
#	cmd/util-worldstate/version/container.go
#	cmd/util-worldstate/version/info.go
#	cmd/util-worldstate/version/info_test.go
#	utildb/lachesis-update.go
#	utildb/opera.go
#	utils/default_config.go
#	utils/worldstate_update.go
#	world-state/db/snapshot/account.go
#	world-state/db/snapshot/account_test.go
#	world-state/db/snapshot/evolve.go
#	world-state/db/snapshot/substate.go
#	world-state/db/snapshot/substate_test.go
#	world-state/types/account.go
profile/blockprofile/context_test.go Outdated Show resolved Hide resolved
state/memory.go Outdated Show resolved Hide resolved
txcontext/substate/receipt.go Outdated Show resolved Hide resolved
txcontext/substate/substate.go Show resolved Hide resolved
@cabrador cabrador marked this pull request as ready for review April 19, 2024 12:17
@cabrador cabrador requested a review from wsodsong April 19, 2024 12:17
# Conflicts:
#	cmd/util-db/db/autogen.go
#	cmd/util-db/db/lachesis-update.go
#	cmd/util-updateset/updateset/generate.go
#	executor/extension/primer/primer.go
#	utildb/lachesis-update.go
#	utils/default_config.go
#	utils/statedb_test.go
#	utils/worldstate_update.go
Copy link
Collaborator

@wsodsong wsodsong left a comment

Choose a reason for hiding this comment

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

Approve. I only mark this as "Request changes" to block merging until changes in go-ethereum-substate are merged.

@wsodsong wsodsong changed the title [WIP] New substate New substate May 8, 2024
ph and others added 8 commits May 9, 2024 16:17
# Conflicts:
#	executor/extension/aidadb/aida_db_manager.go
#	executor/extension/aidadb/aida_db_manager_test.go
#	go.mod
#	go.sum
#	txcontext/substate/account_test.go
#	txcontext/substate/newsubstate/account.go
#	txcontext/substate/newsubstate/block_environment.go
#	txcontext/substate/newsubstate/substate.go
#	txcontext/substate/newsubstate/world_state.go
#	txcontext/substate/receipt.go
#	txcontext/substate/result.go
#	txcontext/substate/result_test.go
#	txcontext/substate/world_state_test.go
# Conflicts:
#	executor/extension/statedb/temporary_state_prepper.go
#	go.sum
@wsodsong wsodsong merged commit e094b55 into develop Jun 11, 2024
4 checks passed
HerbertJordan pushed a commit that referenced this pull request Jun 27, 2024
Apply new substate struct to Aida.

---------

Co-authored-by: wsodsong <wasuwee.sodsong@gmail.com>
Co-authored-by: Matěj Mlejnek <matej@fantom.foundation>
Co-authored-by: ph <ph@fantom.foundation>
@wsodsong wsodsong deleted the petr/new-substate branch August 27, 2024 09:05
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.

2 participants