Skip to content

Commit

Permalink
Experiment with changing compile costs (#278)
Browse files Browse the repository at this point in the history
* Experiment with changing compile costs

* Try to shut linter up

* Specify bash

* Undo changes

* Disable false negative shell check

Co-authored-by: Jacob Gadikian <[email protected]>
  • Loading branch information
the-frey and faddat authored Sep 12, 2022
1 parent 016843f commit 15ed7e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/superlinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_GO: false
VALIDATE_BASH: false
VALIDATE_GITHUB_ACTIONS: false
IGNORE_GENERATED_FILES: true
FILTER_REGEX_EXCLUDE: .*.pb.go
Expand Down
2 changes: 1 addition & 1 deletion app/wasm_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const (
// DefaultJunoInstanceCost is initially set the same as in wasmd
DefaultJunoInstanceCost uint64 = 60_000
// DefaultJunoCompileCost set to a large number for testing
DefaultJunoCompileCost uint64 = 100
DefaultJunoCompileCost uint64 = 3
)

// JunoGasRegisterConfig is defaults plus a custom compile amount
Expand Down
2 changes: 1 addition & 1 deletion docker/setup_junod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FEE=${FEE_TOKEN:-ucosm}
CHAIN_ID=${CHAIN_ID:-testing}
MONIKER=${MONIKER:-node001}
KEYRING="--keyring-backend test"
BLOCK_GAS_LIMIT=${GAS_LIMIT:-100000000} # should mirror mainnet
BLOCK_GAS_LIMIT=${GAS_LIMIT:-10000000} # should mirror mainnet

echo "Configured Block Gas Limit: $BLOCK_GAS_LIMIT"

Expand Down

0 comments on commit 15ed7e8

Please sign in to comment.