Skip to content

Conversation

@Eric-Warehime
Copy link
Contributor

@Eric-Warehime Eric-Warehime commented Sep 9, 2025

Description

Changes to EVM which will enable parallel execution of EVM transactions.

The first of these is simply to integrate the most recent versions of the SDK and Store packages.
Also has the following major changes to behavior:

x/vm Keeper

  • TransientGas used has been refactored to write gas used per transaction to an object store key which is unique based on the txn index. This avoid each transaction reading/writing the same key/value. It is reset during EndBlock via deletion of all transient gas values.
  • Block bloom has been refactored to write each transactions' log bloom to a separate key in object storage. An EndBlocker has been added to accumulate all of these into a final bloom, and Reset is called to delete all of the keys.

x/feemarket Keeper

  • TransientBlockGasWanted was fully removed. BlockGasWanted was added to the SDK's context and is now updated in baseapp during FinalizeBlock. The base fee calculation of the feemarket module has been updated to use the context's gas wanted for base fee calculation.

Antehandlers

  • As mentioned above, we no longer use gas wanted via the antehandlers so that has been removed.
  • The event emission has been changed to use the context's tx index instead of transient storage.

@Eric-Warehime Eric-Warehime changed the base branch from main to eric/bump-ibc-go October 27, 2025 01:43
@Eric-Warehime Eric-Warehime changed the title feat: Block STM feat!: Block STM Oct 27, 2025
Base automatically changed from eric/bump-ibc-go to main October 28, 2025 15:55
@Eric-Warehime Eric-Warehime marked this pull request as ready for review October 29, 2025 01:34
Comment on lines +250 to +252
for _, k := range oKeys {
nonTransientKeys = append(nonTransientKeys, k)
}

Check warning

Code scanning / CodeQL

Iteration over map Warning

Iteration over map may be a possible source of non-determinism
@Eric-Warehime Eric-Warehime merged commit 79bcc14 into main Nov 3, 2025
23 of 25 checks passed
@Eric-Warehime Eric-Warehime deleted the feat/bstm branch November 3, 2025 07:14
@mmsqe mmsqe mentioned this pull request Nov 6, 2025
3 tasks
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.

5 participants