terra-money / core

GO implementation of the Terra Protocol

Home Page:https://www.terra.money

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panic: unable to resolve type URL /terra.vesting.v1beta1.LazyGradedVestingAccount

qlfgggggg opened this issue · comments

3:53PM INF starting node with ABCI Tendermint in-process
3:53PM INF Starting multiAppConn service impl=multiAppConn module=proxy
3:53PM INF Starting localClient service connection=query impl=localClient module=abci-client
3:53PM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
3:53PM INF Starting localClient service connection=mempool impl=localClient module=abci-client
3:53PM INF Starting localClient service connection=consensus impl=localClient module=abci-client
3:53PM INF Starting EventBus service impl=EventBus module=events
3:53PM INF Starting PubSub service impl=PubSub module=pubsub
3:53PM INF Starting IndexerService service impl=IndexerService module=txindex
3:53PM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=v2.0.0
3:53PM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
panic: unable to resolve type URL /terra.vesting.v1beta1.LazyGradedVestingAccount

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0x3d3bd90?, {0xc2064bc000?, 0x0?, 0x0?}, {0x2d25c50?, 0xc00054a080?})
github.com/cosmos/cosmos-sdk@v0.45.4/codec/proto_codec.go:176 +0x45
github.com/cosmos/cosmos-sdk/x/auth.AppModule.InitGenesis({{}, {{0x2d1fdc8, 0xc00020a810}, {0x2d3e498, 0xc00125e350}, {{0x2d3e498, 0xc00125e350}, 0xc0001a8ea8, {0x2d1fdc8, 0xc00020a890}, ...}, ...}, ...}, ...)

I can't start terra2.0 full node

I found a solution

Refer to #26 (comment) genesis.json and addrbook.json

The steps are as follows

terrad tendermint --home [:home_path] unsafe-reset-all
wget -O [:home_path]/config/genesis.json https://terra-pub.s3.amazonaws.com/genesis.json
curl https://cdn.discordapp.com/attachments/591812948867940362/980003631388561448/addrbook.json > [:home_path]/config/addrbook.json
terrad start --home  [:home_path]

it is ok

I have started node

commented
image

Use curl instead of wget

image

Use curl instead of wget

get addrbook.json content:

<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.</Details></Error>
commented
image

Use curl instead of wget

get addrbook.json content:

<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.</Details></Error>

ok, you are right
I download file locally and just copied it over ssh
https://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh

The attachment for addrbook is from discord. someone needs to put it out on s3 or other ipfs url

Me neither cannot access the link above, please upload it somewhere else. Thanks in advance!

@cawabunga here u go

{
"key": "43bd08c9403b99aae3d5ceb3",
"addrs": [
{
"addr": {
"id": "c545b9c4f3a902e505639c67a318b91b86e5060d",
"ip": "23.92.18.180",
"port": 26656
},
"src": {
"id": "a5d6873e308622558655d61ebe082cb56fa1401a",
"ip": "0.0.0.0",
"port": 26656
},
"buckets": [
232
],
"attempts": 6,
"bucket_type": 1,
"last_attempt": "2022-05-28T17:27:16.612458049Z",
"last_success": "0001-01-01T00:00:00Z",
"last_ban_time": "0001-01-01T00:00:00Z"
},
{
"addr": {
"id": "adaf511ce1191db5673b1aa411d6765f99eb078d",
"ip": "172.104.133.249",
"port": 26656
},
"src": {
"id": "a5d6873e308622558655d61ebe082cb56fa1401a",
"ip": "0.0.0.0",
"port": 26656
},
"buckets": [
215,
5
],
"attempts": 6,
"bucket_type": 1,
"last_attempt": "2022-05-28T17:27:16.604293784Z",
"last_success": "0001-01-01T00:00:00Z",
"last_ban_time": "0001-01-01T00:00:00Z"
}
]
}

@awsdataarchitect thank you, I already managed to run a node with a configuration from Devs Telegram Channel Node configuration, Addrbook. I used exactly v2.0.0 as it is mentioned in the message.

congrats! have you setup a validator.. full node is of no use without a validator, unless you are creating dApps

commented

Seems already solved problem.

Genesis file https://phoenix-genesis.s3.us-west-1.amazonaws.com/genesis.json

image

How did you solve 403?

I download file locally and just copied it over ssh

I download file locally and just copied it over ssh
image
What tool did you use to download it locally?

image

I send this URL to others on telegram, and telegram automatically downloads the file to my computer for me

telegram can automatically display the URL you send or automatically download files for you

image

This is all I have, and I can't say anything.

This works ok, thank you!