Git Product home page Git Product logo

localterra's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

localterra's Issues

How to limit/filter console output?

How to limit/filter output?

Default output is 10-20 screen of data per minute.
When developing, that seeing consequence of sent transaction would be problematic.

One exact problem example is that there are some very long strings in output, that can take many lines

terrad_1         | 8:57AM INF ABCIQuery data= module=rpc path=custom/oracle/parameters result={"code":0,"codespace":"","height":"115","index":"0","info":"","key":null,"log":"","proofOps":null,"value":"ewogICJ2b3RlX3BlcmlvZCI6ICI1IiwKICAidm90ZV90aHJlc2hvbGQiOiAiMC41MDAwMDAwMDAwMDAwMDAwMDAiLAogICJyZXdhcmRfYmFuZCI6ICIwLjAyMDAwMDAwMDAwMDAwMDAwMCIsCiAgInJld2FyZF9kaXN0cmlidXRpb25fd2luZG93IjogIjUyNTYwMDAiLAogICJ3aGl0ZWxpc3QiOiBbCiAgICB7CiAgICAgICJuYW1lIjogInVrcnciLAogICAgICAidG9iaW5fdGF4IjogIjAuMDAyNTAwMDAwMDAwMDAwMDAwIgogICAgfSwKICAgIHsKICAgICAgIm5hbWUiOiAidXNkciIsCiAgICAgICJ0b2Jpbl90YXgiOiAiMC4wMDI1MDAwMDAwMDAwMDAwMDAiCiAgICB9LAogICAgewogICAgICAibmFtZSI6ICJ1dXNkIiwKICAgICAgInRvYmluX3RheCI6ICIwLjAwMjUwMDAwMDAwMDAwMDAwMCIKICAgIH0sCiAgICB7CiAgICAgICJuYW1lIjogInVldXIiLAogICAgICAidG9iaW5fdGF4IjogIjAuMDAyNTAwMDAwMDAwMDAwMDAwIgogICAgfQogIF0sCiAgInNsYXNoX2ZyYWN0aW9uIjogIjAuMDAwMTAwMDAwMDAwMDAwMDAwIiwKICAic2xhc2hfd2luZG93IjogIjEwMDgwMCIsCiAgIm1pbl92YWxpZF9wZXJfd2luZG93IjogIjAuMDUwMDAwMDAwMDAwMDAwMDAwIgp9"}
terrad_1         | 8:57AM INF ABCIQuery data=0A2C746572726131646365677972656B6C7473777679793078793639796467786E3978387833327A647461706438 module=rpc path=/cosmos.auth.v1beta1.Query/Account result={"code":0,"codespace":"","height":"115","index":"0","info":"","key":null,"log":"","proofOps":null,"value":"CpwBCiAvY29zbW9zLmF1dGgudjFiZXRhMS5CYXNlQWNjb3VudBJ4Cix0ZXJyYTFkY2VneXJla2x0c3d2eXkweHk2OXlkZ3huOXg4eDMyemR0YXBkOBJGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQJ+CUFCV+ik24egr6pgyz4XupJ1nanymIw75ApdkBNaHCAY"}
terrad_1         | 8:57AM INF ABCIQuery data=0A2C746572726131646365677972656B6C7473777679793078793639796467786E3978387833327A647461706438 module=rpc path=/cosmos.auth.v1beta1.Query/Account result={"code":0,"codespace":"","height":"115","index":"0","info":"","key":null,"log":"","proofOps":null,"value":"CpwBCiAvY29zbW9zLmF1dGgudjFiZXRhMS5CYXNlQWNjb3VudBJ4Cix0ZXJyYTFkY2VneXJla2x0c3d2eXkweHk2OXlkZ3huOXg4eDMyemR0YXBkOBJGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQJ+CUFCV+ik24egr6pgyz4XupJ1nanymIw75ApdkBNaHCAY"}
terrad_1         | 8:57AM INF ABCIQuery data=1299040AD9030A8C020A322F74657272612E6F7261636C652E763162657461312E4D736741676772656761746545786368616E676552617465566F746512D5010A0463333964126A31322E333239363538343333353636393239373239756575722C31363637302E353034333333373436343331343030353838756B72772C31302E323335363135383037373133373932333133757364722C31342E353930323933303235313831353930353536757573641A2C746572726131646365677972656B6C7473777679793078793639796467786E3978387833327A6474617064382233746572726176616C6F70657231646365677972656B6C7473777679793078793639796467786E3978387833327A6479337561350AC7010A352F74657272612E6F7261636C652E763162657461312E4D736741676772656761746545786368616E676552617465507265766F7465128D010A2830313232363562663335633365306664333362373432326231343134323161373962303965616161122C746572726131646365677972656B6C7473777679793078793639796467786E3978387833327A6474617064381A33746572726176616C6F70657231646365677972656B6C7473777679793078793639796467786E3978387833327A64793375613512390A290A210A1F2F636F736D6F732E63727970746F2E736563703235366B312E5075624B657912020A001818120C0A0A0A05756C756E611201301A00 module=rpc path=/cosmos.tx.v1beta1.Service/Simulate result={"code":0,"codespace":"","height":"115","index":"0","info":"","key":null,"log":"","proofOps":null,"value":"CgQQusUEErQMCm8KNAoyL3RlcnJhLm9yYWNsZS52MWJldGExLk1zZ0FnZ3JlZ2F0ZUV4Y2hhbmdlUmF0ZVZvdGUKNwo1L3RlcnJhLm9yYWNsZS52MWJldGExLk1zZ0FnZ3JlZ2F0ZUV4Y2hhbmdlUmF0ZVByZXZvdGUS3wZbeyJldmVudHMiOlt7InR5cGUiOiJhZ2dyZWdhdGVfdm90ZSIsImF0dHJpYnV0ZXMiOlt7ImtleSI6InZvdGVyIiwidmFsdWUiOiJ0ZXJyYXZhbG9wZXIxZGNlZ3lyZWtsdHN3dnl5MHh5Njl5ZGd4bjl4OHgzMnpkeTN1YTUifSx7ImtleSI6ImV4Y2hhbmdlX3JhdGVzIiwidmFsdWUiOiIxMi4zMjk2NTg0MzM1NjY5Mjk3Mjl1ZXVyLDE2NjcwLjUwNDMzMzc0NjQzMTQwMDU4OHVrcncsMTAuMjM1NjE1ODA3NzEzNzkyMzEzdXNkciwxNC41OTAyOTMwMjUxODE1OTA1NTZ1dXNkIn1dfSx7InR5cGUiOiJtZXNzYWdlIiwiYXR0cmlidXRlcyI6W3sia2V5IjoiYWN0aW9uIiwidmFsdWUiOiIvdGVycmEub3JhY2xlLnYxYmV0YTEuTXNnQWdncmVnYXRlRXhjaGFuZ2VSYXRlVm90ZSJ9LHsia2V5IjoibW9kdWxlIiwidmFsdWUiOiJvcmFjbGUifSx7ImtleSI6InNlbmRlciIsInZhbHVlIjoidGVycmExZGNlZ3lyZWtsdHN3dnl5MHh5Njl5ZGd4bjl4OHgzMnpkdGFwZDgifV19XX0seyJtc2dfaW5kZXgiOjEsImV2ZW50cyI6W3sidHlwZSI6ImFnZ3JlZ2F0ZV9wcmV2b3RlIiwiYXR0cmlidXRlcyI6W3sia2V5Ijoidm90ZXIiLCJ2YWx1ZSI6InRlcnJhdmFsb3BlcjFkY2VneXJla2x0c3d2eXkweHk2OXlkZ3huOXg4eDMyemR5M3VhNSJ9XX0seyJ0eXBlIjoibWVzc2FnZSIsImF0dHJpYnV0ZXMiOlt7ImtleSI6ImFjdGlvbiIsInZhbHVlIjoiL3RlcnJhLm9yYWNsZS52MWJldGExLk1zZ0FnZ3JlZ2F0ZUV4Y2hhbmdlUmF0ZVByZXZvdGUifSx7ImtleSI6Im1vZHVsZSIsInZhbHVlIjoib3JhY2xlIn0seyJrZXkiOiJzZW5kZXIiLCJ2YWx1ZSI6InRlcnJhMWRjZWd5cmVrbHRzd3Z5eTB4eTY5eWRneG45eDh4MzJ6ZHRhcGQ4In1dfV19XRpHCgdtZXNzYWdlEjwKBmFjdGlvbhIyL3RlcnJhLm9yYWNsZS52MWJldGExLk1zZ0FnZ3JlZ2F0ZUV4Y2hhbmdlUmF0ZVZvdGUazAEKDmFnZ3JlZ2F0ZV92b3RlEjwKBXZvdGVyEjN0ZXJyYXZhbG9wZXIxZGNlZ3lyZWtsdHN3dnl5MHh5Njl5ZGd4bjl4OHgzMnpkeTN1YTUSfAoOZXhjaGFuZ2VfcmF0ZXMSajEyLjMyOTY1ODQzMzU2NjkyOTcyOXVldXIsMTY2NzAuNTA0MzMzNzQ2NDMxNDAwNTg4dWtydywxMC4yMzU2MTU4MDc3MTM3OTIzMTN1c2RyLDE0LjU5MDI5MzAyNTE4MTU5MDU1NnV1c2QaUwoHbWVzc2FnZRIQCgZtb2R1bGUSBm9yYWNsZRI2CgZzZW5kZXISLHRlcnJhMWRjZWd5cmVrbHRzd3Z5eTB4eTY5eWRneG45eDh4MzJ6ZHRhcGQ4GkoKB21lc3NhZ2USPwoGYWN0aW9uEjUvdGVycmEub3JhY2xlLnYxYmV0YTEuTXNnQWdncmVnYXRlRXhjaGFuZ2VSYXRlUHJldm90ZRpRChFhZ2dyZWdhdGVfcHJldm90ZRI8CgV2b3RlchIzdGVycmF2YWxvcGVyMWRjZWd5cmVrbHRzd3Z5eTB4eTY5eWRneG45eDh4MzJ6ZHkzdWE1GlMKB21lc3NhZ2USEAoGbW9kdWxlEgZvcmFjbGUSNgoGc2VuZGVyEix0ZXJyYTFkY2VneXJla2x0c3d2eXkweHk2OXlkZ3huOXg4eDMyemR0YXBkOA=="}

image

Unable to build localterra-core docker image

Hello, any idea why I am not able to build the localterra-core docker image using this Dockerfile?

$ git clone https://github.com/terra-money/LocalTerra
$ cd LocalTerra/terracore
$ docker build -t localterra-core .

Sending build context to Docker daemon  48.07MB
Step 1/5 : FROM alpine:latest
 ---> 0ac33e5f5afa
Step 2/5 : WORKDIR /root
 ---> Using cache
 ---> aa3c1742cadd
Step 3/5 : ENV PATH /root/bin:$PATH
 ---> Using cache
 ---> 75efe4f5c54e
Step 4/5 : COPY terrad ./bin/
 ---> Using cache
 ---> d6b64f60ead5
Step 5/5 : RUN terrad init localterra
 ---> Running in 6d7a39321311
/bin/sh: terrad: not found
The command '/bin/sh -c terrad init localterra' returned a non-zero code: 127

I have checked that terrad was copied to /root/bin/, but the RUN line is still failing.

I am using Docker 20.10.16 and Ubuntu 20.04. Thank you!

Exec user process caused: exec format error (MBP M1, Parallells, Ubuntu 20.04)

I followed the instrctions on: https://docs.terra.money/Tutorials/Smart-contracts/Set-up-local-environment.html#install-terra-core-locally

Equipment
HW: Apple Mac Book Pro M1 2020
SW: Ubuntu 20.04 running on Parallells
SW: Docker running on Ubuntu 20.04, which runs on Parallells

Why all the VM? Because I am pretty new to Blockchain development and want a test environment that is foolproof :)

Question: I get a lot of exec errors when I run docker-compose up. What have I missed?

image

When I try to install the Terra Core:

usr/bin/ld: skipping incompatible ../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/libwasmvm.so when searching for -lwasmvm
/usr/bin/ld: cannot find -lwasmvm
collect2: error: ld returned 1 exit status
make: *** [Makefile:123: install] Error 2

According to the WASMER:

Latest release: 2.1.0
Downloading archive from https://github.com/wasmerio/wasmer/releases/download/2.1.0/wasmer-linux-aarch64.tar.gz
######################################################################## 100.0%
error: Your platform is not yet supported (linux-aarch64).
Please open an issue on the project if you would like to use wasmer in your project: https://github.com/wasmerio/wasmer

My conclusion is: Get a AMD64. Any input on this?

Initializing LocalTerra on Raspberry Pi 4

Trying to use LocalTerra on Raspbi 4 as a server to our testnet.

Attaching to localterra_postgres_1, localterra_terrad_1, localterra_lcd_1, localterra_oracle_1, localterra_mantle_1, localterra_fcd-api_1, localterra_fcd-collector_1
fcd-api_1 | standard_init_linux.go:219: exec user process caused: exec format error
fcd-collector_1 | standard_init_linux.go:219: exec user process caused: exec format error
lcd_1 | standard_init_linux.go:219: exec user process caused: exec format error
mantle_1 | standard_init_linux.go:219: exec user process caused: exec format error
oracle_1 | standard_init_linux.go:219: exec user process caused: exec format error

public available instance

Is there any public available instance that could be used for testing purposes? on mainnet though.

I'm assuming this is it https://fcd.terra.dev ?

Thanks

terrad runtime error

terrad container exits with: panic: runtime error: invalid memory address or nil pointer dereference

Steps to reproduce:

  1. clone repo
  2. docker-compose up
  3. docker logs localterra_terrad_1 -> panic: unknown field "base_pool" in types.Params
  4. ok, change that field in config/genesis.json:
{
    "market": {
      "params": {
        "base_pool": "7000000000000.000000000000000000", <<< rename to 'mint_base_pool'
        "pool_recovery_period": "200",
        "min_stability_spread": "0.005000000000000000"
      }
    }
}
  1. try again docker-compose down, docker-compose up, wait a bit, docker logs localterra_terrad_1:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x19d1dc6]

goroutine 1 [running]:
math/big.(*Int).Sign(...)
        math/big/int.go:39
github.com/cosmos/cosmos-sdk/types.Dec.IsNegative(...)
        github.com/cosmos/[email protected]/types/decimal.go:203
github.com/terra-money/core/x/market/types.validateMintBasePool(0x24dcbe0, 0x0, 0x199, 0x24dcb01)
        github.com/terra-money/core/x/market/types/params.go:92 +0x46
github.com/cosmos/cosmos-sdk/x/params/types.Subspace.SetParamSet(0x2c6b178, 0xc001089cd0, 0xc000c05d70, 0x2c35198, 0xc001231bb0, 0x2c351e8, 0xc001231c80, 0xc00126ff38, 0x6, 0x18, ...)
        github.com/cosmos/[email protected]/x/params/types/subspace.go:236 +0x199
github.com/terra-money/core/x/market/keeper.Keeper.SetParams(...)
        github.com/terra-money/core/x/market/keeper/params.go:42
github.com/terra-money/core/x/market.InitGenesis(0x2c538e8, 0xc000056060, 0x2c6dd60, 0xc0001c6680, 0x0, 0x0, 0xc000c70750, 0xa, 0x0, 0x17a67180, ...)
        github.com/terra-money/core/x/market/genesis.go:15 +0x16f
github.com/terra-money/core/x/market.AppModule.InitGenesis(0x2c70e18, 0xc001089cd0, 0x2c35198, 0xc001231c20, 0x2c6b178, 0xc001089cd0, 0x2c6b178, 0xc001089cd0, 0xc000c05d70, 0x2c35198, ...)
        github.com/terra-money/core/x/market/module.go:151 +0x128
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(0xc0010c4690, 0x2c538e8, 0xc000056060, 0x2c6dd60, 0xc0001c6680, 0x0, 0x0, 0xc000c70750, 0xa, 0x0, ...)
        github.com/cosmos/[email protected]/types/module/module.go:306 +0x2b5
github.com/terra-money/core/app.(*TerraApp).InitChainer(0xc001029b00, 0x2c538e8, 0xc000056060, 0x2c6dd60, 0xc0001c6680, 0x0, 0x0, 0xc000c70750, 0xa, 0x0, ...)
        github.com/terra-money/core/app/app.go:614 +0x170
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc0011b21a0, 0x17a67180, 0xed840139e, 0x0, 0xc000c70750, 0xa, 0xc00004fae0, 0x3c24490, 0x0, 0x0, ...)
        github.com/cosmos/[email protected]/baseapp/abci.go:62 +0x315
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0xc000e29aa0, 0x17a67180, 0xed840139e, 0x0, 0xc000c70750, 0xa, 0xc00004fae0, 0x3c24490, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/abci/client/local_client.go:266 +0x115
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0xc000c6b310, 0x17a67180, 0xed840139e, 0x0, 0xc000c70750, 0xa, 0xc00004fae0, 0x3c24490, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/proxy/app_conn.go:77 +0x78
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(0xc000155c18, 0xb, 0x0, 0x25004ad, 0x7, 0xc000c70750, 0xa, 0x1, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/consensus/replay.go:319 +0x655
github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc000155c18, 0x2c6f068, 0xc0011f2000, 0x1f4, 0xc001019f60)
        github.com/tendermint/[email protected]/consensus/replay.go:268 +0x458
github.com/tendermint/tendermint/node.doHandshake(0x2c6ac38, 0xc000c6a6d0, 0xb, 0x0, 0x25004ad, 0x7, 0xc000c70750, 0xa, 0x1, 0x0, ...)
        github.com/tendermint/[email protected]/node/node.go:308 +0x1d8
github.com/tendermint/tendermint/node.NewNode(0xc0010fa640, 0x2c48a50, 0xc000026b40, 0xc000c27bc0, 0x2c11620, 0xc00123db60, 0xc000c27c30, 0x29e63a8, 0xc000c27d20, 0x2c545d0, ...)
        github.com/tendermint/[email protected]/node/node.go:715 +0x20e5
github.com/cosmos/cosmos-sdk/server.startInProcess(0xc001152ac0, 0x0, 0x0, 0x0, 0x2c785d8, 0xc0011b9170, 0xc001143ce0, 0xa, 0x2c5db90, 0xc001089cd0, ...)
        github.com/cosmos/[email protected]/server/start.go:261 +0x685
github.com/cosmos/cosmos-sdk/server.StartCmd.func2(0xc001110000, 0x3c24490, 0x0, 0x0, 0x0, 0x0)
        github.com/cosmos/[email protected]/server/start.go:129 +0x209
github.com/spf13/cobra.(*Command).execute(0xc001110000, 0x3c24490, 0x0, 0x0, 0xc001110000, 0x3c24490)
        github.com/spf13/[email protected]/command.go:852 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc000e7ef00, 0x0, 0x0, 0xc001082b10)
        github.com/spf13/[email protected]/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:897
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        github.com/spf13/[email protected]/command.go:890
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc000e7ef00, 0xc001082b10, 0xc, 0x2c70e18, 0xc001089cd0)
        github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x285
main.main()
        github.com/terra-money/core/cmd/terrad/main.go:15 +0x45

Arch terramoney/pseudo-feeder:0.5.5

Hi, I've got trouble running local oracle on my linux/amd64 arch.

WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error

When I check the docker hub image for version terramoney/pseudo-feeder:0.5.5, I see the only arch linux/arm64. Is it desired?

The Compose file './docker-compose.yml'

michal@ubuntu:~/LocalTerra$ docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.oracle: 'pull_policy'
Unsupported config option for services.terrad: 'pull_policy'

Managing time / block height

Readme states that localterra is aimed for local simulation of contracts before deployment - i.e. for testing, but at the same time repository lacks the crucial information about administrative calls possible for RPC.

The information I am missing is:

  • how to force localterra to mine particular amount of blocks in order to simulate "something else" hapenning on the network?
  • how to force localterra to mine new block with particular timestamp in the future to simulate "passage of time"?

Both of those options would be possible with evm_mine instruction in Ganache for EVM. What's the couterpart for this here?

terrad export genesis error

Hi Team!
We are trying to test the migration from col-4 to col-5 using Localterra.

On branch customize-exported-genesis after running docker-compose up, when inside terra_d container, if we run terrad migrate /root/.terra/config/genesis.json --chain-id=localterra --initial-height=1

it fail with Error

panic: JSON encoding of interfaces require non-empty type field.

stacktrace

panic: JSON encoding of interfaces require non-empty type field.

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*LegacyAmino).MustUnmarshalJSON(...)
	github.com/cosmos/[email protected]/codec/amino.go:171
github.com/terra-money/core/app/legacy/v05.Migrate(0xc0000c6090, 0x0, 0x0, 0x0, 0x2cc34d8, 0xc00114b620, 0x7ffd3f682f2e, 0xa, 0x2ca87f0, 0xc00102dde0, ...)
	github.com/terra-money/core/app/legacy/v05/migrate.go:76 +0x2cb3
github.com/terra-money/core/app/legacy.MigrateGenesisCmd.func1(0xc000d95900, 0xc00114acf0, 0x1, 0x3, 0x0, 0x0)
	github.com/terra-money/core/app/legacy/migrate.go:80 +0x1f8
github.com/spf13/cobra.(*Command).execute(0xc000d95900, 0xc00114ac90, 0x3, 0x3, 0xc000d95900, 0xc00114ac90)
	github.com/spf13/[email protected]/command.go:852 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc000d95180, 0x0, 0x0, 0xc000ff9080)
	github.com/spf13/[email protected]/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/[email protected]/command.go:897
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/[email protected]/command.go:890
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc000d95180, 0xc000ff9080, 0xc, 0x2cbbbb8, 0xc00102dde0)
	github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x285
main.main()
	github.com/terra-money/core/cmd/terrad/main.go:15 +0x45

Where github.com/terra-money/core/app/legacy/migrate.go -> newGenState := legacy05.Migrate(initialState, clientCtx) -> v04Codec.MustUnmarshalJSON(appState[v039auth.ModuleName], &authGenState)

Is the genesis.json file correct? Is our command correct?
Thank you!

Websocket closed for no reason after running 3 mins

I tried to run localterra and it worked fine for the first several minutes, but then restarted automatically, and looped forever. I found that the first ERR is because failed to read request from websocket, so I printed some logs related to it as follows. Any hint for it?

3:55PM INF New websocket connection module=rpc-server protocol=websocket remote=172.18.0.4:49466
3:55PM INF Starting wsConnection service impl=wsConnection module=rpc-server protocol=websocket remote={"IP":"172.18.0.4","Port":49466,"Zone":""}
3:55PM INF Subscribe to query module=rpc query=tm.event='NewBlock' remote=172.18.0.4:49466
3:55PM INF WSJSONRPC method=subscribe module=rpc-server protocol=websocket remote={"IP":"172.18.0.4","Port":49466,"Zone":""}
3:58PM ERR Failed to read request err="websocket: close 1006 (abnormal closure): unexpected EOF" module=rpc-server protocol=websocket remote={"IP":"172.18.0.4","Port":49466,"Zone":""}
3:58PM INF Stopping wsConnection service impl={"Logger":{}} module=rpc-server protocol=websocket remote={"IP":"172.18.0.4","Port":49466,"Zone":""}

Unable to run docker-compose on latest master

pulling from master and running docker-compose returns the following error:

Pulling terrad (terramoney/localterra-core:0.4.5)...
ERROR: manifest for terramoney/localterra-core:0.4.5 not found: manifest unknown: manifest unknown

Response: unable to resolve type URL /cosmwasm.wasm.v1.MsgStoreCode

Hi,

the stack:
npm -v : 8.11.0
nodeJS : 16.15.0
rustup 1.24.3 (ce5817a94 2021-05-31)
cargo 1.61.0 (a028ae4 2022-04-29)
LocalTerra: Columbus Tag
terrain -V: @terra-money/terrain/0.3.1 linux-x64 node-v16.15.0
terrad version v2.0.0
Lauching : $ terrain deploy counter --signer test1
[...]
done
storing wasm bytecode on chain... !
Error: Request failed with status code 400
Response: unable to resolve type URL /cosmwasm.wasm.v1.MsgStoreCode: tx parse error: invalid request

Did you find out the reason?

counter project:
[terrastation@kubenode1 counter]$ more Cargo.toml
[package]
name = "counter"
version = "0.1.0"
authors = ["Terra Money [email protected]"]
edition = "2018"

exclude = [

Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.

"contract.wasm",
"hash.txt",
]

See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib", "rlib"]

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true

[features]

for more explicit tests, cargo test --features=backtraces

backtraces = ["cosmwasm-std/backtraces"]

use library feature to disable all instantiate/execute/query exports

library = []

[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry
cosmwasm/rust-optimizer:0.12.6
"""

[dependencies]
cosmwasm-std = "1.0.0"
cosmwasm-storage = "1.0.0"
cw-storage-plus = "0.13.2"
cw2 = "0.13.2"
schemars = "0.8.8"
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.31" }

[dev-dependencies]
cosmwasm-schema = "1.0.0"
cw-multi-test = "0.13.2"

Thanks a lot,
ds

Invalid docker compose file?

➜  LocalTerra git:(main) docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.oracle: 'pull_policy'
Unsupported config option for services.terrad: 'pull_policy'

Hmm...

Quick question

I was wondering if there was an easy way to setup this LocalTerra to actually be for colombus-4 and have public facing RPC / node i could use for my terra station for example. I setup my own terrad and setting up lcd/fcd with terracli being gone seems to be missing a proper guide and this looked potentially easier.

Thanks.

Local FCD stoped after 1 min.

Hi, Paul Kim

please be informed that FCD not working correctly.

BR,
Genesis Lab

Command :

# docker ps --all

Result :

CONTAINER ID   IMAGE                               COMMAND                  CREATED         STATUS                     PORTS                                                                                NAMES
19ba30af8e36   terramoney/fcd:1.0.14               "./entrypoint.sh col…"   4 minutes ago   Up 2 minutes                                                                                                    localterra_fcd-collector_1
67242719d482   terramoney/pseudo-feeder:0.5.6      "npm run start"          4 minutes ago   Up 3 minutes                                                                                                    localterra_oracle_1
10ec2308b5c5   terramoney/fcd:1.0.14               "./entrypoint.sh sta…"   4 minutes ago   Exited (0) 3 minutes ago                                                                                        localterra_fcd-api_1
0e9727c55270   postgres:12                         "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes               5432/tcp                                                                             localterra_postgres_1
3499acdb861b   terramoney/localterra-core:0.5.18   "terrad start"           4 minutes ago   Up 4 minutes               0.0.0.0:1317->1317/tcp, 0.0.0.0:9090-9091->9090-9091/tcp, 0.0.0.0:26657->26657/tcp   localterra_terrad_1

Command :

# docker logs -f 10ec2308b5c5

Result :

> [email protected] mergeswagger
> npm run do src/scripts/mergeSwaggerFile.ts -- -o swagger.json


> [email protected] do
> ts-node -T --files -r tsconfig-paths/register "src/scripts/mergeSwaggerFile.ts" "-o" "swagger.json"

Combined file saved in /app/static/swagger.json

> [email protected] start
> better-npm-run api-prod

running better-npm-run in /app
Executing script: api-prod

to be executed: node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/server.ts 
(node:90) [DEP0128] DeprecationWarning: Invalid 'main' field in '/app/node_modules/is-gen-fn/package.json' of 'yes'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
[deface@genesis]: ~/Git/LocalTerra/logs>$ 

Please confirm

Bombay error

Node is exited immediately after start.

CONTAINER ID   IMAGE                               COMMAND                  CREATED          STATUS                      PORTS                                       NAMES
4a873e3c5211   terramoney/pseudo-feeder:bombay     "npm run start"          33 seconds ago   Up 28 seconds                                                           localterra_oracle_1
46d9092b9ebc   terramoney/fcd:bombay               "./entrypoint.sh sta…"   33 seconds ago   Up 26 seconds               0.0.0.0:3060->3060/tcp, :::3060->3060/tcp   localterra_fcd-api_1
1b129e59eb77   terramoney/fcd:bombay               "./entrypoint.sh col…"   33 seconds ago   Exited (0) 11 seconds ago                                               localterra_fcd-collector_1
6af3f09f478a   postgres:12                         "docker-entrypoint.s…"   37 seconds ago   Up 34 seconds               5432/tcp                                    localterra_postgres_1
846612bb35c0   terramoney/localterra-core:bombay   "terrad start"           37 seconds ago   Exited (2) 32 seconds ago                                               localterra_terrad_1

logs for terrad:

~/scripts/test-contract ➜ docker logs 846612bb35c0
8:44PM INF starting ABCI with Tendermint
8:44PM INF Starting multiAppConn service impl=multiAppConn module=proxy
8:44PM INF Starting localClient service connection=query impl=localClient module=abci-client
8:44PM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
8:44PM INF Starting localClient service connection=mempool impl=localClient module=abci-client
8:44PM INF Starting localClient service connection=consensus impl=localClient module=abci-client
8:44PM INF Starting EventBus service impl=EventBus module=events
8:44PM INF Starting PubSub service impl=PubSub module=pubsub
8:44PM INF Starting IndexerService service impl=IndexerService module=txindex
8:44PM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=0.5.0-rc0
8:44PM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
panic: unknown field "max_contract_data_size" in types.Params

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0xc000f97650, 0xc0010b83c0, 0x1ca, 0x1e0, 0x2c4bc30, 0xc000fd42a0)
        github.com/cosmos/[email protected]/codec/proto_codec.go:176 +0x98
github.com/terra-money/core/x/wasm.AppModule.InitGenesis(0x2c70e18, 0xc000f97650, 0x2c35198, 0xc000533230, 0x2c6b178, 0xc000f97650, 0x2c6b178, 0xc000f97650, 0xc000fca128, 0x2c35198, ...)
        github.com/terra-money/core/x/wasm/module.go:149 +0xa4
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(0xc000542150, 0x2c538e8, 0xc00013a040, 0x2c6dd60, 0xc000f98300, 0x0, 0x0, 0xc0000c59f0, 0xa, 0x0, ...)
        github.com/cosmos/[email protected]/types/module/module.go:306 +0x2b5
github.com/terra-money/core/app.(*TerraApp).InitChainer(0xc000f37b00, 0x2c538e8, 0xc00013a040, 0x2c6dd60, 0xc000f98300, 0x0, 0x0, 0xc0000c59f0, 0xa, 0x0, ...)
        github.com/terra-money/core/app/app.go:614 +0x170
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc000128000, 0x17a67180, 0xed840139e, 0x0, 0xc0000c59f0, 0xa, 0xc0006863c0, 0x3c24490, 0x0, 0x0, ...)
        github.com/cosmos/[email protected]/baseapp/abci.go:62 +0x315
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0xc000d2d020, 0x17a67180, 0xed840139e, 0x0, 0xc0000c59f0, 0xa, 0xc0006863c0, 0x3c24490, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/abci/client/local_client.go:266 +0x115
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0xc000f97570, 0x17a67180, 0xed840139e, 0x0, 0xc0000c59f0, 0xa, 0xc0006863c0, 0x3c24490, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/proxy/app_conn.go:77 +0x78
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(0xc000ccdc18, 0xb, 0x0, 0x25004ad, 0x7, 0xc0000c59f0, 0xa, 0x1, 0x0, 0x0, ...)
        github.com/tendermint/[email protected]/consensus/replay.go:319 +0x655
github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc000ccdc18, 0x2c6f068, 0xc000c455f0, 0x1f4, 0xc0012a1880)
        github.com/tendermint/[email protected]/consensus/replay.go:268 +0x458
github.com/tendermint/tendermint/node.doHandshake(0x2c6ac38, 0xc000f966e0, 0xb, 0x0, 0x25004ad, 0x7, 0xc0000c59f0, 0xa, 0x1, 0x0, ...)
        github.com/tendermint/[email protected]/node/node.go:308 +0x1d8
github.com/tendermint/tendermint/node.NewNode(0xc0010d4500, 0x2c48a50, 0xc0005448c0, 0xc000f1d920, 0x2c11620, 0xc00113b920, 0xc000f1da80, 0x29e63a8, 0xc000f1db70, 0x2c545d0, ...)
        github.com/tendermint/[email protected]/node/node.go:715 +0x20e5
github.com/cosmos/cosmos-sdk/server.startInProcess(0xc0010b02a0, 0x0, 0x0, 0x0, 0x2c785d8, 0xc0010ec1b0, 0xc001045d70, 0xa, 0x2c5db90, 0xc000f97650, ...)
        github.com/cosmos/[email protected]/server/start.go:261 +0x685
github.com/cosmos/cosmos-sdk/server.StartCmd.func2(0xc001018a00, 0x3c24490, 0x0, 0x0, 0x0, 0x0)
        github.com/cosmos/[email protected]/server/start.go:129 +0x209
github.com/spf13/cobra.(*Command).execute(0xc001018a00, 0x3c24490, 0x0, 0x0, 0xc001018a00, 0x3c24490)
        github.com/spf13/[email protected]/command.go:852 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc000cf5900, 0x0, 0x0, 0xc000f8cbc0)
        github.com/spf13/[email protected]/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:897
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        github.com/spf13/[email protected]/command.go:890
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc000cf5900, 0xc000f8cbc0, 0xc, 0x2c70e18, 0xc000f97650)
        github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x285
main.main()
        github.com/terra-money/core/cmd/terrad/main.go:15 +0x45

logs for fcd:

~/scripts/test-contract ➜ docker logs 1b129e59eb77

> [email protected] apidoc /app
> ts-node -T --files -r tsconfig-paths/register src/scripts/generateApidoc.ts

/app/apidoc-template/index.html
/app/static/index.html

> [email protected] mergeswagger /app
> ts-node -T --files -r tsconfig-paths/register src/scripts/mergeSwaggerFile.ts "-o" "swagger.json"

RequestError: Error: getaddrinfo ENOTFOUND terrad
    at new RequestError (/app/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (/app/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (/app/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at self.callback (/app/node_modules/request/request.js:185:22)
    at Request.emit (events.js:376:20)
    at Request.emit (domain.js:470:12)
    at Request.onRequestError (/app/node_modules/request/request.js:877:8)
    at ClientRequest.emit (events.js:376:20)
    at ClientRequest.emit (domain.js:470:12)
    at Socket.socketErrorListener (_http_client.js:475:9)
    at Socket.emit (events.js:376:20)
    at Socket.emit (domain.js:470:12)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  cause: Error: getaddrinfo ENOTFOUND terrad
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) {
    errno: -3008,
    code: 'ENOTFOUND',
    syscall: 'getaddrinfo',
    hostname: 'terrad'
  },
  error: Error: getaddrinfo ENOTFOUND terrad
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) {
    errno: -3008,
    code: 'ENOTFOUND',
    syscall: 'getaddrinfo',
    hostname: 'terrad'
  },
  options: {
    uri: 'http://terrad:1317/swagger/swagger.yaml',
    callback: [Function: RP$callback],
    transform: undefined,
    simple: true,
    resolveWithFullResponse: false,
    transform2xxOnly: false
  },
  response: undefined
}

> [email protected] collector /app
> better-npm-run collector-prod

running better-npm-run in /app
Executing script: collector-prod

to be executed: node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/collector/collector.ts
no token info for this chain-id

Issue downloading on Mac

OS: MacOS 12.0.1
Docker: 20.10.10
Docker Compose: 1.29.2

Steps to reproduce:

git clone --depth 1 https://www.github.com/terra-money/LocalTerra

cd LocalTerra

docker-compose up

Error:

Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 670, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1255, in request
  File "http/client.py", line 1301, in _send_request
  File "http/client.py", line 1250, in endheaders
  File "http/client.py", line 1010, in _send_output
  File "http/client.py", line 950, in send
  File "docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests/adapters.py", line 439, in send
  File "urllib3/connectionpool.py", line 726, in urlopen
  File "urllib3/util/retry.py", line 410, in increment
  File "urllib3/packages/six.py", line 734, in reraise
  File "urllib3/connectionpool.py", line 670, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1255, in request
  File "http/client.py", line 1301, in _send_request
  File "http/client.py", line 1250, in endheaders
  File "http/client.py", line 1010, in _send_output
  File "http/client.py", line 950, in send
  File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker/api/client.py", line 214, in _retrieve_server_version
  File "docker/api/daemon.py", line 181, in version
  File "docker/utils/decorators.py", line 46, in inner
  File "docker/api/client.py", line 237, in _get
  File "requests/sessions.py", line 543, in get
  File "requests/sessions.py", line 530, in request
  File "requests/sessions.py", line 643, in send
  File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 200, in perform_command
  File "compose/cli/command.py", line 60, in project_from_options
  File "compose/cli/command.py", line 152, in get_project
  File "compose/cli/docker_client.py", line 41, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "docker/api/client.py", line 197, in __init__
  File "docker/api/client.py", line 221, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
[45761] Failed to execute script docker-compose

Cannot access from terra station app.

  • OS : Mac OS X M1
  • Docker : Docker version 20.10.6, build 370c289
  • docker-compose: docker-compose version 1.29.1, build c34c88b2

I installed the LocalTerra according to its guide.
But it doesn't seem to work with terra station.

If I run the command below, we can see the error log from the FCD API as shown in the capture.

$ doker-compose up

image

TerraStation doesn't work as well.

TerraStation: "invalid request: must contain at least one message: failed to simulate tx"

It is impossible to use Terra Station on localterra. An attempt to transfer funds between accounts ends with a message "invalid request: must contain at least one message: failed to simulate tx".

It seems Terra Station cannot calculate transaction costs and
POST to http://localhost:3060/txs/estimate_fee
{"base_req":{"chain_id":"localterra","memo":"","from":"terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp","gas":"auto","gas_prices":[{"denom":"uluna","amount":"0.150000000000000000"}],"gas_adjustment":"1.75"},"msgs":[{"type":"bank/MsgSend","value":{"from_address":"terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp","to_address":"terra1x46rqay4d3cssq8gxxvqz8xt6nwlz4td20k38v","amount":[{"denom":"uluna","amount":"1000000"}]}}]}

returns HTTP/1.1 500 Internal Server Error
{"error":"invalid request: must contain at least one message: failed to simulate tx"}

How do I get around it?

Can't view transaction on LocalTerra in TerraStation and TerraFinder but contract is queriable through terrad

terrad version: 0.5.10-oracle
localterra: v0.5.2
contract used: https://docs.terra.money/Tutorials/Smart-contracts/Interact-with-smart-contract.html#executing-the-contract

Weird issue: I can do everything, execute and query messages etc using terrad and I can see the LUNA going down in TerraStation for that testuser due to gas but, I can't see any contracts or trx history in TerraStation, LocalTerra or the LocalTerra Finder.

Here's the sequence of commands and messages I've sent. Contract is deployed to localterra and is queriable via terrad yet doesn't appear in TerraStation and when attempting to view via ui, it errors. Anything else I can check?

image

terrad tx wasm store artifacts/sc101.wasm --from test2 --chain-id=localterra --gas=auto --fees=100000uluna --broadcast-mode=block
// codeid = 9, tx = 846CBC4D6135F4F2FE5DBEA49ACCF80E10ED1D7194B5B371C4DDBDFBFC8F1002

terrad tx wasm instantiate 9 '{"count":0}' --from test2 --chain-id=localterra --fees=10000uluna --gas=auto --broadcast-mode=block --trace
// tx = E3D38B2D79985964464A36A763FBA6E47109CBEBC406434026B262BF6DD452F9
// Contract address: terra1qjrvlf27upqhqnrqmmu2y205ed2c3tc87dnku3

terrad tx wasm execute terra1qjrvlf27upqhqnrqmmu2y205ed2c3tc87dnku3 '{"reset":{"count":9}}' --from test2 --chain-id=localterra --fees=1000000uluna --gas=auto --broadcast-mode=block
// Reset counter to 9

terrad query wasm contract-store terra1qjrvlf27upqhqnrqmmu2y205ed2c3tc87dnku3 '{"get_count":{}}' 
// query_result:
//  count: 9

npm install

npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Useer\my-terra-dapp/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Useer\my-terra-dapp\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Useer\AppData\Local\npm-cache_logs\2022-06-10T16_09_04_883Z-debug-0.log

Error: error unmarshalling result: unknown field "isOracleTx" in types.ResponseCheckTx

Getting Error: error unmarshalling result: unknown field "isOracleTx" in types.ResponseCheckTx
when trying to run a contract on my localterra network.

If this helps: terrad version --long
name: terra
server_name: terrad
version: 0.5.6
commit: 6e903ef290de2b9930129f069af87e3f99215065
build_tags: netgo ledger,
go: go version go1.16.8 linux/amd64

Unable to run docker-compose with LocalTerra

After uninstalling and re-installing docker-compose, somehow still couldn't make it work with LocalTerra with the following errors:

ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.fcd-api: 'pull_policy'
Unsupported config option for services.fcd-collector: 'pull_policy'
Unsupported config option for services.oracle: 'pull_policy'
Unsupported config option for services.terrad: 'pull_policy'

My docker-compose has version: docker-compose version 1.17.1, build unknown

If these 'pull_policy' lines are removed, things are running just fine. Any idea why this is the case? (I also tried to inspect indentation or special characters, but didn't seem to help).

Docker Compose Up

PS C:\WINDOWS\system32\localterra> docker-compose up
[+] Running 30/30

  • fcd-api Pulled 105.8s
  • terrad Pulled 56.9s
    • 4f4fb700ef54 Pull complete 16.0s
    • ea9d1faa8610 Pull complete 48.1s
    • e6283cf02432 Pull complete 51.0s
  • postgres Pulled 206.4s
    • 42c077c10790 Pull complete 82.9s
    • 3c2843bc3122 Pull complete 83.1s
    • 12e1d6a2dd60 Pull complete 83.1s
    • 9ae1101c4068 Pull complete 84.3s
    • fb05d2fd4701 Pull complete 90.3s
    • 9785a964a677 Pull complete 92.1s
    • 16fc798b0e72 Pull complete 92.1s
    • f1a0bfa2327a Pull complete 92.8s
    • 9b94c51b86e5 Pull complete 199.7s
    • 281df17c53d0 Pull complete 199.7s
    • 86476c34c389 Pull complete 199.7s
    • d8bab0cdd17f Pull complete 199.7s
    • 186eed38aeb6 Pull complete 199.8s
  • fcd-collector Pulled 105.8s
    • df9b9388f04a Already exists 0.0s
    • 70c90f7de7cb Pull complete 76.3s
    • f83937c3ce37 Pull complete 76.4s
    • 98b78bba1d70 Pull complete 76.4s
    • b378974b36ee Pull complete 76.5s
    • 21c1f19282ef Pull complete 76.5s
    • d69e22e03577 Pull complete 76.5s
    • d7d308f39942 Pull complete 100.4s
    • 3bfb435031d5 Pull complete 100.4s
    • b4608658da35 Pull complete 100.4s
      [+] Running 3/3
  • Network localterra_terra Created 0.7s
  • Container localterra-terrad-1 Created 0.2s
  • Container localterra-postgres-1 Created 0.2s
  • Container localterra-fcd-api-1 Creating 0.0s
  • Container localterra-fcd-collector-1 Creating 0.0s
    Error response from daemon: mkdir C:\WINDOWS\system32\localterra\logs: Access is denied.

couldn't make client config: mkdir /.terra: permission denied

Hi,I run it in docker, the tag is 0.5.14. My data path is /data/luna. when I execute the tx command with --home arg, like below

terrad tx send <key> <addr> 10000000uluna --chain-id=localterra --home /data/luna

the error still occurs

Error: couldn't make client config: mkdir /.terra: permission denied
Usage:
  terrad tx [flags]
  terrad tx [command]

what's the problem?

Problems getting LocalTerra running on Windows

I am using WSL Ubuntu 18.04 on windows 10 and am having issues getting localterra to run. when i run docker-compose up i get this error Error response from daemon: Ports are not available: listen tcp 0.0.0.0:1317: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

I reinstalled docker, it has permissions via the firewall.

Docker 3.6.0 (67351)
Engine: 20.10.8
compose: 2.0.0-rc.1

Any help would be appreciated.

This repository is too huge, ~0.5GB

This repository is too huge, ~0.5GB

terra-money % du -sh *
488M	LocalTerra

Likely because, there is (history of) terrad images in terracore/

Not implemented LCD not implemented on site and local

As I said Before the Local LCD and the Website showing not implemented, Actually look at the website for terra and do the local and goto the 1317 on your browser It will show the issue.

Please goto here for ref: https://lcd.terra.dev
Shows same for Local as well.

Stop trying to blindly close out a real issue going on with the rest client. It is causing me issues.

In ref to this issue #83

This should not be closed blindly like a idiot, please discuss what is going on before you decide to close the issue.

Object does not exist at path “/”

I've been following the tutorial. After setting up LocalTerra, when I run terrad keys add test1 --recover, and enter the mnemonic, I get Error: Object does not exist at path “/”.

Running ./terrad keys list returns [].

It looks like accounts were not migrated? Is there an additional step I need to execute?

question

which docker version will support??

as i have latest docker which is 20.10.8 version...

when i try to run docker-compose up , getting this errors

ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.oracle: 'pull_policy'
Unsupported config option for services.terrad: 'pull_policy'

any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.