Skip to content

Commit

Permalink
fix: fix file build
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkhanh-smartosc committed May 6, 2024
1 parent 84f83ae commit 045e0eb
Show file tree
Hide file tree
Showing 71 changed files with 1,721 additions and 10 deletions.
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@

cardano/gateway/deployment
chains/osmosis
osmosis-setup/cosmwasm/artifacts
osmosis-setup/cosmwasm/target
chains/osmosis-setup/cosmwasm/artifacts
chains/osmosis-setup/cosmwasm/target
chains/osmosis-setup/.osmosis-local/data
chains/osmosis-setup/.osmosis-local/keyring-test
chains/osmosis-setup/.osmosis-local/config/gentx
chains/osmosis-setup/.osmosis-local/config/client.toml
chains/osmosis-setup/.osmosis-local/config/node_key.json
chains/osmosis-setup/.osmosis-local/config/priv_validator_key.json
chains/osmosis-setup/.osmosis-local/wasm/wasm/cache
chains/osmosis-setup/.osmosis-local/wasm/wasm/state/wasm
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cd ${SCRIPT_DIR}/cosmos && docker compose build
cd ${SCRIPT_DIR}/relayer && docker compose build

# Build osmosis
git submodule update --remote --merge
git submodule update --init --recursive
chmod +x ${SCRIPT_DIR}/setup_osmosis.sh
bash ${SCRIPT_DIR}/setup_osmosis.sh
cd ${SCRIPT_DIR}/chains/osmosis && make localnet-init
Expand Down
4 changes: 4 additions & 0 deletions chains/osmosis-setup/.osmosis-local/config/addrbook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"key": "8dc34d018c48e895eab12596",
"addrs": []
}
91 changes: 91 additions & 0 deletions chains/osmosis-setup/.osmosis-local/config/app.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
app-db-backend = ''
halt-height = 0
halt-time = 0
iavl-cache-size = 781250
iavl-disable-fastnode = false
iavl-fastnode-module-whitelist = ['lockup']
iavl-lazy-loading = false
index-events = []
inter-block-cache = true
min-retain-blocks = 0
minimum-gas-prices = '0uosmo'
pruning = 'default'
pruning-interval = '0'
pruning-keep-recent = '0'

[api]
address = 'tcp://0.0.0.0:1317'
enable = true
enabled-unsafe-cors = true
max-open-connections = 1000
rpc-max-body-bytes = 1000000
rpc-read-timeout = 10
rpc-write-timeout = 0
swagger = true

[grpc]
address = '0.0.0.0:9090'
enable = true
log-queries = false
max-recv-msg-size = '10485760'
max-send-msg-size = '2147483647'

[grpc-web]
address = '0.0.0.0:9091'
enable = true
enable-unsafe-cors = true

[mempool]
max-txs = '5000'

[osmosis-mempool]
adaptive-fee-enabled = "true"
arbitrage-min-gas-fee = "0.1"
max-gas-wanted-per-tx = "60000000"
min-gas-price-for-high-gas-tx = "0.0025"

[osmosis-sqs]
db-host = 'redis'
db-port = '6379'
is-enabled = 'true'
route-cache-enabled = 'true'

[rosetta]
address = ':8080'
blockchain = 'app'
denom-to-suggest = 'uatom'
enable = false
enable-fee-suggestion = false
gas-to-suggest = 200000
network = 'network'
offline = false
retries = 3

[state-sync]
snapshot-interval = 0
snapshot-keep-recent = 2

[store]
streamers = []

[streamers]
[streamers.file]
fsync = 'false'
keys = ['*']
output-metadata = 'true'
prefix = ''
stop-node-on-error = 'true'
write_dir = ''

[telemetry]
enable-hostname = false
enable-hostname-label = false
enable-service-label = false
enabled = false
global-labels = []
prometheus-retention-time = 0
service-name = ''

[wasm]
memory_cache_size = 1000
query_gas_limit = 3000000

0 comments on commit 045e0eb

Please sign in to comment.