From bf774a56d543524357132fc526659db6a8d97274 Mon Sep 17 00:00:00 2001 From: Assaf Morami Date: Tue, 23 Jan 2024 12:48:04 +0200 Subject: [PATCH] Hardcode genesis block to make Rosetta shut up --- .vscode/launch.json | 17 +++++++++-------- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e41d93959..dc265e4df 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -37,14 +37,15 @@ "program": "${workspaceFolder}/cmd/secretd", "cwd": "${workspaceFolder}", "args": [ - "q", - "compute", - "tx", - "9FAF715EA6671A17521FBC4D52AD391B72B6AADD102481B071DD80F34C50E79F", - "--node", - "http://localhost:26657", - "--chain-id", - "secretdev-1" + "rosetta", + "--blockchain", + "secret", + "--network", + "secret-4", + "--tendermint", + "89.149.206.162:26657", + "--grpc", + "89.149.206.162:9090" ] } ] diff --git a/go.mod b/go.mod index 3ed581e70..956f1ab53 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 replace ( github.com/cometbft/cometbft => github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52 - github.com/cosmos/cosmos-sdk => github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d + github.com/cosmos/cosmos-sdk => github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55 // Fix OSX Ledger Connection Issues - Premerged https://github.com/cosmos/ledger-cosmos-go/pull/36/files github.com/cosmos/ledger-cosmos-go => github.com/chillyvee/ledger-cosmos-go v0.12.2 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 diff --git a/go.sum b/go.sum index 3ce070836..7b1d28e0b 100644 --- a/go.sum +++ b/go.sum @@ -934,8 +934,8 @@ github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71e github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= -github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d h1:J52TETA52GtOOCBYPfmZoOOSM7Nr/GjhsH6RvdaHKMU= -github.com/scrtlabs/cosmos-sdk v0.45.13-0.20230802150248-ea64f27dc58d/go.mod h1:kOvNW8eRcR6zcO9yEfDa+iexTXdb+/QxHL1OqSEqfAo= +github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55 h1:DEIQb8TEZOtTVFf2gmj43T96OZKFMEqLvMVWwp6Dz5Q= +github.com/scrtlabs/cosmos-sdk v0.45.13-0.20240123105116-fa873fadfa55/go.mod h1:kOvNW8eRcR6zcO9yEfDa+iexTXdb+/QxHL1OqSEqfAo= github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52 h1:25rvoh2dQgzOOGPj/t1tPKApeeRrcUZtQXZ6wu6mE54= github.com/scrtlabs/tendermint v1.9.0-scrt.0.20230802144651-d62916253d52/go.mod h1:H9SALxhCLtq/RwZLDUo/A7q7ri4GSDeZzJDx/mqA23E= github.com/scrtlabs/tm-secret-enclave v1.11.1 h1:UFPMS8XGrgx0SVTcHF0JmM/7nw17sQRMJ3PCg6rlGQA=