osmosis-labs / beaker

Beaker helps streamlining CosmWasm development workflow.
Apache License 2.0
106 stars 30 forks source link

Can't deploy to testnet with Beaker #114

Closed ApexTone closed 1 year ago

ApexTone commented 1 year ago

I was following the tutorial along and come across this error ` Error: Account can't be initialized

Caused by: 0: Unable to connect to https://grpc-test.osmosis.zone:9090 1: transport error 2: error trying to connect: tcp connect error: Connection timed out (os error 110) 3: tcp connect error: Connection timed out (os error 110) 4: Connection timed out (os error 110) `

This error occurred when trying to run the command: beaker wasm deploy counter --signer-account test1 --network testnet --no-wasm-opt --raw '{ "count": 0 }' --label 'My first Beaker Contract'

I used to be able to run this command in the earlier version of Beaker. Is this the issue with Beaker itself or not? Is there a chance that this might be a misconfiguration on my part?

Thank you!

iboss-ptk commented 1 year ago

Ah, testnet port has changed. The following config in Beaker.toml should fix the issue and I will update the default config in the next patch!

[networks.testnet]
chain_id = 'osmo-test-4'
network_variant = 'Shared'
grpc_endpoint = 'https://grpc-test.osmosis.zone:443'
rpc_endpoint = 'https://rpc-test.osmosis.zone'

see reference

ApexTone commented 1 year ago

Awesome! Thanks for the quick resolution.