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
7 changes: 7 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ jobs:
"./integration_test/evm_module/scripts/evm_tests.sh",
]
},
{
name: "EVM Module (Parquet)",
env: "RECEIPT_STORE_BACKEND=parquet",
scripts: [
"./integration_test/evm_module/scripts/evm_tests.sh",
]
},
{
name: "EVM Interoperability",
scripts: [
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ docker-cluster-start: docker-cluster-stop build-docker-node
else \
DETACH_FLAG=""; \
fi; \
DOCKER_PLATFORM=$(DOCKER_PLATFORM) USERID=$(shell id -u) GROUPID=$(shell id -g) GOCACHE=$(shell go env GOCACHE) NUM_ACCOUNTS=10 INVARIANT_CHECK_INTERVAL=${INVARIANT_CHECK_INTERVAL} UPGRADE_VERSION_LIST=${UPGRADE_VERSION_LIST} MOCK_BALANCES=${MOCK_BALANCES} GIGA_EXECUTOR=${GIGA_EXECUTOR} GIGA_OCC=${GIGA_OCC} docker compose up $$DETACH_FLAG
DOCKER_PLATFORM=$(DOCKER_PLATFORM) USERID=$(shell id -u) GROUPID=$(shell id -g) GOCACHE=$(shell go env GOCACHE) NUM_ACCOUNTS=10 INVARIANT_CHECK_INTERVAL=${INVARIANT_CHECK_INTERVAL} UPGRADE_VERSION_LIST=${UPGRADE_VERSION_LIST} MOCK_BALANCES=${MOCK_BALANCES} GIGA_EXECUTOR=${GIGA_EXECUTOR} GIGA_OCC=${GIGA_OCC} RECEIPT_STORE_BACKEND=${RECEIPT_STORE_BACKEND} docker compose up $$DETACH_FLAG

.PHONY: localnet-start

Expand Down
4 changes: 4 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- MOCK_BALANCES
- GIGA_EXECUTOR
- GIGA_OCC
- RECEIPT_STORE_BACKEND
volumes:
- "${PROJECT_HOME}:/sei-protocol/sei-chain:Z"
- "${PROJECT_HOME}/../sei-tendermint:/sei-protocol/sei-tendermint:Z"
Expand Down Expand Up @@ -48,6 +49,7 @@ services:
- UPGRADE_VERSION_LIST
- GIGA_EXECUTOR
- GIGA_OCC
- RECEIPT_STORE_BACKEND
volumes:
- "${PROJECT_HOME}:/sei-protocol/sei-chain:Z"
- "${PROJECT_HOME}/../sei-tendermint:/sei-protocol/sei-tendermint:Z"
Expand All @@ -74,6 +76,7 @@ services:
- UPGRADE_VERSION_LIST
- GIGA_EXECUTOR
- GIGA_OCC
- RECEIPT_STORE_BACKEND
ports:
- "26662-26664:26656-26658"
- "9094-9095:9090-9091"
Expand Down Expand Up @@ -104,6 +107,7 @@ services:
- UPGRADE_VERSION_LIST
- GIGA_EXECUTOR
- GIGA_OCC
- RECEIPT_STORE_BACKEND
ports:
- "26665-26667:26656-26658"
- "9096-9097:9090-9091"
Expand Down
14 changes: 14 additions & 0 deletions docker/localnode/scripts/step4_config_override.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
NODE_ID=${ID:-0}
GIGA_EXECUTOR=${GIGA_EXECUTOR:-false}
GIGA_OCC=${GIGA_OCC:-false}
RECEIPT_STORE_BACKEND=${RECEIPT_STORE_BACKEND:-}

APP_CONFIG_FILE="build/generated/node_$NODE_ID/app.toml"
TENDERMINT_CONFIG_FILE="build/generated/node_$NODE_ID/config.toml"
Expand Down Expand Up @@ -44,3 +45,16 @@ if [ "$GIGA_EXECUTOR" = "true" ]; then
sed -i 's/occ_enabled = true/occ_enabled = false/' ~/.sei/config/app.toml
fi
fi

# Override receipt store backend when requested.
if [ -n "$RECEIPT_STORE_BACKEND" ]; then
if grep -q "^\[receipt-store\]" ~/.sei/config/app.toml; then
sed -i.bak -E "s|^rs-backend *=.*|rs-backend = \"$RECEIPT_STORE_BACKEND\"|" ~/.sei/config/app.toml
else
{
echo ""
echo "[receipt-store]"
echo "rs-backend = \"$RECEIPT_STORE_BACKEND\""
} >> ~/.sei/config/app.toml
fi
fi
Loading