Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions benchmark/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions contracts/test/EVMGigaTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/localnode/scripts/step4_config_override.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions giga/executor/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions scripts/initialize_local_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading