Skip to content

Commit

Permalink
feat: Enable allow_expensive_queries for compute node
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Sep 27, 2024
1 parent c41077a commit a47e92a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/tools/spinup-oasis-stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ jq "
.clients[0].runtime_config.\"${RT_IDX}\".allowed_queries = [{all_expensive: true}]
" "$FIXTURE_FILE" >"$FIXTURE_FILE.tmp"
mv "$FIXTURE_FILE.tmp" "$FIXTURE_FILE"
jq "
.compute_workers[0].runtime_config.\"${RT_IDX}\".estimate_gas_by_simulating_contracts = true |
.compute_workers[0].runtime_config.\"${RT_IDX}\".allowed_queries = [{all_expensive: true}]
" "$FIXTURE_FILE" >"$FIXTURE_FILE.tmp"
mv "$FIXTURE_FILE.tmp" "$FIXTURE_FILE"

if [[ ${BEACON_BACKEND-} == 'mock' ]]; then
# Set beacon backend to 'debug mock'
Expand Down

0 comments on commit a47e92a

Please sign in to comment.