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

Separate Wasmstore from normal db: initial #317

Merged
merged 13 commits into from
May 16, 2024
Merged

Separate Wasmstore from normal db: initial #317

merged 13 commits into from
May 16, 2024

Conversation

tsahee
Copy link
Contributor

@tsahee tsahee commented May 9, 2024

No description provided.

@cla-bot cla-bot bot added the s CLA signed label May 9, 2024
If not found in db - returns an error instead of marking state for revertion
} else if ok, _ := rawdb.IsActivatedModuleKey(key); ok {
// Arbitrum: the module is non-consensus (only its hash is)
return db.diskDb.Get(key)
return db.wasmDb.Get(key)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will these ever be called? Shouldn't they be called on the wasm database instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved some things around and now it is indeed not needed

@tsahee tsahee marked this pull request as ready for review May 10, 2024 23:39
core/state/journal_arbitrum.go Outdated Show resolved Hide resolved
core/state/journal_arbitrum.go Show resolved Hide resolved
core/state/statedb_arbitrum.go Show resolved Hide resolved
internal/ethapi/api.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@PlasmaPower PlasmaPower left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit 247b930 into master May 16, 2024
3 of 4 checks passed
@PlasmaPower PlasmaPower deleted the wasmstore branch May 16, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s CLA signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants