Skip to content

Commit 15ed7e8

Browse files
the-freyfaddat
andauthored
Experiment with changing compile costs (CosmosContracts#278)
* 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]>
1 parent 016843f commit 15ed7e8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/superlinter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
env:
2121
VALIDATE_ALL_CODEBASE: false
2222
VALIDATE_GO: false
23+
VALIDATE_BASH: false
2324
VALIDATE_GITHUB_ACTIONS: false
2425
IGNORE_GENERATED_FILES: true
2526
FILTER_REGEX_EXCLUDE: .*.pb.go

app/wasm_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const (
88
// DefaultJunoInstanceCost is initially set the same as in wasmd
99
DefaultJunoInstanceCost uint64 = 60_000
1010
// DefaultJunoCompileCost set to a large number for testing
11-
DefaultJunoCompileCost uint64 = 100
11+
DefaultJunoCompileCost uint64 = 3
1212
)
1313

1414
// JunoGasRegisterConfig is defaults plus a custom compile amount

docker/setup_junod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FEE=${FEE_TOKEN:-ucosm}
77
CHAIN_ID=${CHAIN_ID:-testing}
88
MONIKER=${MONIKER:-node001}
99
KEYRING="--keyring-backend test"
10-
BLOCK_GAS_LIMIT=${GAS_LIMIT:-100000000} # should mirror mainnet
10+
BLOCK_GAS_LIMIT=${GAS_LIMIT:-10000000} # should mirror mainnet
1111

1212
echo "Configured Block Gas Limit: $BLOCK_GAS_LIMIT"
1313

0 commit comments

Comments
 (0)