diff --git a/app/app.go b/app/app.go index 3225851286..9eb9aa2aeb 100644 --- a/app/app.go +++ b/app/app.go @@ -467,8 +467,7 @@ type App struct { benchmarkManager *benchmark.Manager - // GigaExecutorEnabled controls whether to use the Giga executor (evmone-based) - // instead of geth's interpreter for EVM execution. Experimental feature. + // GigaExecutorEnabled controls whether to use the Giga executor. GigaExecutorEnabled bool // GigaOCCEnabled controls whether to use OCC with the Giga executor GigaOCCEnabled bool @@ -1539,7 +1538,6 @@ func (app *App) CacheContext(ctx sdk.Context) (sdk.Context, sdk.CacheMultiStore) // ExecuteTxsConcurrently calls the appropriate function for processing transacitons func (app *App) ExecuteTxsConcurrently(ctx sdk.Context, txs [][]byte, typedTxs []sdk.Tx) ([]*abci.ExecTxResult, sdk.Context) { - // Giga only supports synchronous execution for now if app.GigaExecutorEnabled && app.GigaOCCEnabled { return app.ProcessTXsWithOCCGiga(ctx, txs, typedTxs) } else if app.GigaExecutorEnabled { diff --git a/benchmark/CLAUDE.md b/benchmark/CLAUDE.md index 6ed1b4d992..aa32f5d09d 100644 --- a/benchmark/CLAUDE.md +++ b/benchmark/CLAUDE.md @@ -35,7 +35,7 @@ BENCHMARK_CONFIG=benchmark/scenarios/erc20.json benchmark/benchmark.sh | `LOG_FILE` | `""` | Redirect seid output to file | | `BENCHMARK_CONFIG` | `$SCRIPT_DIR/scenarios/evm.json` | Scenario config file (absolute path resolved from script location) | | `BENCHMARK_TXS_PER_BATCH` | `1000` | Transactions per batch | -| `GIGA_EXECUTOR` | `false` | Enable evmone-based EVM executor | +| `GIGA_EXECUTOR` | `false` | Enable Giga EVM-optimized executor | | `GIGA_OCC` | `false` | Enable OCC for Giga Executor | | `DB_BACKEND` | `goleveldb` | Database backend (goleveldb, memdb, cleveldb, rocksdb) | | `MOCK_BALANCES` | `true` | Use mock balances during benchmark | diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh index 686cff048c..49faa49276 100755 --- a/benchmark/benchmark.sh +++ b/benchmark/benchmark.sh @@ -169,9 +169,9 @@ sed -i.bak -e 's/occ-enabled = .*/occ-enabled = true/' "$APP_TOML_PATH" sed -i.bak -e 's/sc-enable = .*/sc-enable = true/' "$APP_TOML_PATH" sed -i.bak -e 's/ss-enable = .*/ss-enable = true/' "$APP_TOML_PATH" -# Enable Giga Executor (evmone-based) if requested +# Enable Giga Executor if requested if [ "$GIGA_EXECUTOR" = true ]; then - echo "Enabling Giga Executor (evmone-based EVM)..." + echo "Enabling Giga Executor..." if grep -q "\[giga_executor\]" "$APP_TOML_PATH"; then # If the section exists, update enabled to true if [[ "$OSTYPE" == "darwin"* ]]; then diff --git a/contracts/test/EVMGigaTest.js b/contracts/test/EVMGigaTest.js index ef7681799f..643fb36642 100644 --- a/contracts/test/EVMGigaTest.js +++ b/contracts/test/EVMGigaTest.js @@ -6,8 +6,7 @@ const { setupSigners, fundAddress, delay } = require("./lib"); /** * EVMGigaTest - Integration tests for GIGA executor mode * - * These tests verify core EVM functionality when running with the GIGA executor - * (evmone-based) and OCC (Optimistic Concurrency Control) enabled. + * These tests verify core EVM functionality when running with the GIGA executor and OCC (Optimistic Concurrency Control) enabled. * * Tests cover: * - Native SEI transfers between accounts diff --git a/docker/localnode/scripts/step4_config_override.sh b/docker/localnode/scripts/step4_config_override.sh index 9f7fd8e024..9466b84fce 100755 --- a/docker/localnode/scripts/step4_config_override.sh +++ b/docker/localnode/scripts/step4_config_override.sh @@ -56,9 +56,9 @@ if [ "$GIGA_STORAGE" = "true" ]; then sed -i 's/evm-ss-split = .*/evm-ss-split = true/' ~/.sei/config/app.toml fi -# Enable Giga Executor (evmone-based) if requested +# Enable Giga Executor if requested if [ "$GIGA_EXECUTOR" = "true" ]; then - echo "Enabling Giga Executor (evmone-based EVM) for node $NODE_ID..." + echo "Enabling Giga Executor for node $NODE_ID..." if grep -q "\[giga_executor\]" ~/.sei/config/app.toml; then # If the section exists, update enabled to true sed -i 's/enabled = false/enabled = true/' ~/.sei/config/app.toml diff --git a/giga/executor/config/config.go b/giga/executor/config/config.go index 377c6ef142..6d282c4654 100644 --- a/giga/executor/config/config.go +++ b/giga/executor/config/config.go @@ -7,7 +7,7 @@ import ( // Config defines configuration for the Giga Executor type Config struct { - // Enabled controls whether to use the Giga executor (evmone-based) instead of geth's interpreter + // Enabled controls whether to use the Giga executor Enabled bool `mapstructure:"enabled"` // OCCEnabled controls whether to use OCC (Optimistic Concurrency Control) with the Giga executor OCCEnabled bool `mapstructure:"occ_enabled"` @@ -46,8 +46,7 @@ const ConfigTemplate = ` ############################################################################### [giga_executor] -# enabled controls whether to use the Giga executor (evmone-based) instead of geth's interpreter. -# This is an experimental feature for improved EVM throughput. +# enabled controls whether to use the Giga executor for improved EVM throughput. # Default: false enabled = {{ .GigaExecutor.Enabled }} diff --git a/scripts/initialize_local_chain.sh b/scripts/initialize_local_chain.sh index f1e942e13f..b8551770eb 100755 --- a/scripts/initialize_local_chain.sh +++ b/scripts/initialize_local_chain.sh @@ -100,9 +100,9 @@ sed -i.bak -e 's/occ-enabled = .*/occ-enabled = true/' $APP_TOML_PATH sed -i.bak -e 's/sc-enable = .*/sc-enable = true/' $APP_TOML_PATH sed -i.bak -e 's/ss-enable = .*/ss-enable = true/' $APP_TOML_PATH -# Enable Giga Executor (evmone-based) if requested +# Enable Giga Executor if requested if [ "$GIGA_EXECUTOR" = true ]; then - echo "Enabling Giga Executor (evmone-based EVM)..." + echo "Enabling Giga Executor..." if grep -q "\[giga_executor\]" $APP_TOML_PATH; then # If the section exists, update enabled to true if [[ "$OSTYPE" == "darwin"* ]]; then